/* ================================================
   MYCS Professional - Styles
   Professional B2B Platform for Design Professionals
   Brand Colors: Yellow #FFFAAF, Dark Green #003741
   ================================================ */

/* CSS Variables */
:root {
    /* Primary Brand Colors */
    --brand-yellow: #FFFAAF;
    --brand-yellow-light: #FFFCD6;
    --brand-yellow-dark: #E6E19E;
    --brand-green: #003741;
    --brand-green-light: #004D5A;
    --brand-green-dark: #002A32;

    /* Extended Palette */
    --primary-50: #E6F4F6;
    --primary-100: #CCE9ED;
    --primary-200: #99D3DB;
    --primary-300: #66BDC9;
    --primary-400: #33A7B7;
    --primary-500: #006577;
    --primary-600: #003741;
    --primary-700: #002A32;
    --primary-800: #001D23;
    --primary-900: #001014;

    /* Neutral Colors */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Accent Colors */
    --accent-teal: #14B8A6;
    --accent-teal-light: #99F6E4;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Background */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 55, 65, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 55, 65, 0.1), 0 2px 4px -1px rgba(0, 55, 65, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 55, 65, 0.1), 0 4px 6px -2px rgba(0, 55, 65, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 55, 65, 0.1), 0 10px 10px -5px rgba(0, 55, 65, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 55, 65, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--brand-green);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-green-light);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ================================================
   Navigation
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-svg {
    height: 56px;
    width: auto;
}

.logo-badge {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-green);
    background: var(--brand-yellow);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-fast);
}

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

.nav-cta {
    background: var(--brand-green);
    color: white !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.nav-cta:hover {
    background: var(--brand-green-light);
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-fast);
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-2xl);
    align-items: center;
    padding: calc(80px + var(--space-3xl)) var(--space-lg) var(--space-3xl);
    max-width: 1500px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--gray-100) 1px, transparent 1px),
        linear-gradient(to bottom, var(--gray-100) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--brand-yellow);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-200);
    bottom: -100px;
    left: -100px;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--brand-yellow);
    border: 1px solid var(--brand-yellow-dark);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-green);
    margin-bottom: var(--space-lg);
}

.ai-icon {
    width: 18px;
    height: 18px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--brand-green);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-decoration: none;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--brand-green);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 55, 65, 0.25);
}

.btn-primary:hover {
    background: var(--brand-green-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 55, 65, 0.3);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-100);
    color: var(--brand-green);
    border-color: var(--gray-300);
}

.btn-full {
    width: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-green);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    flex: 1.3;
}

.hero-image {
    width: 115%;
    max-width: none;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    margin-left: -5%;
}

/* Platform Showcase */
.platform-showcase {
    margin-top: var(--space-3xl);
    text-align: center;
}

.showcase-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-lg);
}

.showcase-caption {
    font-size: 0.9375rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* Legacy CAD Preview (keeping for reference) */
.cad-preview {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.cad-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.cad-dots {
    display: flex;
    gap: 6px;
}

.cad-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
}

.cad-dots span:first-child { background: #FF5F57; }
.cad-dots span:nth-child(2) { background: #FFBD2E; }
.cad-dots span:last-child { background: #28CA42; }

.cad-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    font-family: var(--font-mono);
}

.cad-content {
    display: grid;
    grid-template-columns: 50px 1fr 180px;
    min-height: 350px;
}

.cad-sidebar {
    background: var(--gray-50);
    border-right: 1px solid var(--gray-200);
    padding: var(--space-md) var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cad-tool {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cad-tool:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.cad-tool.active {
    background: var(--brand-yellow);
    color: var(--brand-green);
}

.cad-tool svg {
    width: 20px;
    height: 20px;
}

.cad-viewport {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(90deg, var(--gray-100) 1px, transparent 1px),
        linear-gradient(var(--gray-100) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: var(--space-xl);
}

.furniture-preview {
    position: relative;
}

.shelf-unit {
    position: relative;
    width: 180px;
    height: 240px;
}

.shelf {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 4px;
    background: #D4A574;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.shelf:nth-child(1) { top: 0; }
.shelf:nth-child(2) { top: 33.33%; }
.shelf:nth-child(3) { top: 66.66%; }
.shelf:nth-child(4) { bottom: 0; }

.side-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10px;
    background: #C4956A;
    border-radius: 2px;
}

.side-panel.left { left: 0; }
.side-panel.right { right: 0; }

.ai-suggestion {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    right: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--brand-green);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
}

.ai-pulse {
    width: 8px;
    height: 8px;
    background: var(--brand-yellow);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.cad-panel {
    background: var(--gray-50);
    border-left: 1px solid var(--gray-200);
    padding: var(--space-lg);
}

.panel-section {
    margin-bottom: var(--space-lg);
}

.panel-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.dimension-inputs {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.dim-input {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.dim-input span:first-child {
    width: 16px;
    color: var(--gray-500);
}

.dim-input input {
    width: 50px;
    padding: 4px 8px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-align: right;
    background: white;
}

.dim-input span:last-child {
    color: var(--gray-400);
}

.material-selector {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.material-chip {
    padding: 4px 10px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.material-chip:hover {
    border-color: var(--brand-green);
}

.material-chip.active {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow-dark);
    color: var(--brand-green);
}

/* ================================================
   Section Styles
   ================================================ */
.section {
    padding: var(--space-4xl) var(--space-lg);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-header.left-aligned {
    text-align: left;
    margin-left: 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-green);
    background: var(--brand-yellow);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ================================================
   Features Section
   ================================================ */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    position: relative;
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-card.featured {
    background: var(--brand-green);
    border-color: transparent;
    color: white;
}

.feature-card.featured .feature-icon {
    background: rgba(255, 250, 175, 0.2);
    color: var(--brand-yellow);
}

.feature-card.featured h3 {
    color: white;
}

.feature-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.feature-card.featured .feature-list li {
    color: rgba(255, 255, 255, 0.85);
}

.feature-card.featured .feature-list li::before {
    color: var(--brand-yellow);
}

.featured-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--brand-yellow);
    color: var(--brand-green);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-yellow);
    color: var(--brand-green);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--gray-600);
}

.feature-list li::before {
    content: "\2713";
    color: var(--brand-green);
    font-weight: 600;
}

/* ================================================
   MYCS-CAD Section
   ================================================ */
.cad-section {
    background: var(--bg-primary);
}

.cad-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
    margin-bottom: var(--space-3xl);
}

.ai-highlight-box {
    position: relative;
    background: var(--brand-green);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    overflow: hidden;
}

.ai-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--brand-yellow) 0%, transparent 70%);
    opacity: 0.15;
}

.ai-content {
    position: relative;
    z-index: 1;
}

.ai-icon-large {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-yellow);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.ai-icon-large svg {
    width: 32px;
    height: 32px;
    color: var(--brand-green);
}

.ai-highlight-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-md);
}

