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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.65;
    color: #2d3748;
    background: #ffffff;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid rgba(193, 95, 60, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Disclaimer Banner */
.disclaimer-banner {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #C15F3C, #e07a4f);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    text-align: center;
    z-index: 1001;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.disclaimer-banner p {
    margin: 0;
    font-weight: 500;
}

.disclaimer-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.disclaimer-banner a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.header {
    top: 2.5rem;
}

.nav {
    padding: 1.25rem 0;
}

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

.logo h1 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #C15F3C;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #718096;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #C15F3C;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link:hover {
    color: #C15F3C;
}

/* Hero Section */
.hero {
    padding: 12rem 2.5rem 8rem;
    background: linear-gradient(135deg, #faf5f0 0%, #f7ede4 100%);
    color: #1a202c;
    text-align: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(193, 95, 60, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #5a5a5a;
    line-height: 1.55;
    font-weight: 400;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #C15F3C 0%, #a04d30 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(193, 95, 60, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a04d30 0%, #8a3f28 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 95, 60, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(193, 95, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #C15F3C;
    border: 2px solid #C15F3C;
    box-shadow: 0 2px 8px rgba(193, 95, 60, 0.1);
}

.btn-secondary:hover {
    background: #C15F3C;
    color: white;
    border-color: #C15F3C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 95, 60, 0.25);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(193, 95, 60, 0.2);
}

/* Sections */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    color: #1a1a1a;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f8f6f3;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(193, 95, 60, 0.2) 50%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #ede4db;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 0;
    animation: slideInUp 0.6s ease-out forwards;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #C15F3C 0%, #e07a4f 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card:hover {
    box-shadow: 0 12px 40px rgba(193, 95, 60, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: rgba(193, 95, 60, 0.3);
    transform: translateY(-6px);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon {
    margin-bottom: 0.75rem;
    display: block;
    color: #C15F3C;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.5;
    font-size: 0.875rem;
}

/* News Section */
.news {
    padding: 6rem 0;
    background: white;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(193, 95, 60, 0.08);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.news-card {
    padding: 2rem;
    border: 1px solid #ede4db;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    background: white;
}

.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(193, 95, 60, 0.02) 0%, transparent 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover::after {
    width: 6px;
}

.news-card:hover {
    box-shadow: 0 12px 40px rgba(193, 95, 60, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: rgba(193, 95, 60, 0.2);
    transform: translateY(-3px);
}

.news-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
    letter-spacing: -0.01em;
}

.news-date {
    color: #718096;
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.news-card p {
    color: #4a5568;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-size: 0.875rem;
}

.news-link {
    color: #C15F3C;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.news-link:hover {
    text-decoration: underline;
}

/* Tutorial Section */
.tutorial {
    padding: 5rem 0;
    background: #f8fafc;
}

.tutorial-steps {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, #C15F3C 0%, #a04d30 100%);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(193, 95, 60, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(193, 95, 60, 0.4), rgba(160, 77, 48, 0.4));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover .step-number::before {
    opacity: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.step-content p {
    color: #4b5563;
    line-height: 1.6;
}

.tutorial-warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
}

.tutorial-warning h3 {
    color: #92400e;
    margin-bottom: 1rem;
}

.tutorial-warning ul {
    color: #92400e;
    padding-left: 1.5rem;
}

.tutorial-warning li {
    margin-bottom: 0.5rem;
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
}

.download-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #ede4db;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(193, 95, 60, 0.03) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-card:hover::before {
    transform: scale(1);
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(193, 95, 60, 0.1), 0 6px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(193, 95, 60, 0.2);
}

.download-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.download-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #f0ebe5 0%, #ede4db 100%);
    border-top: 1px solid rgba(193, 95, 60, 0.12);
    padding: 4rem 0 2.5rem;
    box-shadow: inset 0 4px 20px rgba(193, 95, 60, 0.04);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(193, 95, 60, 0.3) 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.footer-section p {
    color: #4a5568;
    font-size: 0.875rem;
}

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

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

.footer-section a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #C15F3C;
}

.footer-bottom {
    border-top: 1px solid #ede4db;
    padding-top: 1.5rem;
    text-align: center;
    color: #718096;
    font-size: 0.8125rem;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #C15F3C;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 8rem 1.5rem 6rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    .nav-menu.mobile-active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
        font-weight: 600;
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 8rem 1rem 4rem;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.875rem;
        margin-bottom: 2.5rem;
    }
    
    .features,
    .news,
    .download {
        padding: 4rem 0;
    }
    
    .features-grid,
    .news-grid,
    .download-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .news-card,
    .download-card {
        padding: 1.5rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
    
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card h3,
    .news-card h3,
    .download-card h3 {
        font-size: 1.125rem;
    }
    
    .feature-card p,
    .news-card p,
    .download-card p {
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
}

/* Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .hamburger {
        min-height: 44px;
        min-width: 44px;
    }
    
    .feature-card:hover,
    .news-card:hover,
    .download-card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(193, 95, 60, 0.08);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
}

/* Focus improvements for accessibility */
.btn:focus,
.nav-link:focus,
.hamburger:focus {
    outline: 2px solid #C15F3C;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.news-card,
.download-card {
    animation: fadeInUp 0.6s ease-out;
}