/* ── VARIABLES ── */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #181823;
    --bg-card-hover: #1e1e2d;
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --accent-secondary: #22d3ee;
    --text-primary: #f1f1f4;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(99, 102, 241, 0.3);
    --gradient-1: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
    --gradient-2: linear-gradient(135deg, #22d3ee, #6366f1);
    --radius: 16px;
    --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── NOISE TEXTURE ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ── SKIP TO CONTENT ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    z-index: 200;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* ── BACKGROUND ORBS ── */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.bg-orb-1 {
    width: 600px; height: 600px;
    background: rgba(99, 102, 241, 0.08);
    top: -200px; right: -100px;
}
.bg-orb-2 {
    width: 500px; height: 500px;
    background: rgba(34, 211, 238, 0.05);
    bottom: 20%; left: -150px;
}
.bg-orb-3 {
    width: 400px; height: 400px;
    background: rgba(139, 92, 246, 0.06);
    top: 50%; right: -100px;
}

/* ── CONTAINER ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ── NAV ── */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex; gap: 32px; list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s !important;
}
.nav-cta:hover {
    box-shadow: 0 0 24px var(--accent-glow);
    transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── MOBILE MENU ── */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    list-style: none;
}
.mobile-menu.active {
    display: flex;
}
.mobile-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s;
}
.mobile-menu a:hover {
    color: var(--accent);
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    text-align: center;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}
.hero-badge .pulse {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
.hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}
.hero h1 .gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s ease 0.4s both;
    justify-content: center;
}
.stat-number {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.05);
}

/* ── SECTIONS SHARED ── */
section {
    padding: 100px 0;
}
.section-label {
    font-family: 'Sora', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 16px;
    text-align: center;
}
.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    line-height: 1.15;
    text-align: center;
}
.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.05rem;
    margin-bottom: 56px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ── ABOUT / FOUNDERS ── */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.founder-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    transition: all 0.3s ease;
}
.founder-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 30px var(--accent-glow);
}
.founder-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    overflow: hidden;
}
.founder-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.founder-role {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 16px;
}
.founder-bio {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.founder-card .social-link {
    margin: 0 auto;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}
.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(99, 102, 241, 0.06);
    transform: translateY(-2px);
}
.social-link svg {
    width: 20px;
    height: 20px;
}

/* ── PROJECTS ── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}
.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px var(--accent-glow);
}
.project-header {
    padding: 28px 28px 0;
    display: flex;
    align-items: start;
    justify-content: space-between;
}
.project-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.project-type-badge {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
}
.project-body {
    padding: 20px 28px 28px;
}
.project-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.project-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(99, 102, 241, 0.08);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.12);
}
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}
.project-link:hover { gap: 10px; }
.project-link svg {
    width: 16px; height: 16px;
    transition: transform 0.3s;
}
.project-link:hover svg { transform: translateX(2px); }

/* Card accent bars */
.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--radius) var(--radius) 0 0;
    opacity: 0;
    transition: opacity 0.4s;
}
.project-card:hover::before { opacity: 1; }
.card-cyber::before { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.card-industry::before { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.card-saas::before { background: linear-gradient(90deg, #22d3ee, #6366f1); }
.card-fitness::before { background: linear-gradient(90deg, #22c55e, #14b8a6); }
.card-corporate::before { background: linear-gradient(90deg, #3b82f6, #1d4ed8); }

.icon-cyber { background: rgba(99, 102, 241, 0.12); color: #818cf8; }
.icon-industry { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.icon-saas { background: rgba(34, 211, 238, 0.12); color: #22d3ee; }
.icon-fitness { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.icon-corporate { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }

/* ── SERVICES ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
}
.service-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}
.service-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── TECH STACK ── */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}
.tech-pill:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.06);
}

/* ── CTA / CONTACT ── */
.cta-section {
    text-align: center;
    padding: 100px 0;
}
.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 64px 48px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-1);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.15;
}
.cta-box h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    color: var(--text-muted);
    transition: color 0.3s;
}
.footer-social a:hover {
    color: var(--accent);
}
.footer-social svg {
    width: 20px;
    height: 20px;
}

/* ── BACK TO TOP ── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: all 0.3s ease;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(99, 102, 241, 0.06);
}
.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ── ANIMATIONS ── */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .projects-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 40px 24px; }
    .founders-grid { grid-template-columns: 1fr; }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