.ai-highlight-box p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.cad-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.cad-feature {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.cad-feature:hover {
    border-color: var(--brand-yellow-dark);
    background: var(--brand-yellow-light);
}

.cad-feature-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--brand-green);
    line-height: 1;
    opacity: 0.5;
}

.cad-feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.cad-feature-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* CAD Tutorial */
.cad-tutorial {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.tutorial-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.tutorial-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.tutorial-intro {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.tutorial-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Production Integration */
.production-integration {
    background: var(--brand-green);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-3xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.production-image {
    position: relative;
}

.production-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.production-content {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.production-flow {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.flow-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-base);
}

.flow-icon.active {
    background: var(--brand-yellow);
    color: var(--brand-green);
    transform: scale(1.1);
}

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

.flow-step span {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.4);
}

.flow-arrow svg {
    width: 20px;
    height: 20px;
}

.production-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--brand-yellow);
    color: var(--brand-green);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.production-badge svg {
    width: 16px;
    height: 16px;
}

.production-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
}

.production-content > p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.production-stats {
    display: flex;
    gap: var(--space-2xl);
}

.prod-stat {
    display: flex;
    flex-direction: column;
}

.prod-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--brand-yellow);
}

.prod-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cad-tutorial > h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.tutorial-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.tutorial-step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-mono);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.step-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ================================================
   Visualization Section
   ================================================ */
.visualization {
    background: var(--bg-primary);
}

.viz-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.viz-feature-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.viz-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-green);
}

.viz-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-yellow);
    color: var(--brand-green);
    border-radius: var(--radius-lg);
    margin: 0 auto var(--space-lg);
}

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

.viz-feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.viz-feature-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Visualization Gallery */
.viz-showcase {
    margin-bottom: var(--space-3xl);
}

.viz-showcase h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.viz-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: var(--space-lg);
    height: 500px;
}

.viz-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.viz-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.viz-item:hover img {
    transform: scale(1.05);
}

.viz-item-large {
    grid-row: span 2;
}

.viz-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(transparent, rgba(0, 55, 65, 0.9));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.viz-label {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.viz-tag {
    background: var(--brand-yellow);
    color: var(--brand-green);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* Offer Generation */
.offer-generation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    background: var(--brand-green);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
}

.offer-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
}

