/* ==========================================================================
   KALLA SOFTWARE - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* @import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Syne:wght@700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Reset & Variables */
:root {
    --bg-base: #030712;
    --bg-surface: rgba(15, 23, 42, 0.45);
    --bg-surface-hover: rgba(15, 23, 42, 0.7);
    
    /* Cyber Platinum & Indigo Theme */
    --accent-mint: #06b6d4; /* Aurora Cyan */
    --accent-mint-glow: rgba(6, 182, 212, 0.25);
    --accent-blue: #6366f1; /* Electric Indigo */
    --accent-blue-glow: rgba(99, 102, 241, 0.25);
    --accent-purple: #8b5cf6; /* Deep Violet */
    --accent-purple-glow: rgba(139, 92, 246, 0.25);
    
    /* Text Palette */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Borders & Glass */
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-active: rgba(255, 255, 255, 0.35);
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

html {
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
}

/* ==========================================================================
   BACKGROUND ANIMATION (DYNAMIC BLOBS)
   ========================================================================== */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #080c1d 0%, #030712 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.18;
    mix-blend-mode: screen;
    pointer-events: none;
}

.blob-mint {
    top: -10%;
    right: 10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-mint) 0%, transparent 80%);
    animation: float-blob-1 25s infinite alternate ease-in-out;
}

.blob-blue {
    bottom: -10%;
    left: 5%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 80%);
    animation: float-blob-2 30s infinite alternate ease-in-out;
}

.blob-purple {
    top: 40%;
    left: 30%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 80%);
    animation: float-blob-3 20s infinite alternate ease-in-out;
}

@keyframes float-blob-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 80px) scale(1.1); }
}

@keyframes float-blob-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, -100px) scale(1.2); }
}

@keyframes float-blob-3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-60px, -60px) scale(0.9); }
}

/* Noise Overlay for Texture */
.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.02;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 8%;
    background: rgba(6, 9, 8, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 1rem 8%;
    background: rgba(6, 9, 8, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.05);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(to right, var(--text-primary) 40%, var(--accent-mint) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-mint);
    transition: var(--transition-fast);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover {
    background: var(--text-primary);
    color: var(--bg-base);
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding: 8.5rem 8% 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-grid-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    text-align: left;
}

.hero-left-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

/* Glass Showcase Mockup */
.hero-glass-showcase {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-glow-orb {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 0;
    animation: pulse-glow 8s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 0.9; }
}

.showcase-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(25px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                inset 0 0 15px rgba(255, 255, 255, 0.02);
    position: absolute;
    width: 280px;
    transition: var(--transition-smooth);
    z-index: 2;
}

.showcase-card-1 {
    transform: rotate(-6deg) translate(-40px, -50px);
}

.showcase-card-2 {
    transform: rotate(8deg) translate(50px, 50px);
    border-color: rgba(99, 102, 241, 0.2);
}

.showcase-card:hover {
    z-index: 5;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.showcase-card-1:hover {
    transform: rotate(-3deg) translate(-40px, -60px) scale(1.03);
}

.showcase-card-2:hover {
    transform: rotate(4deg) translate(50px, 40px) scale(1.03);
}

.showcase-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.showcase-badge {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-mint);
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-mint);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-mint);
    animation: pulse-active 1.5s infinite ease-in-out;
}

@keyframes pulse-active {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.showcase-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.showcase-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
    margin-bottom: 1rem;
}

.showcase-bar-chart .bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent-mint) 0%, var(--accent-blue) 100%);
    border-radius: 4px;
    transition: height 0.5s ease;
}

.showcase-val {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.showcase-wallet {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.wallet-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.wallet-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

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

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

.hero-tag {
    background: rgba(0, 230, 153, 0.08);
    border: 1px solid rgba(0, 230, 153, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-mint);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 5rem;
    line-height: 1.05;
    font-weight: 800;
    max-width: 950px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(6, 182, 212, 0.1);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.btn-primary {
    text-decoration: none;
    padding: 1rem 2.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-blue) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.25);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary {
    text-decoration: none;
    padding: 1rem 2.25rem;
    border-radius: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

/* Stats Counter Row */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2rem 5rem;
    border-radius: 24px;
    backdrop-filter: blur(25px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-mint) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   BRAND STORY & IDENTITY (THE BRAND)
   ========================================================================== */
.section {
    padding: 8rem 8%;
    position: relative;
    overflow-x: clip;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-mint);
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.05rem;
}

/* Brand Grid Layout */
.brand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-visual {
    background: rgba(10, 15, 30, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 3rem;
    backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    height: 100%;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.02);
}

.brand-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 25px 25px, 25px 25px;
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
}

.brand-symbol-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 230, 153, 0.15) 0%, transparent 70%);
    border: 1px dashed rgba(0, 230, 153, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate-dashed 20s linear infinite;
}

