/* --- Reset & Base Styles --- */
:root {
    --bg-dark: #07090f;
    --bg-card: rgba(22, 27, 44, 0.6);
    --bg-card-hover: rgba(30, 38, 60, 0.8);
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: #8b5cf6;
    --accent: #0ea5e9;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, rgba(7, 9, 15, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    color: #ffffff;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Buttons --- */
a {
    text-decoration: none;
    color: inherit;
}

.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    filter: brightness(1.1);
}

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

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

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

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 9, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.brand-logo {
    height: 160px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

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

.nav-links a:not(.btn-primary) {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.nav-links a:not(.btn-primary):hover {
    color: white;
}

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

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-text {
    flex: 1.2;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    width: 120%;
    max-width: 700px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    animation: float 6s ease-in-out infinite;
    right: -10%;
    position: relative;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 0 2.5rem 0;
}

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

/* --- How it Works Section --- */
.process {
    padding: 100px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
    z-index: 1;
}

.step:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.4);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.step h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (min-width: 992px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 70px;
        left: 50px;
        right: 50px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
        z-index: 0;
        opacity: 0.4;
    }
}

/* --- Benefits Section --- */
.benefits {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 32px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

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

.benefit-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--primary);
}

.icon-svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
    stroke-width: 1.5px;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
    transition: all 0.3s ease;
}

.benefit-card:hover .icon-svg {
    stroke: var(--secondary);
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5));
}

.footer-icon-svg {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    stroke: var(--primary);
    opacity: 0.8;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.9375rem;
}

/* --- Story Section --- */
.story {
    padding: 100px 0;
    position: relative;
}

.story::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    transform: translateY(-50%);
    z-index: -1;
    pointer-events: none;
}

.story-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    background: linear-gradient(135deg, rgba(22, 27, 44, 0.8) 0%, rgba(30, 38, 60, 0.4) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(10px);
}

.story-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.floating-logo {
    width: 100%;
    max-width: 300px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    animation: float 8s ease-in-out infinite;
    mix-blend-mode: screen;
}

.story-text {
    flex: 1.5;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.story-text .subtitle {
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-text p:not(.subtitle) {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    line-height: 1.8;
}

.story-text strong {
    color: white;
}

/* --- Pricing Section --- */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-grid.single-card {
    grid-template-columns: 1fr;
    max-width: 500px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(30, 38, 60, 0.9) 0%, rgba(17, 24, 39, 0.9) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.package-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 8px;
}

.price .plus {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 400;
    margin: 0 4px;
}

.price-group {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 2px;
}

.price .period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}

.package-desc {
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

.features {
    list-style: none;
    margin-bottom: 32px;
}

.features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    color: #e2e8f0;
}

.features li svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
    margin-right: 12px;
}

.features li.disabled {
    color: var(--text-muted);
    opacity: 0.6;
    text-decoration: line-through;
}

.features li.disabled svg {
    fill: var(--text-muted);
}

.payment-methods {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.payment-methods span {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.payment-logo {
    height: 24px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.payment-logo:hover {
    opacity: 1;
}

/* --- Social Proof --- */
.testimonials {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.3);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.testimony-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 32px;
    border-radius: 16px;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.quote {
    font-size: 1.05rem;
    font-style: italic;
    color: white;
    margin-bottom: 1.5rem;
}

.author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    margin-right: 16px;
}

.author-info h4 {
    font-size: 1rem;
    margin: 0;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Portfolio Grid Section */
.portfolio {
    padding: 100px 0;
}

.portfolio-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.portfolio-marquee-track {
    display: flex;
    gap: 24px;
    width: fit-content;
    animation: scroll-marquee 25s linear infinite;
}

.portfolio-marquee-wrapper:hover .portfolio-marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 12px)); }
}

