/* =============================================================================
   LANDING V3 - BOLDNESS & CLARITY (LIGHT MODE)
   Inspired by Vercel, top.co - Modern, decisive, high-impact
   New palette: coral/teal
   ============================================================================= */

/* Design Tokens */
:root {
    /* Color Foundation - Pure & Bold */
    --bg-base: #ffffff;
    --bg-surface: #fafafa;
    --bg-elevated: #f4f4f5;
    --bg-dark: #09090b;

    /* Foreground Hierarchy */
    --fg-primary: #09090b;
    --fg-secondary: #3f3f46;
    --fg-muted: #71717a;
    --fg-faint: #a1a1aa;

    /* Accent - Coral */
    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-subtle: rgba(249, 115, 22, 0.1);

    /* Secondary - Teal */
    --accent-2: #14b8a6;
    --accent-2-hover: #0d9488;
    --accent-2-subtle: rgba(20, 184, 166, 0.1);

    /* Borders - Strong & Visible */
    --border: #e4e4e7;
    --border-strong: #d4d4d8;
    --border-accent: var(--accent);

    /* Shadows - Minimal */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);

    /* Spacing (4px grid) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;

    /* Border Radius - Sharp */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;

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

    /* Animation */
    --transition-fast: 120ms cubic-bezier(0.25, 1, 0.5, 1);
    --transition-normal: 180ms cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--fg-primary);
    background: var(--bg-base);
    -webkit-font-smoothing: antialiased;
}

/* Typography - Bold & Confident */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--fg-primary);
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.125rem;
}

p {
    color: var(--fg-secondary);
    font-size: 1.125rem;
}

a {
    color: var(--fg-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-24) 0;
}

/* =============================================================================
   NAVIGATION
   ============================================================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-3) 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo img {
    height: 48px;
    width: auto;
    display: block;
}

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

.nav-link {
    color: var(--fg-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.nav-cta {
    padding: var(--space-2) var(--space-4);
    background: var(--fg-primary);
    color: white !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--accent);
    color: white;
}

.nav-cta.nav-cta--teal {
    background: var(--accent-2);
    box-shadow: var(--shadow-sm);
}

.nav-cta.nav-cta--teal:hover {
    background: var(--accent-2-hover);
    color: white;
}

.nav-cta.nav-cta--teal:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 2px;
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    padding: var(--space-2);
    background: transparent;
    border: none;
    color: var(--fg-primary);
    cursor: pointer;
}

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

    .nav-toggle {
        display: block;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: var(--space-6);
        background: var(--bg-base);
        border-bottom: 1px solid var(--border);
        gap: var(--space-4);
    }
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--space-20);
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

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

.hero-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--accent-subtle);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero h1 {
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--fg-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--accent-subtle) 0%, var(--accent-2-subtle) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-graphic::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(60px);
}

.hero-graphic-text {
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-visual {
        order: -1;
    }

    .hero-graphic {
        max-width: 300px;
        aspect-ratio: 1.2;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--fg-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--fg-primary);
    border: 1px solid var(--border-strong);
}

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

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: white;
}

.btn-teal {
    background: var(--accent-2);
    color: white;
}

.btn-teal:hover {
    background: var(--accent-2-hover);
    color: white;
}

/* =============================================================================
   SERVICES SECTION
   ============================================================================= */
.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.services-header h2 {
    margin-bottom: var(--space-4);
}

/* Service Blocks */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-8);
}

.service-block.reverse .service-info {
    order: 2;
}

.service-info {
    padding: var(--space-12);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-4);
    width: fit-content;
}

.service-tag.coral {
    background: var(--accent-subtle);
    color: var(--accent);
}

.service-tag.teal {
    background: var(--accent-2-subtle);
    color: var(--accent-2);
}

.service-info h3 {
    font-size: 2rem;
    margin-bottom: var(--space-4);
}

.service-info p {
    margin-bottom: var(--space-6);
}

.service-features-side {
    background: var(--bg-surface);
    padding: var(--space-8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    align-content: center;
}

.feature-box {
    padding: var(--space-5);
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-align: center;
}

.feature-box:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.feature-box-icon {
    width: 32px;
    height: 32px;
    margin-bottom: var(--space-3);
    opacity: 0.85;
}

.feature-box h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 900px) {

    .service-block,
    .service-block.reverse {
        grid-template-columns: 1fr;
    }

    .service-block.reverse .service-info {
        order: 0;
    }

    .service-info {
        padding: var(--space-8);
    }

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

@media (max-width: 500px) {
    .service-features-side {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   STATS SECTION
   ============================================================================= */
.stats-section {
    background: var(--bg-dark);
    color: white;
    padding: var(--space-16) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: var(--space-2);
}

.stat-item h3 span {
    color: var(--accent);
}

.stat-item p {
    color: var(--fg-faint);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }
}

/* =============================================================================
   CONTACT SECTION
   ============================================================================= */
.contact-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.contact-form-wrapper h3 {
    margin-bottom: var(--space-2);
    text-align: center;
}

.contact-form-wrapper>p {
    margin-bottom: var(--space-8);
    text-align: center;
}

.form-alert {
    padding: var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-base);
    color: var(--fg-primary);
    font-size: 14px;
    text-align: center;
    margin-bottom: var(--space-6);
}

.form-alert--success {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.14);
    color: #166534;
    font-weight: 600;
}

.form-alert--error {
    border-color: rgba(249, 115, 22, 0.35);
    background: rgba(249, 115, 22, 0.08);
}

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

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

.form-input {
    width: 100%;
    padding: var(--space-4);
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--fg-primary);
    font-size: 15px;
    font-family: var(--font-sans);
    transition: all var(--transition-fast);
}

.form-input::placeholder {
    color: var(--fg-faint);
}

.form-input:focus {
    outline: none;
    border-color: var(--fg-primary);
}

.form-submit {
    padding: var(--space-4) var(--space-8);
    background: var(--fg-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--transition-fast);
    max-width: 50%;
    align-self: center;
}

.form-submit:hover {
    background: var(--accent);
}

.form-note {
    font-size: 13px;
    color: var(--fg-muted);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-info h3 {
    margin-bottom: var(--space-8);
    text-align: center;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    width: 100%;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    width: 100%;
    max-width: 320px;
}

.contact-item:hover {
    border-color: var(--border-strong);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    font-size: 18px;
}

.contact-item-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--fg-primary);
    font-family: var(--font-mono);
}

.contact-item-label {
    font-size: 13px;
    color: var(--fg-muted);
    font-family: var(--font-sans);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

/* =============================================================================
   FOOTER
   ============================================================================= */
.footer {
    padding: var(--space-12) 0;
    background: var(--bg-dark);
    color: white;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-6);
}

.footer-logo img {
    height: 48px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: var(--space-8);
}

.footer-link {
    font-size: 14px;
    color: var(--fg-faint);
}

.footer-link:hover {
    color: white;
}

.footer-contact {
    display: flex;
    gap: var(--space-6);
    font-size: 14px;
    color: var(--fg-faint);
    font-family: var(--font-mono);
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        flex-direction: column;
        gap: var(--space-2);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

.text-teal {
    color: var(--accent-2);
}
