@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* --- Reset & Base Variables --- */
:root {
    /* Theme Light (Default) */
    --bg-primary: #FAFAFA;
    --text-primary: #09090B;
    --text-secondary: #52525B;
    --accent: #2563EB;
    --accent-rgb: 37, 99, 235;
    --accent-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    --glow-gradient: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0) 70%);
    
    /* Cards */
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(9, 9, 11, 0.07);
    --card-hover-border: rgba(9, 9, 11, 0.16);
    --glass-bg: rgba(250, 250, 250, 0.75);
    
    /* Layout */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Scrolled Header Background */
    --header-scrolled-bg: rgba(250, 250, 250, 0.92);
    
    /* Gaps & Section Colors */
    --section-alt-bg: rgba(9, 9, 11, 0.02);
    
    /* Title Text Gradients */
    --title-gradient: linear-gradient(180deg, #09090B 0%, #71717A 100%);
    
    /* Ambient Glow Meshes */
    --glow-color-1: rgba(37, 99, 235, 0.05);
    --glow-color-2: rgba(147, 51, 234, 0.03);
    --glow-color-3: rgba(37, 99, 235, 0.03);

    /* Steps */
    --timeline-step-gradient: linear-gradient(180deg, rgba(9, 9, 11, 0.07) 0%, rgba(9, 9, 11, 0) 100%);
    
    /* Socials */
    --social-link-bg: rgba(9, 9, 11, 0.04);
    
    /* Buttons */
    --btn-secondary-bg: rgba(9, 9, 11, 0.04);
}

body.dark-theme {
    /* Theme Dark */
    --bg-primary: #0B0B0B;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --glow-gradient: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0) 70%);
    
    /* Cards */
    --card-bg: rgba(17, 24, 39, 0.55);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(255, 255, 255, 0.18);
    --glass-bg: rgba(11, 11, 11, 0.75);
    
    /* Scrolled Header Background */
    --header-scrolled-bg: rgba(11, 11, 11, 0.92);
    
    /* Gaps & Section Colors */
    --section-alt-bg: rgba(255, 255, 255, 0.01);
    
    /* Title Text Gradients */
    --title-gradient: linear-gradient(180deg, #FFFFFF 30%, #A1A1AA 100%);
    
    /* Ambient Glow Meshes */
    --glow-color-1: rgba(37, 99, 235, 0.12);
    --glow-color-2: rgba(147, 51, 234, 0.08);
    --glow-color-3: rgba(37, 99, 235, 0.08);
    
    /* Steps */
    --timeline-step-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
    
    /* Socials */
    --social-link-bg: rgba(255, 255, 255, 0.03);
    
    /* Buttons */
    --btn-secondary-bg: rgba(255, 255, 255, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* --- Floating Background Gradients (Stripe & Linear Inspired) --- */
.bg-glow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--glow-color-1) 0%, rgba(37, 99, 235, 0) 70%);
    filter: blur(80px);
    animation: floatingGlow 15s infinite alternate ease-in-out;
    transition: background 0.4s ease;
}

.bg-glow-2 {
    position: absolute;
    top: 40%;
    left: -20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--glow-color-2) 0%, rgba(147, 51, 234, 0) 70%);
    filter: blur(100px);
    animation: floatingGlow 20s infinite alternate-reverse ease-in-out;
    transition: background 0.4s ease;
}

.bg-glow-3 {
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, var(--glow-color-3) 0%, rgba(37, 99, 235, 0) 70%);
    filter: blur(90px);
    animation: floatingGlow 18s infinite alternate ease-in-out;
    transition: background 0.4s ease;
}

@keyframes floatingGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(5%, 10%) scale(1.1);
    }
}

/* --- Global Layout / Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
    font-weight: 400;
    transition: color 0.4s ease;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    width: 100%;
}

.section-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--title-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.4s ease;
}

/* --- Buttons (Apple & Linear Inspired) --- */
.btn-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.1);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.15);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(var(--accent-rgb), 0.05);
    border-color: var(--card-hover-border);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent-gradient);
    color: #FFFFFF;
    border: 1px solid var(--accent);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.btn-accent:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.btn svg {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

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

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

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 0.5rem 0;
    background: var(--header-scrolled-bg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

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

/* Header Action Layout & Theme Button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-btn {
    background: none;
    border: 1px solid var(--card-border);
    cursor: pointer;
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    background: rgba(var(--accent-rgb), 0.08);
    border-color: var(--card-hover-border);
    color: var(--accent);
}

/* Theme Icon Display States */
body.dark-theme .sun-icon {
    display: block;
}
body.dark-theme .moon-icon {
    display: none;
}
body:not(.dark-theme) .sun-icon {
    display: none;
}
body:not(.dark-theme) .moon-icon {
    display: block;
}

.nav-btn {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-tag {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-bottom: 1.5rem;
}

.hero-tag span {
    width: 6px;
    height: 6px;
    background-color: #3B82F6;
    border-radius: 50%;
    margin-right: 0.5rem;
    display: inline-block;
    box-shadow: 0 0 8px #3B82F6;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: var(--title-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    transition: background 0.4s ease;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glow under founder photo */
.hero-image-glow {
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0) 70%);
    filter: blur(30px);
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
    animation: pulseGlow 4s infinite alternate ease-in-out;
}

.hero-image-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.02) 100%);
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body.dark-theme .hero-image-container {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.05);
        opacity: 1.2;
    }
}

