/* ===========================================
   Ferixo - Golden Rose Theme
   Premium Webdesign Agency
   =========================================== */

/* ===== CSS Variables - Light Theme ===== */
:root {
    /* Primary - Golden */
    --primary: #d97706;
    --primary-dark: #b45309;
    --primary-light: #f59e0b;

    /* Secondary - Rose */
    --secondary: #f43f5e;
    --secondary-dark: #e11d48;
    --secondary-light: #fb7185;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #d97706 0%, #f43f5e 50%, #ec4899 100%);
    --primary-gradient-soft: linear-gradient(135deg, #f59e0b 0%, #fb7185 100%);
    --golden-gradient: linear-gradient(135deg, #92400e 0%, #d97706 50%, #fbbf24 100%);

    /* Accent */
    --accent: #f43f5e;
    --accent-light: #fb7185;
    --success: #10b981;

    /* Background - Light */
    --bg-primary: #ffffff;
    --bg-secondary: #fffbf5;
    --bg-tertiary: #fef3e2;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);

    /* Text */
    --text-primary: #1c1917;
    --text-secondary: #57534e;
    --text-muted: #a8a29e;
    --text-inverse: #ffffff;

    /* Borders */
    --border-color: #e7e5e4;
    --border-light: #f5f5f4;

    /* Shadows - warm tint */
    --shadow-sm: 0 1px 2px rgba(180, 83, 9, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(180, 83, 9, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(180, 83, 9, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(180, 83, 9, 0.15);
    --shadow-glow: 0 0 50px rgba(217, 119, 6, 0.25);
    --shadow-glow-pink: 0 0 50px rgba(244, 63, 94, 0.2);

    /* Hero */
    --hero-gradient: linear-gradient(135deg, #fffbf5 0%, #fff5f5 50%, #fdf2f8 100%);

    /* Code colors - warm */
    --code-bg: #292524;
    --code-keyword: #fbbf24;
    --code-variable: #fb7185;
    --code-string: #34d399;
    --code-component: #f472b6;
    --code-prop: #fcd34d;
    --code-boolean: #fb923c;

    /* Misc */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --transition: all 0.3s ease;
}

/* ===== Dark Theme - Golden Rose ===== */
[data-theme="dark"] {
    --bg-primary: #1c1917;
    --bg-secondary: #292524;
    --bg-tertiary: #44403c;
    --bg-card: #292524;
    --bg-glass: rgba(28, 25, 23, 0.9);

    --text-primary: #fafaf9;
    --text-secondary: #d6d3d1;
    --text-muted: #78716c;

    --border-color: #44403c;
    --border-light: #292524;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 80px rgba(217, 119, 6, 0.3);
    --shadow-glow-pink: 0 0 60px rgba(244, 63, 94, 0.25);

    --hero-gradient: linear-gradient(135deg, #1c1917 0%, #2d1f1a 50%, #3d1f2a 100%);
    --code-bg: #1c1917;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md), 0 4px 20px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 8px 30px rgba(217, 119, 6, 0.45);
}

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

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-light);
}

.btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #78350f;
    text-transform: lowercase;
}

[data-theme="dark"] .logo-text {
    color: #ffffff;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.theme-toggle .icon-sun,
[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

/* Mobile */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.25rem;
}

/* ===== Hero Section ===== */
.hero {
    padding: 10rem 0 6rem;
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: var(--primary);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero h1 .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual - Code Window */
.hero-visual {
    position: relative;
}

.code-window {
    background: var(--code-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    overflow: hidden;
}

.code-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) { background: #ef4444; }
.code-dots span:nth-child(2) { background: #f59e0b; }
.code-dots span:nth-child(3) { background: #22c55e; }

.code-title {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.code-body {
    padding: 1.5rem;
}

.code-body pre {
    margin: 0;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-body code {
    color: #e2e8f0;
}

.code-body .keyword { color: var(--code-keyword); }
.code-body .variable { color: var(--code-variable); }
.code-body .string { color: var(--code-string); }
.code-body .component { color: var(--code-component); }
.code-body .prop { color: var(--code-prop); }
.code-body .boolean { color: var(--code-boolean); }

/* Floating badges */
.floating-badge {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 4s ease-in-out infinite;
}

.floating-badge.badge-1 {
    top: -5%;
    left: -10%;
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    bottom: 15%;
    right: -8%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.floating-badge i {
    font-size: 1.25rem;
}

.floating-badge i.bi-check-circle-fill { color: var(--success); }
.floating-badge i.bi-hand-thumbs-up-fill { color: var(--primary); }

.floating-badge span {
    font-weight: 600;
    font-size: 0.875rem;
}

/* ===== Services Section ===== */
.services {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.section-tag {
    display: inline-block;
    background: rgba(217, 119, 6, 0.1);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

[data-theme="dark"] .section-tag {
    background: rgba(217, 119, 6, 0.2);
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

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

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}

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

.service-card.service-cms {
    border-color: var(--primary-light);
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.03) 0%, rgba(244, 63, 94, 0.03) 100%);
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary-gradient);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.service-card.service-web .service-icon {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.service-card.service-cms .service-icon {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
}

.service-card.service-apps .service-icon {
    background: linear-gradient(135deg, #be185d 0%, #f43f5e 100%);
}

.service-card.service-consulting .service-icon {
    background: linear-gradient(135deg, #92400e 0%, #d97706 100%);
}

.service-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    padding: 0.375rem 0;
}

.service-features li i {
    color: var(--success);
    font-size: 1rem;
}

/* Service CTA link */
.service-cta {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.service-cta:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* ===== AI Section ===== */
.ai-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    overflow: hidden;
}

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

.ai-text .section-tag {
    background: rgba(244, 63, 94, 0.1);
    color: #f43f5e;
}

[data-theme="dark"] .ai-text .section-tag {
    background: rgba(244, 63, 94, 0.2);
}

.ai-text .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.ai-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-feature {
    display: flex;
    gap: 1rem;
}

.ai-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #d97706 0%, #f43f5e 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ai-feature-content h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

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

/* AI Visual */
.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(244, 63, 94, 0.15);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.ai-card-header {
    background: linear-gradient(135deg, #d97706 0%, #f43f5e 100%);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.ai-card-header i {
    font-size: 1.25rem;
}

.ai-card-header span {
    font-weight: 600;
}

.ai-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-message {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 85%;
}

.ai-message-user {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-message-bot {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(244, 63, 94, 0.1) 100%);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

[data-theme="dark"] .ai-message-bot {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(244, 63, 94, 0.15) 100%);
}

.ai-typing {
    display: flex;
    gap: 4px;
    padding: 0.5rem 0;
}

.ai-typing span {
    width: 8px;
    height: 8px;
    background: #f43f5e;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.ai-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .ai-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ai-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .ai-feature {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ===== Technologies Section ===== */
.technologies {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.tech-category {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.tech-category h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.tech-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.tech-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

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

.tech-item span {
    font-weight: 600;
    font-size: 0.875rem;
}

/* ===== Process Section ===== */
.process {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    position: relative;
    padding-bottom: 3rem;
}

.process-step:last-child {
    padding-bottom: 0;
}

.process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    padding-top: 0.5rem;
}

.step-content h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta {
    padding: 8rem 0;
    background: var(--primary-gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.875rem !important;
    opacity: 0.8;
    margin-top: 1.5rem !important;
}

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #78350f;
    text-transform: lowercase;
}

[data-theme="dark"] .footer-brand .logo-text {
    color: #ffffff;
}

.footer-brand .logo-icon {
    width: 36px;
    height: 36px;
}

.footer-brand .logo-icon svg {
    width: 36px;
    height: 36px;
}

.footer-about p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer h5 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer ul {
    list-style: none;
}

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

.footer ul a, .footer ul li {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: var(--transition);
}

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

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-content {
        gap: 3rem;
    }

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

    .tech-categories {
        grid-template-columns: 1fr;
    }

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

    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

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

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

    .hero-description {
        margin: 0 auto 2rem;
    }

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

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

    .hero-visual {
        order: -1;
    }

    .floating-badge {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
    }

    .process-step:not(:last-child)::before {
        display: none;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-about {
        grid-column: span 1;
    }

    .footer-about p {
        max-width: none;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.875rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

    .code-body pre {
        font-size: 0.75rem;
    }

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