.offer-content > p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.offer-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.offer-benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.offer-benefits li svg {
    width: 20px;
    height: 20px;
    color: var(--brand-yellow);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Offer Mockup */
.offer-visual {
    display: flex;
    justify-content: center;
}

.offer-mockup {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 320px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.mockup-header span:first-child {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.875rem;
}

.mockup-badge {
    background: var(--brand-yellow);
    color: var(--brand-green);
    font-size: 0.625rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.mockup-content {
    padding: var(--space-lg);
}

.mockup-image {
    width: 100%;
    height: 140px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.mockup-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 200%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.mockup-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.mockup-line {
    height: 12px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
}

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

.mockup-price {
    height: 24px;
    width: 40%;
    background: var(--brand-green);
    border-radius: var(--radius-sm);
    margin-top: var(--space-sm);
}

/* ================================================
   Materials Section
   ================================================ */
.materials {
    background: var(--bg-secondary);
}

.materials-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.material-category h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-lg);
}

.material-samples {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.material-sample {
    background: var(--bg-primary);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    cursor: pointer;
}

.material-sample:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-green);
}

.sample-swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.sample-name {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.9375rem;
    margin-bottom: var(--space-xs);
}

.sample-spec {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.materials-cta {
    display: flex;
    justify-content: center;
}

.sample-order-box {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    background: var(--bg-primary);
    padding: var(--space-xl) var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    max-width: 700px;
}

.sample-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-yellow);
    color: var(--brand-green);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.sample-icon svg {
    width: 32px;
    height: 32px;
}

.sample-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.sample-info p {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

/* ================================================
   Advantages Section
   ================================================ */
.advantages {
    background: var(--bg-primary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.advantage-card {
    padding: var(--space-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.advantage-card:hover {
    border-color: var(--brand-green);
    transform: translateY(-2px);
}

.advantage-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-yellow);
    color: var(--brand-green);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

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

.advantage-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.advantage-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Comparison Table */
.comparison-table {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.comparison-table h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

th {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-primary);
}

td {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.highlight-col {
    background: var(--brand-yellow-light);
}

th.highlight-col {
    color: var(--brand-green);
    background: var(--brand-yellow);
}

.check {
    color: var(--success);
    font-size: 1.25rem;
}

.cross {
    color: var(--gray-400);
    font-size: 1.25rem;
}

/* ================================================
   Terms Section
   ================================================ */
.terms {
    background: var(--bg-secondary);
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.terms-card {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.terms-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-yellow);
    color: var(--brand-green);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

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

.terms-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.terms-card ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.terms-card li {
    font-size: 0.9375rem;
    color: var(--gray-600);
    padding-left: var(--space-lg);
    position: relative;
}

.terms-card li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--brand-green);
}

.terms-download {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
}

.terms-download p {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.terms-download .btn svg {
    width: 18px;
    height: 18px;
}

/* ================================================
   Contact Section
   ================================================ */
.contact {
    background: var(--bg-primary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info .section-tag {
    margin-bottom: var(--space-md);
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--gray-700);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--brand-green);
}

/* Contact Form */
.contact-form {
    background: var(--bg-secondary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--bg-primary);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(0, 55, 65, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--brand-green);
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.checkbox-group a {
    color: var(--brand-green);
    text-decoration: underline;
}

/* ================================================
   Footer
   ================================================ */
.footer {
    background: var(--brand-green);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-3xl) var(--space-lg) var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand .logo-svg {
    filter: brightness(0) invert(1);
}

.footer-brand .logo-badge {
    background: rgba(255, 250, 175, 0.2);
    color: var(--brand-yellow);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--brand-yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-xl);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--brand-yellow);
}

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .cad-intro {
        grid-template-columns: 1fr;
    }

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

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

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

    .tutorial-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tutorial-image {
        order: -1;
    }

    .production-integration {
        grid-template-columns: 1fr;
    }

    .production-image {
        height: 300px;
    }

    .production-content {
        text-align: center;
    }

    .production-flow {
        justify-content: center;
    }

    .production-stats {
        justify-content: center;
    }

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

    .viz-gallery {
        height: 400px;
    }

    .offer-generation {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .offer-benefits {
        align-items: center;
    }

    .material-samples {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        position: static;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--space-lg);
        border-bottom: 1px solid var(--gray-200);
        gap: var(--space-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .cad-content {
        grid-template-columns: 1fr;
    }

    .cad-sidebar {
        flex-direction: row;
        justify-content: center;
    }

    .cad-panel {
        border-left: none;
        border-top: 1px solid var(--gray-200);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid,
    .advantages-grid,
    .terms-grid,
    .cad-features {
        grid-template-columns: 1fr;
    }

    .tutorial-steps {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

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

    .viz-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }

    .viz-item-large {
        grid-row: span 1;
    }

    .viz-item {
        height: 250px;
    }

    .offer-generation {
        padding: var(--space-xl);
    }

    .offer-content h3 {
        font-size: 1.5rem;
    }

    .production-image {
        height: 250px;
    }

    .production-content {
        padding: var(--space-xl);
    }

    .production-flow {
        flex-wrap: wrap;
        gap: var(--space-sm);
        justify-content: center;
    }

    .flow-icon {
        width: 40px;
        height: 40px;
    }

    .flow-arrow {
        display: none;
    }

    .production-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
        justify-content: center;
    }

    .sample-order-box {
        flex-direction: column;
        text-align: center;
    }

    .comparison-table {
        padding: var(--space-lg);
    }

    th, td {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.875rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: calc(80px + var(--space-xl));
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9375rem;
    }

    .material-samples {
        grid-template-columns: 1fr;
    }

    .footer-legal {
        flex-direction: column;
        gap: var(--space-sm);
    }
}
