
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #0A0A0A;
    --color-white: #FFFFFF;
    --color-blue: #1E3A5F;
    --color-gold: #C9A962;
    --color-gray: #6B7280;
    --color-beige: #F5F0EB;
    --color-light-gray: #F5F5F5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-primary);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    cursor: pointer;
}

.brand-name {
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: white;
    padding: 2rem;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 3rem;
}

.hero-brand-name {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 300;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    animation: bounce 2s infinite;
}

.chevron {
    width: 24px;
    height: 24px;
    border-right: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.grid-background {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: 
        linear-gradient(to right, #000 1px, transparent 1px),
        linear-gradient(to bottom, #000 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Sections */
.section {
    padding: 8rem 2rem;
    background: white;
}

.section-light {
    background: var(--color-light-gray);
}

.section-dark {
    background: #0A0A0A;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-number {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #999;
    display: block;
    margin-bottom: 1rem;
}

.section-dark .section-number {
    color: #666;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.section-description {
    color: #666;
    max-width: 600px;
}

.section-dark .section-description {
    color: #999;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-card {
    animation: fadeInUp 0.8s ease;
}

.about-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: #555;
}

.values-section {
    margin-top: 6rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
}

.value-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.value-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #555;
}

/* Color Palette */
.colors-section {
    margin-top: 2rem;
}

.colors-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 2rem;
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.color-card {
    aspect-ratio: 4/5;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
    cursor: pointer;
}

.color-card:hover {
    transform: scale(1.02);
}

.color-header {
    flex: 1;
}

.color-type {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    display: block;
    margin-bottom: 0.5rem;
}

.color-name {
    font-size: 1.25rem;
    font-weight: 500;
}

.color-codes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.color-code {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.color-code:hover {
    opacity: 0.8;
}

.code-label {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

.code-value {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.copy-icon {
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 1rem;
}

.color-card:hover .copy-icon {
    opacity: 0.5;
}

/* Typography */
.typography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.font-card {
    animation: fadeInUp 0.8s ease;
}

.font-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 1.5rem;
}

.section-dark .font-label {
    color: #999;
}

.font-display {
    font-size: 6rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1;
}

.font-name {
    font-size: 1.875rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.font-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #999;
}

.weights-section {
    margin-top: 6rem;
}

.weight-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #333;
}

.weight-name {
    font-size: 1.5rem;
}

.weight-value {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #666;
}

.alphabet-section {
    margin-top: 6rem;
}

.alphabet-text {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 2;
    color: #ccc;
}

/* Logo Usage */
.logo-section {
    margin-bottom: 6rem;
}

.logo-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 2.5rem;
}

.logo-versions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.logo-version {
    aspect-ratio: 16/9;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo-placeholder {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.logo-placeholder-small {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
}

.logo-placeholder-medium {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 0.2em;
}

.logo-version-label {
    font-size: 0.75rem;
    color: #999;
}

.clearspace-demo {
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
}

.clearspace-box {
    border: 2px dashed #ddd;
    border-radius: 0.5rem;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.clearspace-marker {
    position: absolute;
    font-size: 0.75rem;
    color: #999;
}

.clearspace-marker.top {
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

.clearspace-marker.bottom {
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

.clearspace-marker.left {
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
}

.clearspace-marker.right {
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
}

.clearspace-description {
    text-align: center;
    color: #666;
    font-size: 0.875rem;
    margin-top: 2rem;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.usage-card {
    text-align: center;
}

.usage-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.usage-badge.correct {
    background: #dcfce7;
    color: #16a34a;
}

.usage-badge.incorrect {
    background: #fee2e2;
    color: #dc2626;
}

.usage-example {
    aspect-ratio: 16/9;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    margin-bottom: 1rem;
    position: relative;
}

.correct-border {
    border: 2px solid #86efac;
}

.incorrect-border {
    border: 2px solid #fca5a5;
}

.distorted {
    transform: scaleX(1.5);
    opacity: 0.5;
}

.incorrect-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #dc2626;
    opacity: 0.3;
}

.usage-description {
    font-size: 0.875rem;
    color: #666;
}

/* Applications */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.application-card {
    cursor: pointer;
    transition: transform 0.3s;
}

.application-card:hover {
    transform: translateY(-8px);
}

.application-image {
    aspect-ratio: 4/3;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--color-light-gray);
    margin-bottom: 1rem;
}

.application-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.application-card:hover .application-image img {
    transform: scale(1.05);
}

.application-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.application-description {
    font-size: 0.875rem;
    color: #666;
}

/* Downloads */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.download-card {
    background: #1a1a1a;
    border-radius: 1rem;
    padding: 2rem;
    transition: background 0.3s;
}

.download-card:hover {
    background: #222;
}

.download-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.download-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.download-description {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 1.5rem;
}

.download-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.format-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    background: #2a2a2a;
    font-size: 0.75rem;
    color: #ccc;
    font-family: 'Courier New', monospace;
}

.download-btn {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #444;
    border-radius: 0.5rem;
    background: transparent;
    color: #999;
    font-size: 0.875rem;
    cursor: not-allowed;
    transition: all 0.3s;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    background: #0A0A0A;
    border-top: 1px solid #222;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-text {
    color: #999;
    font-size: 0.875rem;
}

.footer-subtext {
    color: #666;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    text-decoration: none;
    color: #999;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    pointer-events: none;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-brand-name {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .font-display {
        font-size: 4rem;
    }

    .weight-name {
        font-size: 1.125rem;
    }

    .alphabet-text {
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-brand-name {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .about-grid,
    .typography-grid {
        gap: 2rem;
    }
} 