:root {
    --color-bg: #FFFBF0;
    --color-bg-2: #FFF8E7;
    --color-primary: #D97706;
    --color-primary-light: #F59E0B;
    --color-text: #1C1917;
    --color-text-secondary: #78716C;
    --color-text-muted: #A8A29E;
    --color-card: #FFFFFF;
    --color-border: #E7E5E4;
    --color-accent: #FCD34D;
    --color-accent-soft: rgba(252, 211, 77, 0.3);

    --font-display: 'Noto Serif SC', 'Outfit', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-sine: cubic-bezier(0.37, 0, 0.63, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
    background: rgba(255, 251, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

.lang-switch:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.lang-current {
    color: var(--color-text);
    font-weight: 500;
}

.lang-separator {
    opacity: 0.4;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(252, 211, 77, 0.6) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.4) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

.hero-content {
    max-width: 600px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-accent-soft);
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--color-primary);
    position: relative;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: -0.1em;
    right: -0.1em;
    height: 0.3em;
    background: var(--color-accent-soft);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-text);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--color-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.app-window {
    width: 320px;
    background: rgba(252, 211, 77, 0.95);
    border-radius: 16px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    animation: windowFloat 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes windowFloat {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-15px) rotate(-1deg); }
}

.window-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.window-dots {
    display: flex;
    gap: 0.375rem;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
}

.window-dots span:first-child {
    background: #EF4444;
}

.window-dots span:nth-child(2) {
    background: #F59E0B;
}

.window-dots span:nth-child(3) {
    background: #10B981;
}

.window-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
    margin-left: auto;
    margin-right: auto;
}

.window-content {
    padding: 1.25rem;
}

.note-line {
    height: 10px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    margin-bottom: 12px;
}

.note-line.short {
    width: 60%;
}

.note-line.medium {
    width: 80%;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.8125rem;
    font-weight: 500;
}

.floating-badge.shortcut {
    bottom: 20%;
    left: -20%;
    color: var(--color-text);
}

.floating-badge.theme {
    top: 30%;
    right: -15%;
    display: flex;
    gap: 0.375rem;
    padding: 0.5rem;
}

.floating-badge.theme span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.floating-badge.theme span:nth-child(1) { background: #FCD34D; }
.floating-badge.theme span:nth-child(2) { background: #93C5FD; }
.floating-badge.theme span:nth-child(3) { background: #F9A8D4; }

/* Features Section */
.features {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-2) 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--color-accent-soft);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--color-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--ease-out-expo);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-card.large {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--color-accent-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.feature-visual {
    margin-top: auto;
    padding-top: 2rem;
}

.shortcut-demo {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.key {
    width: 48px;
    height: 48px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    box-shadow: 0 4px 0 var(--color-border);
}

.color-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.color-dots span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Download Section */
.download {
    padding: 8rem 0;
    background: var(--color-bg);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-info .section-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

.download-info .section-desc {
    margin: 0;
}

.download-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.system-requirements {
    padding: 1.5rem;
    background: var(--color-bg-2);
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.system-requirements h4 {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.system-requirements ul {
    list-style: none;
}

.system-requirements li {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.system-requirements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.download-card {
    background: var(--color-card);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.app-icon-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.app-icon-large img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.app-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.app-info .version {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.app-info .size {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    background: var(--color-bg-2);
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-info .section-header {
        text-align: center;
    }

    .download-info .section-desc {
        margin: 0 auto;
    }

    .download-actions {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.large {
        grid-column: span 1;
    }

    .container {
        padding: 0 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .shortcut-demo {
        justify-content: center;
    }
}

/* Page Header (for subpages) */
.page-header {
    padding: 10rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-2) 0%, var(--color-bg) 100%);
}

.page-content {
    padding: 4rem 0 8rem;
}

.content-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-card);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid var(--color-border);
}

.content-box h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--color-text);
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-box ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.content-box li {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.content-box a {
    color: var(--color-primary);
    text-decoration: none;
}

.content-box a:hover {
    text-decoration: underline;
}

.last-updated {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

/* FAQ Styles */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-card);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contact Section */
.contact-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.contact-section h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-section p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}