.portfolio-item {
    flex: 0 0 450px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.portfolio-image {
    width: 100%;
    height: 260px;
    background-size: cover;
    background-position: top;
    position: relative;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 9, 15, 0.95), rgba(7, 9, 15, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 4px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay h4 {
    transform: translateY(0);
}

.portfolio-overlay span {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    transform: translateY(10px);
    transition: transform 0.3s ease 0.05s;
}

.portfolio-item:hover .portfolio-overlay span {
    transform: translateY(0);
}


/* --- Contact Section --- */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(10px);
}

.contact-text {
    flex: 1;
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-text p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.contact-text ul {
    list-style: none;
}

.contact-text li {
    margin-bottom: 12px;
    font-weight: 500;
    color: white;
}

.contact-form-container {
    flex: 1;
    background: rgba(0,0,0,0.3);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
#message {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1) !important;
    background: rgba(255,255,255,0.03) !important;
    color: white !important;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
#message:focus {
    outline: none;
    border-color: var(--primary) !important;
    background: rgba(255,255,255,0.05) !important;
}

/* --- Mobile Menu Styles --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s linear;
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(7, 9, 15, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in-out;
        backdrop-filter: blur(15px);
        z-index: 100;
        padding-top: 80px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem !important;
        margin: 15px 0;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    body.menu-open {
        overflow: hidden;
    }
}

.btn-submit {
    margin-top: 10px;
}

/* --- Footer --- */
footer {
    padding: 80px 0 40px;
    background: rgba(7, 9, 15, 0.9);
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    margin-left: -15px;
    mix-blend-mode: screen;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a:not(.btn-primary) {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-list a:not(.btn-primary):hover {
    color: var(--primary);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-bottom--centered {
    justify-content: center;
    text-align: center;
}

.footer-brand-link {
    color: rgba(148, 163, 184, 0.6);
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-brand-link:hover {
    color: var(--primary);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(7, 9, 15, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in-out;
        backdrop-filter: blur(15px);
        z-index: 100;
        padding-top: 80px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem !important;
        margin: 15px 0;
    }

    .hero {
        padding-top: 180px;
    }

    .brand-logo, .footer-logo {
        height: 100px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero h2 {
        margin: 0 auto 2.5rem auto;
    }

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

    .hero-image img {
        width: 100%;
        right: 0;
        margin-top: 40px;
    }

    .contact-wrapper, .story-wrapper {
        flex-direction: column;
        padding: 40px 20px;
    }

    .pricing-card {
        padding: 45px 20px 30px;
    }

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

    /* Hamburger Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
    }
}

/* ================================================
   Meet the Founders Section
   ================================================ */

.founders {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

/* Ambient glows behind the section */
.founders::before,
.founders::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.founders::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
    top: -100px;
    left: -150px;
}

.founders::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.07) 0%, transparent 70%);
    bottom: -100px;
    right: -150px;
}

.founders .container {
    position: relative;
    z-index: 1;
}

/* Grid: two equal symmetrical columns */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    max-width: 960px;
    margin: 0 auto;
}

/* ---- Card shell ---- */
.founder-card {
    position: relative;
    border-radius: 24px;
    /* Decorative top gradient border via pseudo-element */
    background: linear-gradient(160deg, rgba(59,130,246,0.25) 0%, rgba(139,92,246,0.15) 100%);
    padding: 2px; /* border-image trick */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.12);
}

.founder-card-inner {
    background: linear-gradient(160deg, rgba(18, 24, 42, 0.92) 0%, rgba(9, 13, 26, 0.96) 100%);
    border-radius: 22px; /* 24 - 2 */
    padding: 48px 40px 40px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

/* ---- Photo ---- */
.founder-photo-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 24px;
    flex-shrink: 0;
}

/* Spinning gradient ring */
.founder-photo-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary), var(--secondary), transparent 70%);
    animation: spin-ring 6s linear infinite;
    z-index: 0;
}

@keyframes spin-ring {
    to { transform: rotate(360deg); }
}

.founder-photo {
    position: relative;
    z-index: 1;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid rgba(7, 9, 15, 0.9);
    display: block;
}

/* Soft radial glow beneath photo */
.founder-photo-glow {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.5) 0%, transparent 70%);
    filter: blur(8px);
    z-index: 0;
    border-radius: 50%;
}

.founder-photo-glow--purple {
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.5) 0%, transparent 70%);
}

/* ---- Role badge ---- */
.founder-role-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(14,165,233,0.18));
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #60a5fa;
}

.founder-role-badge--purple {
    background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(168,85,247,0.18));
    border-color: rgba(139, 92, 246, 0.35);
    color: #c084fc;
}

/* ---- Name & titles ---- */
.founder-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.founder-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.founder-specialty {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.3px;
    margin-bottom: 0;
}

/* ---- Separator ---- */
.founder-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 20px auto;
    opacity: 0.7;
}

/* ---- Bio ---- */
.founder-bio {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.78;
    font-style: italic;
    text-align: center;
    margin-bottom: 28px;
    flex-grow: 1;
}

/* ---- Social icons row ---- */
.founder-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: auto;
}

.founder-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.founder-social-link svg {
    width: 18px;
    height: 18px;
}

.founder-social-link:hover {
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(139,92,246,0.2));
    border-color: rgba(139, 92, 246, 0.5);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

@media (max-width: 480px) {
    .founder-card-inner {
        padding: 36px 24px 32px;
    }
}

/* ---- Tagline below cards ---- */
.founders-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    flex-wrap: wrap;
}

.founders-tagline span:not(.founders-tagline-dot) {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #94a3b8, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.founders-tagline span:not(.founders-tagline-dot):hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.founders-tagline-dot {
    font-size: 1.25rem;
    color: var(--primary);
    opacity: 0.5;
    -webkit-text-fill-color: unset !important;
}


@media (max-width: 768px) {
    .portfolio-item {
        flex: 0 0 320px;
    }
    .portfolio-image {
        height: 180px;
    }
}