@keyframes rotate-dashed {
    100% { transform: rotate(360deg); }
}

.brand-symbol-inner {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 230, 153, 0.3);
    animation: pulse-glow 3s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
    0% { transform: scale(1); box-shadow: 0 10px 30px rgba(0, 230, 153, 0.3); }
    100% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(0, 230, 153, 0.45); }
}

.brand-values {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.val-pill {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 16px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.brand-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story-card {
    background: transparent;
}

.story-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.mv-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    backdrop-filter: blur(25px);
    transition: var(--transition-smooth);
}

.mv-card:hover {
    border-color: var(--accent-mint);
    transform: translateY(-3px);
}

.mv-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-mint);
}

.mv-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   PORTFOLIO SHOWCASE
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: var(--bg-surface-hover);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-base);
    border-color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(380px, auto);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Bento Sizing rules */
.normal-card {
    grid-column: span 1;
    grid-row: span 1;
}
.large-card {
    grid-column: span 2;
    grid-row: span 1;
}
.tall-card {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 780px;
}

/* Card glassmorphism details */
.project-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    backdrop-filter: blur(25px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
                inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.project-card.health-card:hover {
    border-color: var(--accent-mint);
    box-shadow: 0 20px 40px rgba(0, 230, 153, 0.05), 
                0 0 30px rgba(0, 230, 153, 0.02);
}

.project-card.ecommerce-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.05), 
                0 0 30px rgba(0, 102, 255, 0.02);
}

.project-card.custom-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(157, 78, 221, 0.05), 
                0 0 30px rgba(157, 78, 221, 0.02);
}

/* Card Image Styles - Glass Placeholder Redesign */
.card-img-container {
    width: 100%;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    position: relative;
    background: rgba(10, 15, 30, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.placeholder-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    filter: blur(15px);
    z-index: 1;
    transition: var(--transition-smooth);
}

.project-card.ecommerce-card .placeholder-glow {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.project-card.custom-card .placeholder-glow {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.placeholder-grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 15px 15px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    z-index: 0;
    transition: var(--transition-smooth);
}

.placeholder-icon {
    position: relative;
    z-index: 2;
    transform: scale(1.4);
    opacity: 0.55;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
}

.project-card:hover .card-img-container {
    background: rgba(10, 15, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.project-card:hover .placeholder-glow {
    transform: scale(1.4);
    opacity: 0.8;
}

.project-card:hover .placeholder-icon {
    transform: scale(1.6);
    opacity: 0.95;
    color: var(--text-primary);
}

/* Specific Hover accent colors for icons */
.project-card.health-card:hover .placeholder-icon {
    color: var(--accent-mint);
    filter: drop-shadow(0 0 8px var(--accent-mint-glow));
}

.project-card.ecommerce-card:hover .placeholder-icon {
    color: var(--accent-blue);
    filter: drop-shadow(0 0 8px var(--accent-blue-glow));
}

.project-card.custom-card:hover .placeholder-icon {
    color: var(--accent-purple);
    filter: drop-shadow(0 0 8px var(--accent-purple-glow));
}

/* Card Header */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-cat-badge {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
}

.health-badge {
    background: rgba(0, 230, 153, 0.08);
    border: 1px solid rgba(0, 230, 153, 0.2);
    color: var(--accent-mint);
}

.ecommerce-badge {
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    color: #4da6ff;
}

.custom-badge {
    background: rgba(157, 78, 221, 0.08);
    border: 1px solid rgba(157, 78, 221, 0.2);
    color: #c77dff;
}

.card-icon {
    color: var(--text-muted);
}

/* Card Body */
.card-body {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Card Tech Stack list */
.card-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.tech-tag {
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    color: var(--text-muted);
}

/* Card Bottom */
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.card-price {
    display: flex;
    flex-direction: column;
}

.price-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-link-btn {
    background: none;
    border: none;
    color: var(--accent-mint);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-fast);
}

.card-link-btn:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* ==========================================================================
   DETAILED PROJECT MODAL (OVERLAY)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 5, 0.85);
    backdrop-filter: blur(25px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 2rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(7, 11, 20, 0.98);
    border: 1px solid var(--border-hover);
    border-radius: 28px;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--text-primary);
    color: var(--bg-base);
    transform: rotate(90deg);
}

/* Modal Banner Styles */
.modal-banner-container {
    width: 100%;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
}

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

/* Modal Body Design */
.modal-body {
    padding: 4rem;
}

.modal-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-mint) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.modal-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3.5rem;
}

