/* =========================================
   OG Team - Website Styles
   ========================================= */

/* CSS Variables - Main Colors */
:root {
    --primary: #51E2F5;
    --secondary: #99FBEE;
    --light: #EEF7F7;
    --accent: #FFA8B5;
    --violet: #8B7CFF;
    --dark: #A18089;
    --bg-dark: #0a0a0a;
    --bg-card: #121212;
    --text-dark: #e0e0e0;
    --text-light: #a0a0a0;
    --white: #ffffff;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background-color: #3acfe8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 226, 245, 0.4);
}

.btn-secondary {
    background-color: var(--dark);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #8f6f77;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(161, 128, 137, 0.4);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(161, 128, 137, 0.2);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(81, 226, 245, 0.9));
}

.logo-text {
    font-size: 0;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
    text-shadow: 0 0 10px rgba(81, 226, 245, 0.4);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    background: #050505;
}


@keyframes waveBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(5, 5, 5, 0.2) 0%,
        rgba(10, 10, 10, 0.2) 50%,
        rgba(5, 5, 5, 0.2) 100%
    );
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 10px 25px;
    background-color: rgba(81, 226, 245, 0.2);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(81, 226, 245, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(81, 226, 245, 0.3);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-dark);
    text-shadow: 0 0 30px rgba(81, 226, 245, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.hero-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 45% 55% 55% 45% / 45% 45% 55% 55%;
    animation: float 8s ease-in-out infinite;
    z-index: -1;
    opacity: 0.4;
    filter: blur(30px);
}

.code-illustration {
    background: rgba(18, 18, 18, 0.9);
    padding: 35px;
    border-radius: 30px;
    border: 1px solid rgba(81, 226, 245, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 3;
    backdrop-filter: blur(15px);
}

.code-line {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.code-tag {
    color: var(--primary);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* Fluid Canvas Overlay - Highly visible */

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-card);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder::before {
    content: "OG Team";
    font-size: 3rem;
    font-weight: 800;
    color: #000;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

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

.service-card {
    padding: 40px 30px;
    border-radius: 20px;
    background: var(--bg-card);
    transition: all 0.3s ease;
    border: 1px solid rgba(81, 226, 245, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(81, 226, 245, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(81, 226, 245, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(81, 226, 245, 0.2);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Founders Section */
.founders {
    padding: 100px 0;
    background-color: var(--bg-card);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.founder-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-dark);
    border-radius: 25px;
    border: 1px solid rgba(81, 226, 245, 0.15);
    transition: all 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(81, 226, 245, 0.2);
    border-color: var(--primary);
}

.founder-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    box-shadow: 0 10px 30px rgba(81, 226, 245, 0.4);
}

.founder-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
}

.founder-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.founder-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: block;
}

.founder-contact {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.founder-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.founder-contact i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(81, 226, 245, 0.15);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(81, 226, 245, 0.2);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: #0a0a0a;
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(81, 226, 245, 0.1);
}

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

/* Footer */
.footer {
    padding: 60px 0 30px;
    background-color: var(--bg-card);
    color: var(--text-dark);
    border-top: 1px solid rgba(161, 128, 137, 0.2);
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    width: 70px;
    height: 70px;
}

.footer-logo .logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
    text-shadow: 0 0 10px rgba(81, 226, 245, 0.3);
}

.footer-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(81, 226, 245, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid rgba(81, 226, 245, 0.2);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(161, 128, 137, 0.2);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-description {
        max-width: 100%;
        margin: 0 auto 40px;
    }

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .image-placeholder {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 50px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(161, 128, 137, 0.2);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo-img {
    width: 45px;
    height: 45px;
    }

    .logo-text {
        font-size: 1.5rem;
    }
}






/* =========================================
   v2: Ripple hero, scroll diffuse, animations
   ========================================= */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 1100; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--primary), var(--violet), var(--accent)); }
