:root {
    /* Colors */
    --bg-color: #050505;
    /* Deep Black */
    --bg-secondary: #0a0a0a;
    /* Slightly lighter black */
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --primary-color: #ffffff;
    /* White primary for minimalism */
    --primary-hover: #e0e0e0;
    --accent-color: #333333;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);

    /* Modern Blue - Removed/Muted */
    --error-color: #ef4444;
    --success-color: #22c55e;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));

    /* Typography */
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

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

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;

    /* Accents */
    --color-gold: #D4AF37;
    --color-gold-glow: rgba(212, 175, 55, 0.6);
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    transition: var(--transition-normal);
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

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

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    /* No background */
    backdrop-filter: none;
    /* No blur */
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: var(--spacing-sm) 0;
    transition: background 0.3s ease;
    /* smooth transition if we add scroll effect later */
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    /* Increased from 1.25rem */
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    height: 42px;
    /* Increased from 32px */
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-primary);
    opacity: 0.7;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -4px;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    opacity: 0.7;
    transition: var(--transition-fast);
}

.nav-social-link:hover {
    opacity: 1;
    color: #E1306C;
    /* Instagram brand color or keeping it white/accent depending on user request. User said 'matches site's color scheme'. Let's keep it white/bright but maybe subtle brand tint on hover or just simple opacity */
    color: #ffffff;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding-top: calc(100px + var(--spacing-md));
    padding-bottom: var(--spacing-xl);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center vertically */
    position: relative;
    overflow: hidden;
    text-align: center;
    background-image: url('../assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Add an overlay to ensure text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Subtle dark overlay */
    z-index: 1;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    /* Reduced gap */
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    /* Limit width for better readability */
}

/* Removed .badge-pill as it is not in the new design */

.hero-title {
    font-size: 3.5rem;
    /* Adjusted for longer text */
    font-weight: 700;
    /* Bold as per reference */
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

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

/* White Outline Button (Glow) */
.btn-glow-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2.5rem;
    background: rgba(0, 0, 0, 0.5);
    /* Keep dark glass fill */
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    animation: whiteBorderPulse 1.8s infinite ease-in-out;
}

.btn-glow-white:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.5);
    border-color: #ffffff;
    transform: translateY(-2px);
}

@keyframes whiteBorderPulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.6);
    }

    50% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
        border-color: #ffffff;
    }

    100% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.6);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-glow-white {
        animation: none;
    }
}

.btn-glass-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.btn-glass-dark:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-pill-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-pill-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}


/* Section Headers */
.section-header {
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    /* Wider for centered text */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.125rem;
    opacity: 0.7;
}

.text-secondary {
    color: var(--text-secondary);
    font-weight: 300;
}



/* Why Us (Feature Cards) */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: var(--glass-border);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.feature-card p {
    font-size: 1rem;
    opacity: 0.7;
    line-height: 1.6;
}

/* How It Works (Process) */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-step:last-child {
        grid-column: 2;
    }
}

.process-step {
    position: relative;
    padding-top: var(--spacing-md);
}

.step-number {
    font-size: 6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -40px;
    left: 0;
    line-height: 1;
    z-index: 0;
    font-family: var(--font-heading);
}

.process-step h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.process-step p {
    font-size: 1rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}



/* Page Hero */
.page-hero {
    padding: 120px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    /* Standard property */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Restored Work Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}


.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: var(--glass-border);
    background: var(--bg-secondary);
    display: block;
    text-decoration: none;
    transition: var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
    backdrop-filter: blur(4px);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: var(--spacing-md);
}

.project-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.project-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.reviewer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: left;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
}

.reviewer-name {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
}

.reviewer-role {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Contact */
#contact,
.contact-section {
    scroll-margin-top: 100px;
    /* Offset for sticky header */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-subtitle {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.method-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-form-wrapper {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: var(--glass-border);
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.footer {
    border-top: var(--glass-border);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    font-size: 0.9rem;
    background: #000000;
    /* Pure black footer */
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links ul {
    display: flex;
    gap: var(--spacing-md);
}

.footer-bottom {
    text-align: center;
    opacity: 0.5;
    font-size: 0.85rem;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.5rem var(--spacing-sm);
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
        text-align: center;
    }

    .nav-link {
        font-size: 1.25rem;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    /* Mobile specific for new sections */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .review-text {
        font-size: 1.25rem;
    }

    .feature-item {
        padding-left: 0;
        border-left: none;
        padding-top: var(--spacing-md);
        border-top: 2px solid rgba(255, 255, 255, 0.1);
    }

    .feature-number {
        top: 0;
        left: 0;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 1rem;
    }
}