.modal-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.modal-section-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-desc-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.modal-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.modal-features-list li svg {
    color: var(--accent-mint);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Modal Right Panel (Purchase) */
.modal-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pricing-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.pricing-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.pricing-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-cost {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 0.25rem;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pricing-features li svg {
    color: var(--accent-mint);
}

.btn-purchase-action {
    width: 100%;
    background: var(--text-primary);
    color: var(--bg-base);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-purchase-action:hover {
    background: var(--accent-mint);
    color: #040806;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-mint-glow);
}

/* ==========================================================================
   CONTACT & INQUIRY SECTION
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 4rem;
    backdrop-filter: blur(25px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-mint);
}

.contact-method-details h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-method-details p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group-full {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-mint);
    box-shadow: 0 0 10px rgba(0, 230, 153, 0.15);
}

.form-control.error {
    border-color: #ff4d4d;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.15);
}

select.form-control option {
    background-color: #0c110f;
    color: var(--text-primary);
}

textarea.form-control {
    resize: none;
    min-height: 120px;
}

.form-error-msg {
    color: #ff4d4d;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error-msg.active {
    display: block;
}

.btn-form-submit {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-blue) 100%);
    border: none;
    padding: 1.1rem;
    border-radius: 12px;
    color: #040806;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 230, 153, 0.2);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 230, 153, 0.35);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: rgba(12, 17, 15, 0.95);
    border: 1px solid var(--accent-mint);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 230, 153, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    color: var(--accent-mint);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 8% 2rem;
    background: rgba(6, 9, 8, 0.95);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-mint);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN RULES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .brand-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.25rem 5%;
    }
    
    .navbar.scrolled {
        padding: 1rem 5%;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(3, 7, 18, 0.98);
        backdrop-filter: blur(25px);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition-smooth);
        z-index: 99;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .section {
        padding: 4.5rem 5% 2.5rem !important;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Hide hero right column on mobile — prevents horizontal overflow */
    .hero-right-column {
        display: none !important;
    }

    .hero-grid-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .hero-left-column {
        align-items: flex-start;
    }

    .hero {
        padding-top: 7rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-num {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .large-card, .tall-card, .normal-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: auto !important;
    }

    /* Brand visual should not overflow — use clip instead */
    .brand-visual {
        min-height: 320px;
        /* Don't use overflow:hidden here — it breaks constellation position:absolute children */
    }

    /* Contain the constellation without clipping it */
    .atomic-brand-container {
        transform: scale(0.75);
        margin: -2rem auto;
        transform-origin: center top;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-container {
        padding: 2rem 1.25rem !important;
        border-radius: 20px !important;
        gap: 2rem !important;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group-full, .btn-form-submit {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .faq-trigger {
        padding: 1.25rem 1.5rem;
        font-size: 0.95rem;
    }

    .faq-content {
        padding: 0 1.5rem;
    }

    .pricing-cost {
        font-size: 1.4rem;
    }

    /* Process bento grid — single column on mobile */
    .process-bento-grid {
        grid-template-columns: 1fr !important;
    }

    .mission-vision {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-desc {
        font-size: 0.95rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .hero-actions .btn-primary, .hero-actions .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.25rem;
    }
    .atomic-brand-container {
        width: 270px;
        height: 270px;
        transform: none;
        margin: 0 auto;
    }
    .atomic-brand-container .tech-ring-3 {
        width: 230px;
        height: 230px;
    }
    .atomic-brand-container .tech-ring-2 {
        width: 175px;
        height: 175px;
    }
    .atomic-brand-container .tech-ring-1 {
        width: 120px;
        height: 120px;
    }
    .atomic-brand-container .atomic-core-disc {
        width: 76px;
        height: 76px;
    }
    .atomic-brand-container .atomic-core-disc svg {
        width: 32px;
        height: 32px;
    }
    .atomic-brand-container .constellation-node {
        padding: 0.4rem 0.65rem !important;
        min-width: 125px !important;
        gap: 0.4rem !important;
    }
    .atomic-brand-container .node-icon {
        width: 20px !important;
        height: 20px !important;
    }
    .atomic-brand-container .node-icon svg {
        width: 10px !important;
        height: 10px !important;
    }
    .atomic-brand-container .node-label {
        font-size: 0.7rem !important;
    }
    .atomic-brand-container .node-subtitle {
        font-size: 0.52rem !important;
    }
    .node-1 {
        left: -10% !important;
        top: 2% !important;
    }
    .node-2 {
        right: -12% !important;
        bottom: 8% !important;
    }
    .node-3 {
        right: -14% !important;
        top: 22% !important;
    }
    /* Contain the constellation within its parent */
    .brand-visual {
        padding: 1rem;
        overflow: hidden;
    }
    .section-title {
        font-size: 1.8rem;
    }
    /* Modal overlay padding shrink */
    .modal-overlay {
        padding: 0.75rem;
    }
    .modal-content {
        border-radius: 18px;
    }
}

@media (max-width: 360px) {
    .atomic-brand-container {
        width: 240px;
        height: 240px;
        transform: none;
        margin: 0 auto;
    }
    .atomic-brand-container .tech-ring-3 {
        width: 200px;
        height: 200px;
    }
    .atomic-brand-container .tech-ring-2 {
        width: 155px;
        height: 155px;
    }
    .atomic-brand-container .tech-ring-1 {
        width: 100px;
        height: 100px;
    }
    .atomic-brand-container .atomic-core-disc {
        width: 68px;
        height: 68px;
    }
    .atomic-brand-container .atomic-core-disc svg {
        width: 28px;
        height: 28px;
    }
    .atomic-brand-container .constellation-node {
        padding: 0.35rem 0.55rem !important;
        min-width: 110px !important;
        gap: 0.35rem !important;
    }
    .atomic-brand-container .node-icon {
        width: 16px !important;
        height: 16px !important;
    }
    .atomic-brand-container .node-icon svg {
        width: 8px !important;
        height: 8px !important;
    }
    .atomic-brand-container .node-label {
        font-size: 0.65rem !important;
    }
    .atomic-brand-container .node-subtitle {
        font-size: 0.48rem !important;
    }
    .node-1 {
        left: -12% !important;
        top: 0% !important;
    }
    .node-2 {
        right: -15% !important;
        bottom: 5% !important;
    }
    .node-3 {
        right: -16% !important;
        top: 20% !important;
    }
}

/* ==========================================================================
   BRAND VISUAL REDESIGN (ATOMIC CONSTELLATION)
   ========================================================================== */
.atomic-brand-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.glowing-core-orb {
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 0;
    animation: pulse-core 4s infinite alternate ease-in-out;
}

@keyframes pulse-core {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

.atomic-core-disc {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    position: relative;
}

.core-inner-glow {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 80%);
    z-index: -1;
    animation: pulse-core 2s infinite alternate ease-in-out;
}

@keyframes pulse-core {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}

.atomic-brand-container:hover .atomic-core-disc {
    border-color: var(--accent-mint);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.25), inset 0 0 15px rgba(6, 182, 212, 0.1);
    transform: scale(1.05);
}

/* SVG Laser Connections */
.constellation-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.glow-laser {
    stroke-linecap: round;
    stroke-width: 1.5px;
    stroke-dasharray: 6 12;
    animation: dash-laser 6s linear infinite;
    opacity: 0.2;
    transition: var(--transition-smooth);
}

@keyframes dash-laser {
    to { stroke-dashoffset: -120; }
}

.laser-mint { stroke: var(--accent-mint); filter: drop-shadow(0 0 3px var(--accent-mint)); }
.laser-blue { stroke: var(--accent-blue); filter: drop-shadow(0 0 3px var(--accent-blue)); }
.laser-purple { stroke: var(--accent-purple); filter: drop-shadow(0 0 3px var(--accent-purple)); }

.atomic-brand-container:hover .glow-laser {
    opacity: 0.65;
    stroke-width: 2px;
    animation-duration: 3s;
}

/* Nested Orbiting Tech Rings */
.tech-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 1;
}

.tech-ring-1 {
    width: 140px;
    height: 140px;
    border-style: dotted;
    animation: rotate-clockwise 20s linear infinite;
}

.tech-ring-2 {
    width: 210px;
    height: 210px;
    border-color: rgba(6, 182, 212, 0.1);
    animation: rotate-counter 30s linear infinite;
}

.tech-ring-3 {
    width: 280px;
    height: 280px;
    border-style: dashed;
    animation: rotate-clockwise 40s linear infinite;
}

@keyframes rotate-clockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-counter {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Constellation Nodes Redesign - Premium High-Tech Cards */
.constellation-node {
    position: absolute;
    background: rgba(10, 15, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 0.65rem 1.1rem;
    border-radius: 16px;
    color: var(--text-primary);
    z-index: 4;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45),
                inset 0 0 15px rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 175px;
}

.node-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-mint { color: var(--accent-mint); border-color: rgba(6, 182, 212, 0.25); background: rgba(6, 182, 212, 0.05); }
.icon-blue { color: var(--accent-blue); border-color: rgba(99, 102, 241, 0.25); background: rgba(99, 102, 241, 0.05); }
.icon-purple { color: var(--accent-purple); border-color: rgba(139, 92, 246, 0.25); background: rgba(139, 92, 246, 0.05); }

.node-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.node-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.node-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 0.1rem;
    white-space: nowrap;
}

/* Glowing borders */
.border-glow-mint { border-color: rgba(6, 182, 212, 0.2); }
.border-glow-blue { border-color: rgba(99, 102, 241, 0.2); }
.border-glow-purple { border-color: rgba(139, 92, 246, 0.2); }

/* Radar Pulse Rings */
.pulse-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1.5px solid rgba(6, 182, 212, 0.35);
    animation: radar-pulse 3s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    pointer-events: none;
    z-index: 1;
}

.pulse-ring-slow {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1.5px solid rgba(139, 92, 246, 0.25);
    animation: radar-pulse 4.5s infinite linear;
    pointer-events: none;
    z-index: 1;
}

@keyframes radar-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* Floating Animations for Constellation Nodes */
@keyframes float-node-1 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes float-node-2 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(8px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes float-node-3 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-9px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Position nodes diagonally with floating animations */
.node-1 {
    top: 5%;
    left: -5%;
    animation: float-node-1 5s ease-in-out infinite;
}

.node-2 {
    bottom: 10%;
    right: -10%;
    animation: float-node-2 6.5s ease-in-out infinite;
}

.node-3 {
    top: 25%;
    right: -15%;
    animation: float-node-3 8s ease-in-out infinite;
}

/* Hover effects */
.atomic-brand-container:hover .node-1 {
    border-color: var(--accent-mint);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.25), 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px) scale(1.05) !important;
}

.atomic-brand-container:hover .node-2 {
    border-color: var(--accent-blue);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.25), 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px) scale(1.05) !important;
}

.atomic-brand-container:hover .node-3 {
    border-color: var(--accent-purple);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.25), 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px) scale(1.05) !important;
}