.navbar.scrolled { padding: 10px 0; box-shadow: 0 5px 20px rgba(139, 124, 255, 0.15); }

/* Hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; background: #050505; }
.hero.no-ripple { background: #050505 url('../assets/backgrounds/360_F_1192601037_dcnnafheN2VdLGZjPEdakumeE949BaSO.jpg') center / cover; }
.hero-container { width: 100%; }
.hero-ripple { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; will-change: transform, filter, opacity;
  transform: scale(calc(1 + var(--hp, 0) * 0.08));
  filter: blur(calc(var(--hp, 0) * 12px)) saturate(calc(1 + var(--hp, 0) * 0.4));
  opacity: calc(1 - var(--hp, 0) * 0.9); }
.hero-overlay { z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 30% 40%, rgba(8, 8, 26, 0.35), rgba(5, 5, 16, 0.78) 80%),
              linear-gradient(to bottom, rgba(5, 5, 16, 0.35), transparent 30%, transparent 70%, #121212); }
.hero-content { will-change: transform, opacity, filter;
  opacity: calc(1 - var(--hp, 0) * 1.25); filter: blur(calc(var(--hp, 0) * 10px));
  transform: translateY(calc(var(--hp, 0) * -40px)) scale(calc(1 - var(--hp, 0) * 0.06)); }
.hero-visual { will-change: transform, opacity, filter;
  opacity: calc(1 - var(--hp, 0) * 1.25); filter: blur(calc(var(--hp, 0) * 10px));
  transform: translateY(calc(var(--hp, 0) * 50px)) scale(calc(1 - var(--hp, 0) * 0.08)); }
.hero-title { font-size: clamp(2.2rem, 5.6vw + 0.4rem, 4rem); }
.hero-shape { width: min(500px, 85vw); height: min(500px, 85vw); background: linear-gradient(135deg, var(--primary), var(--violet)); }
.code-illustration { max-width: 100%; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.2s ease-out; animation: bob 6s ease-in-out infinite; }
.code-line { overflow-wrap: anywhere; font-size: clamp(0.78rem, 2.4vw, 0.95rem); opacity: 0; animation: rv 0.6s both; }
.code-line:nth-child(1) { animation-delay: 1.1s; } .code-line:nth-child(2) { animation-delay: 1.35s; } .code-line:nth-child(3) { animation-delay: 1.6s; }
.code-illustration::after { content: '\258D'; color: var(--primary); animation: blink 1s steps(2) infinite; }

/* Entrance (hero) */
.hero-content > * { animation: rv 0.9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-content > :nth-child(1) { animation-delay: 0.15s; } .hero-content > :nth-child(2) { animation-delay: 0.3s; }
.hero-content > :nth-child(3) { animation-delay: 0.45s; } .hero-content > :nth-child(4) { animation-delay: 0.6s; }
.hero-visual .code-illustration { animation: rv 0.9s 0.5s cubic-bezier(.2, .7, .2, 1) both, bob 6s 1.4s ease-in-out infinite; }
.hero-badge::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--primary); animation: pulse 1.8s infinite; }
.gradient-text { background-image: linear-gradient(110deg, var(--primary), var(--violet), var(--accent), var(--primary)); background-size: 250% 100%; animation: shimmer 8s linear infinite; }
.btn-secondary { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(8px); }
.btn-secondary:hover { background: rgba(139, 124, 255, 0.35); box-shadow: 0 5px 15px rgba(139, 124, 255, 0.4); }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); translate: -120% 0; transition: translate 0.6s; }
.btn:hover::after { translate: 120% 0; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; z-index: 10; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 20px; opacity: calc(1 - var(--hp, 0) * 4); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--primary); animation: wheel 1.6s ease-in-out infinite; }

/* Scroll reveal */
.reveal { opacity: 0; }
.reveal.in { animation: rv 0.8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) both; }
.reveal[data-r="left"] { --tx: -40px; --ty: 0px; } .reveal[data-r="right"] { --tx: 40px; --ty: 0px; }