/* --- Trust / Metrics Section --- */
.trust {
    padding: 6rem 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    background: var(--section-alt-bg);
}

.trust-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 4rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.metric-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

body.dark-theme .metric-card {
    box-shadow: none;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-hover-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.dark-theme .metric-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.metric-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.metric-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Services Section --- */
.services {
    padding: 8rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

body.dark-theme .service-card {
    box-shadow: none;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-hover-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 0 25px rgba(37, 99, 235, 0.03);
}

body.dark-theme .service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(37, 99, 235, 0.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Portfolio Section --- */
.portfolio {
    padding: 8rem 0;
    background: linear-gradient(180deg, transparent, var(--section-alt-bg), transparent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

body.dark-theme .project-card {
    box-shadow: none;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-hover-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

body.dark-theme .project-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.project-image-box {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--card-border);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 11, 11, 0.5) 100%);
    opacity: 0.5;
}

.project-info {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(37, 99, 235, 0.06);
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
    align-self: flex-start;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.project-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.project-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.project-btn {
    align-self: flex-start;
}

/* --- Process Section --- */
.process {
    padding: 8rem 0;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0 auto;
}

/* Central vertical timeline line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, var(--card-border) 0%, rgba(37, 99, 235, 0.3) 50%, var(--card-border) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 3rem;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* Timeline center glowing dot */
.timeline-badge {
    position: absolute;
    top: 2.8rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 4px solid var(--accent);
    z-index: 10;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-badge {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -10px;
}

.timeline-item:hover .timeline-badge {
    transform: scale(1.3);
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.6);
}

.timeline-step {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 900;
    background: var(--timeline-step-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: -1rem;
    z-index: 0;
    transition: background 0.4s ease;
}

.timeline-item:nth-child(odd) .timeline-step {
    right: 3rem;
}

.timeline-item:nth-child(even) .timeline-step {
    left: 3rem;
}

.timeline-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

body.dark-theme .timeline-card {
    box-shadow: none;
}

.timeline-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

body.dark-theme .timeline-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.timeline-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.07);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.timeline-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.timeline-card p {
    font-size: 0.95rem;
}

/* --- About Section --- */
.about {
    padding: 8rem 0;
    border-top: 1px solid var(--card-border);
    background: var(--section-alt-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0) 70%);
    filter: blur(40px);
    z-index: 1;
}

.about-image-card {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    aspect-ratio: 1;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

body.dark-theme .about-image-card {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--title-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.4s ease;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.about-socials {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--social-link-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.15);
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 8rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

body.dark-theme .testimonial-card {
    box-shadow: none;
}

.testimonial-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

body.dark-theme .testimonial-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: #FBBF24;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.06);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
}

.testimonial-user-info h4 {
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-user-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* --- CTA Section (Hardcoded Premium Dark Card) --- */
.cta {
    padding: 8rem 0;
}

.cta-box {
    background: linear-gradient(135deg, #111827 0%, #030712 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    color: #FFFFFF;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0) 60%);
    z-index: 0;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.75) !important;
}

.cta-btn {
    font-size: 1.1rem;
    padding: 1rem 2.2rem;
}

/* --- Footer (Always Premium Dark Background) --- */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 3rem 0;
    background: #070707;
    color: #FFFFFF;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 260px;
    color: #A1A1AA;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.9rem;
    color: #A1A1AA;
}

.footer-link:hover {
    color: #FFFFFF;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #A1A1AA;
}

.footer-contact-item:hover {
    color: #FFFFFF;
}

.footer-contact-item svg {
    color: var(--accent);
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: #71717A;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .services-grid, .portfolio-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--card-border);
        z-index: 99;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .header-actions {
        margin-left: auto;
        margin-right: 1.5rem;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 6rem;
    }

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

    .hero-content {
        align-items: center;
    }

    .hero-tag {
        align-self: center;
    }

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

    .hero-image-container {
        max-width: 300px;
    }

    .btn-container {
        justify-content: center;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid, .portfolio-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-badge {
        left: 10px !important;
        right: auto !important;
    }

    .timeline-step {
        left: 50px !important;
        right: auto !important;
    }

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

    .about-image-card {
        margin: 0 auto;
    }

    .about-socials {
        justify-content: center;
    }

    .cta-box {
        padding: 4rem 1.5rem;
    }

    .cta-title {
        font-size: 2.25rem;
    }

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