/* --- CSS VARIABLES & THEME --- */
:root {
    --color-brand-primary: #6366f1; /* Vibrant Indigo */
    --color-brand-secondary: #0ea5e9; /* Cyan accent */
    --color-brand-gradient: linear-gradient(135deg, #6366f1 0%, #0ea5e9 100%);
    
    --color-bg-dark: #0f172a; /* Deep navy/slate background */
    --color-bg-card: #1e293b; /* Slightly lighter dark */
    --color-bg-light: #ffffff;
    --color-bg-offset: #f8fafc;
    
    --color-text-white: #ffffff;
    --color-text-dark: #0f172a;
    --color-text-muted: #94a3b8;
    --color-text-muted-dark: #64748b;
    
    --border-radius-lg: 16px;
    --border-radius-pill: 50px;
    --container-max: 1200px;
}

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

a { text-decoration: none; transition: color 0.2s; }
ul { list-style: none; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }
p { margin-bottom: 1rem; }

/* --- UTILITIES --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Modern Gradients & Text Effects */
.text-gradient {
    background: var(--color-brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--color-text-muted);
}

.text-muted-dark {
    color: var(--color-text-muted-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-brand-gradient);
    color: var(--color-text-white);
    box-shadow: 0 10px 25px -10px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); }

.btn-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-white);
}
.btn-dark:hover { opacity: 0.9; transform: translateY(-2px); }

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-muted-dark);
}

/* --- NAVBAR --- */
.navbar {
    padding: 20px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-menu { display: flex; gap: 32px; align-items: center; }
.nav-link {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-link:hover { color: var(--color-text-white); }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-white);
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    background-color: var(--color-bg-dark);
    padding: 180px 0 120px 0;
    overflow: hidden;
}
/* Subtle modern background pattern */
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.2) 1px, transparent 0);
    background-size: 32px 32px;
    z-index: 0;
}
/* Glowing orb effect */
.hero-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--color-brand-primary);
    filter: blur(200px);
    opacity: 0.3;
    z-index: 1;
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text-white);
    margin-bottom: 24px;
}
.hero p.lead {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* --- TECH STACK BANNER --- */
.tech-stack {
    background: var(--color-bg-card);
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tech-stack p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.stack-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
}
.stack-logo { font-weight: 700; color: var(--color-text-white); font-size: 1.2rem; }

/* --- FEATURES SECTION --- */
.features { padding: 120px 0; background: var(--color-bg-light); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.feature-card {
    padding: 40px;
    background: var(--color-bg-offset);
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
}
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-brand-primary);
    border-radius: 16px;
    margin-bottom: 24px;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 700; }
.feature-card p { color: var(--color-text-muted-dark); margin-bottom: 0; }

/* --- PRICING SPOTLIGHT --- */
.pricing-section {
    padding: 120px 0;
    background: var(--color-bg-offset);
}
.pricing-spotlight {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-bg-dark);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    position: relative;
}
/* Decorative gradient border effect */
.pricing-spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px; /* Border width */
    background: var(--color-brand-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.pricing-left {
    padding: 60px;
    flex: 1;
    color: var(--color-text-white);
}
.pricing-right {
    padding: 60px;
    background: var(--color-bg-card);
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.price-amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin: 24px 0;
    display: flex;
    align-items: flex-start;
}
.price-currency { font-size: 2rem; margin-top: 8px; margin-right: 4px;}
.price-badge { background: rgba(99, 102, 241, 0.2); color: #a5b4fc; padding: 4px 12px; border-radius: 20px; font-size: 0.875rem; font-weight: 600; vertical-align: middle; margin-left: 12px;}

.checklist { margin: 32px 0; }
.checklist-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--color-text-white);
}
.check-icon {
    color: var(--color-brand-secondary);
    margin-right: 12px;
    flex-shrink: 0;
}

/* --- CONTACT & BOOKING SPLIT --- */
.contact-split {
    padding: 120px 0;
    background: var(--color-bg-light);
}
.split-grid {
    display: flex;
    gap: 60px;
    align-items: stretch;
}
.split-col { flex: 1; }

/* Booking Side (Left) */
.booking-cta {
    padding-right: 40px;
}
.booking-visual {
    margin-top: 40px;
    background: var(--color-bg-offset);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}
.fake-calendar-header { display: flex; justify-content: space-between; margin-bottom: 20px; font-weight: 700;}
.fake-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fake-slot { padding: 10px; text-align: center; background: var(--color-bg-light); border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.9rem; color: var(--color-text-muted-dark);}
.fake-slot.active { background: var(--color-brand-primary); color: white; border: none; }

/* Form Side (Right) */
.form-container {
    padding: 40px;
    background: var(--color-bg-white);
    border-radius: 24px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
    border: 1px solid #f1f5f9;
}
.input-group { margin-bottom: 24px; }
.input-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--color-text-dark); }
.input-field {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--color-bg-offset);
}
.input-field:focus {
    outline: none;
    border-color: var(--color-brand-primary);
    background: var(--color-bg-light);
}
textarea.input-field { resize: vertical; height: 120px; }

/* --- FOOTER --- */
.footer { padding: 40px 0; text-align: center; color: var(--color-text-muted-dark); font-size: 0.9rem;}

/* --- MODAL --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #0f172a;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- PORTFOLIO MODERN CARDS SECTION --- */
.portfolio-section {
    padding: 100px 0;
    background: var(--color-bg-offset);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.portfolio-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--color-brand-primary);
}

.portfolio-card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
}

.portfolio-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

.portfolio-tech {
    color: var(--color-brand-primary);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-description {
    color: var(--color-text-muted-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 15px;
}

.portfolio-link {
    margin-bottom: 20px;
}

.portfolio-link a {
    color: var(--color-brand-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.portfolio-link a:hover {
    color: var(--color-brand-secondary);
    text-decoration: underline;
}

.portfolio-stats {
    display: flex;
    gap: 20px;
    padding-top: 24px;
    border-top: 2px solid var(--color-bg-offset);
    margin-top: auto;
}

.portfolio-stat {
    text-align: center;
    flex: 1;
}

.portfolio-stat .stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    background: var(--color-brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.portfolio-stat .stat-label {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}


/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .hero h1 { font-size: 3rem; }
    .feature-grid { grid-template-columns: 1fr; }
    .pricing-spotlight { flex-direction: column; }
    .pricing-right { padding: 40px; }
    .split-grid { flex-direction: column; }
    .booking-cta { padding-right: 0; margin-bottom: 40px; }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-bg-dark);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu a {
        padding: 12px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
        margin-top: 12px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}


.text-white{
    color:#fff !important;
}