/* ==========================================================================
   PROCESS BENTO GRID REDESIGN
   ========================================================================== */
.process-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.process-bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.25rem;
    backdrop-filter: blur(25px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.01);
}

.process-bento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.process-bento-step {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-mint);
    opacity: 0.85;
}

.process-bento-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-mint);
}

.process-bento-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.process-bento-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Glow line at the card bottom */
.process-glow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.4s ease;
}

/* Bento Card Hover Effects */
.process-bento-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.process-bento-card:hover .process-glow-line {
    width: 100%;
}

.process-bento-card:hover .process-bento-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Responsive Process Bento */
@media (max-width: 1024px) {
    .process-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process-bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   CUSTOM CURSOR & SCROLLBAR
   ========================================================================== */
/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #040806;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-mint) 0%, var(--accent-blue) 100%);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-mint);
}

/* Custom Interactive Cursor (Hide default cursor on large screens) */
@media (min-width: 1025px) {
    body {
        cursor: none;
    }
    a, button, select, input, textarea, .filter-btn, .project-card, .timeline-badge, .logo {
        cursor: none !important;
    }
    
    .custom-cursor-dot {
        width: 8px;
        height: 8px;
        background-color: var(--accent-mint);
        position: fixed;
        top: 0;
        left: 0;
        border-radius: 50%;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        transition: width 0.2s ease-in-out, height 0.2s ease-in-out;
    }
    
    .custom-cursor-outline {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(0, 230, 153, 0.4);
        position: fixed;
        top: 0;
        left: 0;
        border-radius: 50%;
        pointer-events: none;
        z-index: 99998;
        transform: translate(-50%, -50%);
        transition: transform 0.08s cubic-bezier(0.25, 1, 0.5, 1), 
                    width 0.2s ease, 
                    height 0.2s ease, 
                    background-color 0.2s ease, 
                    border-color 0.2s ease;
    }
    
    /* Cursor Hover State */
    .custom-cursor-dot.hovered {
        width: 4px;
        height: 4px;
        background-color: #ffffff;
    }
    
    .custom-cursor-outline.hovered {
        width: 60px;
        height: 60px;
        background-color: rgba(0, 230, 153, 0.08);
        border-color: var(--accent-mint);
        box-shadow: 0 0 15px rgba(0, 230, 153, 0.2);
    }
}

