:root {
    /* Color Tokens */
    --color-bg: #07080c;
    --color-bg-alt: #0d0f17;
    --color-card-bg: rgba(16, 20, 32, 0.45);
    --color-card-border: rgba(255, 255, 255, 0.06);
    --color-card-border-hover: rgba(255, 255, 255, 0.12);
    
    --color-primary: #6366f1;     /* Indigo */
    --color-secondary: #a855f7;   /* Purple */
    --color-accent: #f43f5e;      /* Rose/Pink */
    --color-cyan: #06b6d4;        /* Cyan */
    --color-blue: #3b82f6;        /* Blue */
    
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-text-dark: #64748b;
    
    /* Font Families */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing & Borders */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --container-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
    border: 2px solid var(--color-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Utility Classes */
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.text-cyan { color: var(--color-cyan) !important; }
.text-purple { color: var(--color-secondary) !important; }

.text-gradient {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-alt {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--color-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-card-border);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--color-card-border-hover);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    box-shadow: 0 8px 24px -6px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -4px rgba(99, 102, 241, 0.7);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: 6px;
}

.btn-full {
    width: 100%;
}

/* Glowing Background Blobs */
.glow-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    animation: pulseBlob 8s infinite alternate ease-in-out;
}

.glow-blob-1 {
    background: var(--color-primary);
    top: 10%;
    left: -100px;
}

.glow-blob-2 {
    background: var(--color-cyan);
    top: 20%;
    right: -100px;
    animation-delay: 2s;
}

.glow-blob-3 {
    background: var(--color-secondary);
    top: 50%;
    left: 20%;
    animation-delay: 4s;
}

.glow-blob-4 {
    background: var(--color-accent);
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes pulseBlob {
    0% { transform: scale(1) translate(0, 0); opacity: 0.12; }
    50% { transform: scale(1.1) translate(20px, -20px); opacity: 0.18; }
    100% { transform: scale(0.9) translate(-10px, 30px); opacity: 0.12; }
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 8, 12, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    color: var(--color-text);
    cursor: pointer;
    font-size: 1.5rem;
}

/* Mobile Menu Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--color-bg-alt);
    z-index: 1000;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
    transform: translateX(-320px);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-drawer-btn {
    color: var(--color-text);
    cursor: pointer;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.drawer-link:hover {
    color: var(--color-text);
}

.drawer-cta {
    margin-top: 20px;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-graphic {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.graphic-card {
    width: 100%;
    max-width: 440px;
    border-radius: var(--border-radius-lg);
    background: rgba(20, 24, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--color-primary);
    filter: blur(40px);
    opacity: 0.3;
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

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

.graphic-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.graphic-title {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-left: 8px;
}

.graphic-body {
    padding: 24px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.metric-label {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.metric-val {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
    border-radius: 10px;
}

.chart-container {
    margin-bottom: 24px;
}

.chart-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.grid-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}

.grid-stat .stat-num {
    display: block;
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
}

.grid-stat .stat-lbl {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Stats Section */
.stats-section {
    padding: 40px 0;
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}

.stat-item {
    flex: 1 1 200px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

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

/* Section Common Styles */
section:not(.hero-section):not(.stats-section) {
    padding: 120px 0;
}

.section-header {
    max-width: 650px;
    margin: 0 auto 70px auto;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 40px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

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

.icon-cyan {
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.icon-purple {
    background: rgba(168, 85, 247, 0.1);
    color: var(--color-secondary);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.icon-pink {
    background: rgba(244, 63, 94, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.service-title {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-text {
    color: var(--color-text-muted);
    margin-bottom: 30px;
    font-size: 0.98rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text);
}

.service-features svg {
    width: 16px;
    height: 16px;
    color: var(--color-cyan);
    flex-shrink: 0;
}

/* Marketing ROI Calculator */
.calculator-section {
    position: relative;
    background: var(--color-bg-alt);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    border-radius: var(--border-radius-lg);
    background: rgba(13, 16, 28, 0.7);
}

.calculator-controls {
    padding: 48px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.calculator-results {
    padding: 48px;
    background: rgba(7, 8, 12, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-group-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 36px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.slider-group {
    margin-bottom: 32px;
}

.slider-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.slider-info label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
}

.slider-value {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-cyan);
    background: rgba(6, 182, 212, 0.1);
    padding: 2px 10px;
    border-radius: 6px;
}

.custom-slider {
    width: 100%;
    height: 6px;
    border-radius: 10px;
    background: #1e293b;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-primary) 100%);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
    transition: transform 0.15s ease;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.result-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 24px;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-card.highlight {
    background: rgba(99, 102, 241, 0.04);
    border-color: rgba(99, 102, 241, 0.1);
}

.result-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.result-value {
    font-family: var(--font-title);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
}

.roi-summary-gauge {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.roi-summary-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.gauge-bar {
    width: 100%;
    height: 10px;
    background: #1e293b;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}

.gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan), var(--color-secondary));
    border-radius: 10px;
    transition: width 0.4s ease;
}

.roi-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    line-height: 1.4;
}

/* Case Studies Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-img-placeholder {
    height: 240px;
    position: relative;
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(7, 8, 12, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
}

.case-metric-overlay {
    text-align: center;
    z-index: 1;
}

.case-overlay-num {
    display: block;
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, white 50%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    line-height: 1;
}

.case-overlay-lbl {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
    display: inline-block;
}

.case-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.case-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.case-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.case-stat strong {
    color: var(--color-text);
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.legal-info {
    margin-top: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.01);
}

.legal-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.legal-detail {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.legal-detail:last-child { margin-bottom: 0; }

.values-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.value-item {
    display: flex;
    gap: 24px;
}

.value-number {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-cyan);
    opacity: 0.7;
}

.value-text h4 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-text p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

/* Contact Section */
.contact-section {
    position: relative;
    background: var(--color-bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-title {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info-desc {
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
}

.contact-item-card:hover {
    transform: translateX(6px);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-value {
    font-weight: 600;
    font-size: 0.98rem;
}

/* Contact Form */
.contact-form-container {
    padding: 48px;
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    color: var(--color-text);
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

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

/* Form Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-alt);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.success-message-box {
    max-width: 380px;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon svg {
    width: 36px;
    height: 36px;
}

.success-message-box h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.success-message-box p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Footer Section */
.footer {
    background: #040508;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.brand-tagline {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.footer-links-col h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
}

.footer-links-col a {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

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

.footer-legal-text {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: var(--color-text-dark);
    font-size: 0.88rem;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.footer-socials a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text);
    transform: translateY(-2px);
}

/* Reveal Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-controls {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 32px 24px;
    }
    
    .calculator-results {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-form-container {
        padding: 32px 24px;
    }
    
    .stats-container {
        justify-content: center;
    }
    
    .stat-item {
        flex: 1 1 140px;
    }
}
