/* 
* Premium Modern Theme
* Author: Antigravity
* 2026
*/

:root {
    /* Premium Palette */
    --color-bg: #ffffff;
    --color-surface: #f8fafc;
    --color-surface-hover: #f1f5f9;

    --color-text-main: #0f172a;
    --color-text-muted: #475569;

    /* Brand Colors */
    --color-primary: #2563eb;
    /* Royal Blue */
    --color-primary-dark: #1e40af;
    --color-accent: #f59e0b;
    /* Amber Gold */

    /* Dark Theme Accents */
    --color-navy: #020617;
    /* Deepest Navy */
    --color-navy-light: #0f172a;

    /* Functional */
    --color-border: #e2e8f0;
    --color-success: #10b981;
    --color-error: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    --gradient-dark: linear-gradient(to bottom, #020617, #0f172a);
    --gradient-glow: radial-gradient(circle at center, rgba(37, 99, 235, 0.15) 0%, transparent 70%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --container-max: 1100px;

    /* UI Elements */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.2);
}

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

/* Utilities */
.text-center {
    text-align: center;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-main);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    max-width: 65ch;
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-surface);
}

/* Social Buttons */
.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    background: white;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-social i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero-wrapper {
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
    padding-top: 140px;
    /* Header Space */
    padding-bottom: var(--spacing-xl);
    color: white;
}

.hero-bg-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 150%;
    background: var(--gradient-glow);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
    background: linear-gradient(120deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: #cbd5e1;
    font-size: 1.25rem;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Features / Services Grid */
.section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--color-surface);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* About Section Split */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-img-wrapper {
    position: relative;
}

.about-img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.about-subheading {
    color: var(--color-primary);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: capitalize;
}

.about-photo-frame {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    transition: transform 0.3s ease;
}

.about-photo-frame:hover {
    transform: translateY(-5px) rotate(1deg);
}

/* Tools Grid */
.tool-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.tool-card:hover {
    border-color: var(--color-primary);
    background: var(--color-surface);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--color-surface);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

/* Header Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: #020617;
    /* Always solid */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 80px;
    /* Fixed height */
    display: flex;
    align-items: center;
}

/* Remove scrolled animation state */
.site-header.scrolled {
    /* No changes on scroll */
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.site-header.scrolled .logo,
.site-header.scrolled .nav-link {
    color: white;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.site-header.scrolled .nav-link:hover {
    color: var(--color-accent);
    /* Gold accent on hover */
}

/* Footer */
.site-footer {
    background: var(--color-navy);
    color: #94a3b8;
    padding: var(--spacing-xl) 0 2rem;
}

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

.footer-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a:hover {
    color: white;
}

/* Responsive Utilities */
.mobile-only {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nav-menu {
        display: none;
    }

    /* Add Mobile Menu logic later if needed */
    .mobile-menu-btn {
        display: block;
    }

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

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

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

/* FAQ Accordion */
.faq-grid {
    display: grid;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-item[open] {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.2rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-main);
    font-size: 1.1rem;
}

summary {
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--color-primary);
    transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.2rem 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Reusable Components */
.cta-card {
    margin-top: 6rem;
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, var(--color-surface), white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.cta-card p {
    margin-left: auto;
    margin-right: auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.btn-cta {
    font-size: 1.25rem;
    padding: 1.2rem 3.5rem;
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.header-catchy {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header-catchy h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.header-catchy p {
    margin-left: auto;
    margin-right: auto;
}

/* Badges & Sticky Utilities */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-trust {
    background: #ecfdf5;
    color: #10b981;
    border: 1px solid #d1fae5;
}

.badge-value {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
    margin-left: 0.5rem;
}

.sticky-sidebar {
    position: sticky;
    top: 6rem;
    height: fit-content;
}

@media (max-width: 900px) {
    .sticky-sidebar {
        position: static;
        margin-top: 2rem;
    }
}