/* Responsive adjustments for Hero Grid and layouts */
@media (max-width: 1024px) {
    .hero-grid-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-left-column {
        align-items: center;
    }
    .hero-glass-showcase {
        height: 320px;
    }
    .showcase-card {
        width: 250px;
    }
    .showcase-card-1 {
        transform: rotate(-4deg) translate(-30px, -20px);
    }
    .showcase-card-2 {
        transform: rotate(6deg) translate(40px, 40px);
    }
    .showcase-card-1:hover {
        transform: rotate(-2deg) translate(-30px, -25px) scale(1.03);
    }
    .showcase-card-2:hover {
        transform: rotate(3deg) translate(40px, 30px) scale(1.03);
    }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.25rem;
    backdrop-filter: blur(25px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
                inset 0 0 15px rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.6s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.cookie-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-content a {
    color: var(--accent-mint);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted var(--accent-mint);
}

.cookie-content a:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-cookie-accept, .btn-cookie-decline {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-cookie-accept {
    background: linear-gradient(135deg, var(--accent-mint) 0%, var(--accent-blue) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.25);
}

.btn-cookie-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.35);
}

.btn-cookie-decline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-cookie-decline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

@media (max-width: 576px) {
    .cookie-banner {
        left: 20px;
        right: 20px;
        max-width: none;
        bottom: 20px;
    }
}

/* ==========================================================================
   FAQ SECTION (ACCORDION STYLING)
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.faq-arrow {
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 2rem;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s ease-in-out,
                padding 0.4s ease;
}

.faq-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* FAQ Active Hover States */
.faq-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-surface-hover);
}