/* Cards, avatars, accents */
.service-card, .founder-card { position: relative; overflow: hidden; }
.service-card::before, .founder-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 124, 255, 0.18), transparent 70%); }
.service-card:hover::before, .founder-card:hover::before { opacity: 1; }
.service-icon { transition: transform 0.3s; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.12); }
.founder-image { position: relative; }
.founder-image::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; animation: spin 6s linear infinite;
  background: conic-gradient(var(--primary), var(--violet), var(--accent), var(--primary));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); }
.image-placeholder { background: linear-gradient(135deg, var(--primary), var(--violet)); }
.info-item p { overflow-wrap: anywhere; }

@keyframes rv { from { opacity: 0; translate: var(--tx, 0px) var(--ty, 30px); } to { opacity: 1; translate: 0 0; } }
@keyframes bob { 50% { translate: 0 -12px; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes shimmer { to { background-position: -250% 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(81, 226, 245, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(81, 226, 245, 0); } }
@keyframes wheel { 0% { opacity: 0; translate: 0 0; } 30% { opacity: 1; } 100% { opacity: 0; translate: 0 16px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive polish */
.about, .services, .founders, .contact { padding: clamp(60px, 10vw, 100px) 0; }
.section-title { font-size: clamp(1.8rem, 4.5vw + 0.4rem, 2.5rem); }
.nav-toggle.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 992px) {
  .hero { padding: 120px 0 90px; }
  .hero-shape { left: 50%; translate: -50% 0; }
}
@media (max-width: 768px) {
  .nav-links { transform: none; opacity: 0; visibility: hidden; pointer-events: none; translate: 0 -10px; align-items: center; gap: 22px; padding: 36px 0;
    transition: opacity 0.3s, translate 0.3s, visibility 0.3s; }
  .nav-links.active { transform: none; opacity: 1; visibility: visible; pointer-events: auto; translate: 0 0; }
  .hero-actions { flex-wrap: wrap; justify-content: center; }
  .hero-actions .btn { flex: 1 1 150px; text-align: center; }
  .scroll-hint { display: none; }
  .about-stats { flex-direction: row; flex-wrap: wrap; justify-content: space-around; }
}
@media (max-width: 480px) {
  .contact-form { padding: 24px; }
  .code-illustration { padding: 22px; border-radius: 22px; }
  .founder-card, .service-card { padding: 30px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}


/* =========================================
   v3: floating liquid-glass header, Instagram, image folders, backdrop
   ========================================= */
:root { --ig-grad: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }

/* Floating liquid glass header */
.navbar { top: 14px; left: 50%; translate: -50% 0; width: min(1120px, calc(100% - 24px)); padding: 6px 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.8) brightness(1.12); backdrop-filter: blur(10px) saturate(1.8) brightness(1.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.1), inset 0 0 24px rgba(255, 255, 255, 0.07), 0 12px 32px rgba(0, 0, 0, 0.4); }
.navbar.liquid { backdrop-filter: url(#og-glass) blur(1.5px) saturate(1.9) brightness(1.15); }
.navbar::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.12)); }
.navbar.scrolled { padding: 6px 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 0 24px rgba(255, 255, 255, 0.07), 0 12px 32px rgba(0, 0, 0, 0.5); }
.nav-container { padding: 0 20px 0 14px; position: relative; }
.logo-img { width: 54px; height: 54px; }
.nav-links { gap: 26px; }
.nav-links a { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.nav-ig { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.25rem;
  background: var(--ig-grad); box-shadow: 0 4px 14px rgba(214, 41, 118, 0.5); transition: transform 0.25s; }
.nav-ig:hover { transform: scale(1.12) rotate(-6deg); }

/* Instagram: hero pill */
.ig-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 22px; border-radius: 50px; color: #fff; font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.08); border: 1px solid transparent; backdrop-filter: blur(10px);
  background-image: linear-gradient(rgba(14, 10, 24, 0.75), rgba(14, 10, 24, 0.75)), var(--ig-grad); background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 0 24px rgba(214, 41, 118, 0.35); transition: transform 0.25s, box-shadow 0.25s; }
.ig-pill i { font-size: 1.3rem; background: var(--ig-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ig-pill:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(214, 41, 118, 0.6); }
.hero-content > :nth-child(5) { animation-delay: 0.75s; }

/* Instagram: big feature band */
.follow { padding: clamp(40px, 7vw, 70px) 0; }
.ig-feature { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); padding: clamp(22px, 3.5vw, 38px); border-radius: 28px; color: #fff; position: relative; overflow: hidden;
  background: var(--ig-grad); background-size: 200% 200%; animation: igflow 9s ease infinite; box-shadow: 0 20px 60px rgba(214, 41, 118, 0.35); transition: transform 0.3s, box-shadow 0.3s; }
.ig-feature::before { content: '\f16d'; font-family: 'Font Awesome 6 Brands'; position: absolute; right: -30px; top: 50%; translate: 0 -50%; font-size: 14rem; color: rgba(255, 255, 255, 0.15); pointer-events: none; }
.ig-feature:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 28px 70px rgba(214, 41, 118, 0.55); }
.ig-badge { flex: none; width: clamp(64px, 9vw, 92px); aspect-ratio: 1; border-radius: 24px; display: flex; align-items: center; justify-content: center;
  font-size: clamp(2.2rem, 5vw, 3.4rem); background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.45); backdrop-filter: blur(8px); }
.ig-text { display: flex; flex-direction: column; flex: 1; min-width: 0; position: relative; }
.ig-text small { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.9; }
.ig-text strong { font-size: clamp(1.5rem, 4.4vw, 2.6rem); font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25); }
.ig-text em { font-style: normal; opacity: 0.92; margin-top: 4px; }
.ig-cta { flex: none; position: relative; padding: 14px 28px; border-radius: 50px; background: #fff; color: #c2185b; font-weight: 700; white-space: nowrap; }
.ig-cta i { margin-left: 6px; transition: translate 0.25s; } .ig-feature:hover .ig-cta i { translate: 5px 0; }
@keyframes igflow { 50% { background-position: 100% 50%; } }
@media (max-width: 700px) { .ig-feature { flex-direction: column; text-align: center; } .ig-feature::before { font-size: 9rem; right: -20px; } }

/* Brand icons + contact rows */
.ico-ig { background: var(--ig-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.founder-contact i.ico-wa, .ico-wa { color: #25D366; }
.founder-contact i.ico-ig { color: transparent; }
.founder-contact p { padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); transition: background 0.25s; }
.founder-contact p:hover { background: rgba(255, 255, 255, 0.09); }
.founder-contact i { font-size: 1.5rem; width: 28px; }
.founder-contact a:hover, .info-item a:hover { color: var(--primary); }
.info-item p { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.info-item p i { font-size: 1.3rem; width: 24px; text-align: center; }
.info-item strong { color: var(--text-dark); }
.footer-social a { width: 46px; height: 46px; }
.footer-social .fs-main { background: var(--ig-grad); color: #fff; border: 0; box-shadow: 0 6px 20px rgba(214, 41, 118, 0.45); }
.form-note { margin-top: 12px; font-size: 0.85rem; color: var(--text-light); text-align: center; }
.form-note.ok { color: #25D366; }
.btn-full i { margin-right: 6px; }

/* Uploaded pictures */
.founder-avatar { position: relative; overflow: hidden; }
.founder-avatar::before { content: attr(data-initials); }
.founder-avatar.has-img::before { content: none; }
.founder-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.image-placeholder .team-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.image-placeholder:has(.team-img:not([hidden]))::before { content: none; }

/* Site backdrop (continues after the hero) */
.site-backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: calc(var(--hp, 0) * 1); background: #050505 var(--bd, none) center / cover no-repeat; }
.site-backdrop:not(.custom) { filter: blur(22px) saturate(1.2); scale: 1.08; }
.site-backdrop::after { content: ''; position: absolute; inset: 0; background: rgba(8, 8, 16, 0.62); }
.about, .services, .founders, .contact { background-color: rgba(10, 10, 14, 0.5); }
.footer { background-color: rgba(14, 14, 18, 0.82); }
.service-card, .founder-card, .contact-form { background: rgba(14, 14, 20, 0.6); backdrop-filter: blur(14px); }
.hero-overlay { background: radial-gradient(ellipse at 30% 40%, rgba(8, 8, 26, 0.35), rgba(5, 5, 16, 0.78) 80%), linear-gradient(to bottom, rgba(5, 5, 16, 0.35), transparent 30%, transparent 75%, rgba(10, 10, 14, 0.6)); }

/* Mobile floating menu */
@media (max-width: 768px) {
  .navbar { border-radius: 32px; }
  .nav-ig { margin-left: auto; margin-right: 14px; }
  .nav-links { position: absolute; top: calc(100% + 10px); left: 0; width: 100%; border-radius: 26px; padding: 28px 0; gap: 20px;
    background: rgba(18, 18, 26, 0.72); backdrop-filter: blur(22px) saturate(1.6); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
}

/* v4: footer without logo, labelled social groups, footer image folder, responsive polish */
.footer { position: relative; overflow: hidden; isolation: isolate; }
.footer-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; }
.footer.has-bg::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(8, 8, 14, 0.7), rgba(8, 8, 14, 0.85)); }
.footer-social { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px; }
.fs-group { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 18px; min-width: 0; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); }
.fs-name { font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dark); }
.fs-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer-social .fs-icons a { width: auto; height: auto; border-radius: 50px; padding: 9px 16px; gap: 8px; font-size: 0.9rem; font-weight: 600; color: #fff; border: 0; }
.footer-social .fs-icons a i { font-size: 1.25rem; }
.footer-social .fs-ig { background: var(--ig-grad); }
.footer-social .fs-wa { background: #25D366; color: #07210f; }
.footer-social .fs-icons a:hover { color: #fff; transform: translateY(-3px); filter: brightness(1.1); }
.footer-social .fs-wa:hover { color: #07210f; }
.footer-social .fs-main { box-shadow: 0 6px 20px rgba(214, 41, 118, 0.45); }
.footer-content { margin-bottom: 30px; }
.footer-text { margin-bottom: 28px; }

/* Responsive */
html { -webkit-text-size-adjust: 100%; }
body, .hero, section { max-width: 100%; }
.hero-container, .about-content, .contact-content, .founders-grid > *, .contact-info, .contact-form { min-width: 0; }
.founder-contact p { flex-wrap: wrap; text-align: center; }
.founders-grid { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.form-group input, .form-group textarea { font-size: 16px; } /* stops iOS zoom on focus */
@media (max-width: 992px) { .ig-pill { align-self: center; } .nav-links { gap: 18px; } }
@media (max-width: 768px) {
  .navbar { width: calc(100% - 16px); top: 8px; }
  .logo-img { width: 44px; height: 44px; }
  .nav-container { padding: 0 14px 0 10px; }
  .nav-links { max-height: calc(100svh - 110px); overflow-y: auto; }
  .fs-group { flex: 1 1 100%; }
  .contact-form { padding: 26px; }
}
@media (max-width: 480px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .ig-pill { font-size: 0.85rem; padding: 9px 16px; }
  .ig-cta { width: 100%; text-align: center; }
  .footer-social .fs-icons a { padding: 9px 13px; }
  .founder-contact p { padding: 9px 12px; font-size: 0.9rem; }
}
@media (max-width: 360px) { .hero-title { font-size: 1.9rem; } .section-title { font-size: 1.6rem; } }