.faq-card.active {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.05);
}

.faq-card.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent-mint);
}

/* ==========================================================================
   TECH STACK MARQUEE BAND
   ========================================================================== */
.tech-band {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: relative;
    z-index: 5;
}

.tech-band::before,
.tech-band::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}
.tech-band::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-base) 0%, transparent 100%);
}
.tech-band::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-base) 0%, transparent 100%);
}

.tech-band-inner {
    display: flex;
    width: max-content;
    animation: tech-marquee 40s linear infinite;
}

.tech-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 0.5rem;
}

.tech-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.tech-chip:hover {
    color: var(--accent-mint);
    border-color: rgba(6, 182, 212, 0.35);
    background: rgba(6, 182, 212, 0.07);
}

@keyframes tech-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   FILTER BADGE COUNTER
   ========================================================================== */
.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.5rem;
    transition: var(--transition-fast);
}

.filter-btn.active .filter-badge {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent-mint);
}

/* ==========================================================================
   CONTACT INFO CARDS (REDESIGNED)
   ========================================================================== */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
}

.contact-info-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.12);
    color: var(--accent-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-info-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   FOOTER SOCIAL LINKS
   ========================================================================== */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.35);
    color: var(--accent-mint);
    transform: translateY(-3px);
}

/* Mobile overrides for new elements */
@media (max-width: 768px) {
    .tech-band::before,
    .tech-band::after {
        width: 60px;
    }
    .contact-info-cards {
        gap: 0.75rem;
    }
}
