/* ==========================================================================
   PORTFOLIO UNDER CONSTRUCTION - DESIGN SYSTEM & STYLES
   Author: Sindhuja
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Theme Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --bg-dark: #07090e;
    --bg-card: rgba(15, 21, 35, 0.75);
    --bg-card-hover: rgba(22, 30, 49, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(124, 92, 255, 0.35);
    
    /* Brand Accent Colors */
    --accent-primary: #7c5cff;
    --accent-cyan: #00f2fe;
    --accent-pink: #ff416c;
    --accent-gold: #ffb703;
    --accent-green: #10b981;

    /* Text Colors */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    /* Shadows & Glows */
    --shadow-card: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 18px 36px -18px rgba(124, 92, 255, 0.15);
    --glow-primary: 0 0 25px rgba(124, 92, 255, 0.4);
    --glow-cyan: 0 0 25px rgba(0, 242, 254, 0.4);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font-heading);
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

/* Hide custom cursor on touch devices */
@media (pointer: coarse) {
    .cursor-dot, .cursor-ring {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   3. Background Canvas & Ambient Lighting
   -------------------------------------------------------------------------- */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    transition: opacity var(--transition-slow);
}

.orb-1 {
    top: 10%;
    left: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-primary) 0%, rgba(124, 92, 255, 0) 70%);
    animation: floatGlow 12s infinite alternate ease-in-out;
}

.orb-2 {
    bottom: 10%;
    right: 15%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(0, 242, 254, 0) 70%);
    animation: floatGlow 16s infinite alternate-reverse ease-in-out;
}

.orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 65, 108, 0.2) 0%, rgba(255, 65, 108, 0) 70%);
    animation: pulseOrb 8s infinite alternate ease-in-out;
}

body.dim-ambient .ambient-glow {
    opacity: 0.15;
}

/* --------------------------------------------------------------------------
   4. Custom Cursor
   -------------------------------------------------------------------------- */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.15s, height 0.15s, background-color 0.15s;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(0, 242, 254, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
}

body.cursor-hover .cursor-dot {
    width: 14px;
    height: 14px;
    background-color: var(--accent-primary);
}

body.cursor-hover .cursor-ring {
    width: 50px;
    height: 50px;
    border-color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   5. Top Header Controls
   -------------------------------------------------------------------------- */
.top-bar {
    position: fixed;
    top: 1.5rem;
    left: 0;
    right: 0;
    width: min(1000px, 92%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.brand-logo {
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.brand-name {
    color: var(--text-main);
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.icon-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 92, 255, 0.25);
}

.icon-btn.active {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.15);
}

/* --------------------------------------------------------------------------
   6. Main Content Wrapper & Glass Card
   -------------------------------------------------------------------------- */
.main-wrapper {
    position: relative;
    z-index: 2;
    width: min(920px, 95%);
    margin: 4.5rem auto 2rem;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-normal);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-cyan), transparent);
}

/* --------------------------------------------------------------------------
   7. Live Status Pill Badge
   -------------------------------------------------------------------------- */
.status-badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-green);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGreen 2s infinite;
}

/* --------------------------------------------------------------------------
   8. Hero Headlines & Typography
   -------------------------------------------------------------------------- */
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 50%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glow-text {
    filter: drop-shadow(0 0 20px rgba(124, 92, 255, 0.35));
}

.hero-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.highlight-name {
    color: var(--text-main);
    font-weight: 600;
}

.typing-text {
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-weight: 600;
}

.cursor-blink {
    color: var(--accent-cyan);
    animation: blink 1s infinite;
    font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   9. Countdown Timer
   -------------------------------------------------------------------------- */
.countdown-section {
    margin-bottom: 3rem;
}

.section-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 680px;
    margin: 0 auto;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 100%;
    padding: 1.25rem 0.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: all var(--transition-fast);
}

.time-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.time-block:hover .time-card {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 20px rgba(124, 92, 255, 0.2);
}

.time-val {
    font-family: var(--font-mono);
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--text-main);
    display: block;
    line-height: 1;
}

.time-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-dim);
    margin-top: 0.6rem;
    letter-spacing: 1.5px;
}

/* --------------------------------------------------------------------------
   10. Progress Tracker
   -------------------------------------------------------------------------- */
.progress-section {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 3rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.progress-title {
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-title i {
    color: var(--accent-primary);
}

.progress-percentage {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.85rem;
}

.progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-pill);
    overflow: hidden;
    position: relative;
    margin-bottom: 1.2rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan));
    border-radius: var(--radius-pill);
    position: relative;
    transition: width 1.5s ease-out;
}

.progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: #ffffff;
    box-shadow: 0 0 10px #ffffff, 0 0 20px var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.75;
}

.milestones-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.milestone-tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
}

.milestone-tag.done {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.milestone-tag.active {
    background: rgba(0, 242, 254, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.25);
}

.milestone-tag.pending {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   11. Notification / Subscription Form
   -------------------------------------------------------------------------- */
.notify-section {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 3.5rem;
}

.notify-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--text-main);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.input-group:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(124, 92, 255, 0.25);
    background: rgba(255, 255, 255, 0.07);
}

.input-icon {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    width: 100%;
}

.email-input::placeholder {
    color: var(--text-dim);
}

.notify-btn {
    background: linear-gradient(135deg, var(--accent-primary), #6366f1);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(124, 92, 255, 0.3);
}

.notify-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 92, 255, 0.5);
    background: linear-gradient(135deg, #8b6eff, #4f46e5);
}

.notify-btn:active {
    transform: translateY(0);
}

.form-feedback {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    min-height: 1.4rem;
    transition: all var(--transition-fast);
}

.form-feedback.success {
    color: var(--accent-green);
}

.form-feedback.error {
    color: var(--accent-pink);
}

/* --------------------------------------------------------------------------
   12. Teaser / Sneak Peek Grid
   -------------------------------------------------------------------------- */
.teaser-section {
    margin-bottom: 3.5rem;
}

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

.teaser-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: left;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.teaser-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(124, 92, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(124, 92, 255, 0.12);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(124, 92, 255, 0.2);
}

.teaser-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

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

/* --------------------------------------------------------------------------
   13. Footer & Socials
   -------------------------------------------------------------------------- */
.card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.social-icon:hover {
    color: var(--text-main);
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(124, 92, 255, 0.4);
}

.copyright-text {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   14. Toast Notification
   -------------------------------------------------------------------------- */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--accent-cyan);
    color: var(--text-main);
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    backdrop-filter: blur(10px);
    animation: slideUp 0.3s ease-out, fadeOut 0.3s ease-in 2.7s forwards;
}

/* --------------------------------------------------------------------------
   15. Keyframes & Animations
   -------------------------------------------------------------------------- */
@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

@keyframes pulseOrb {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.4; }
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

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

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* --------------------------------------------------------------------------
   16. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 868px) {
    .glass-card {
        padding: 2.5rem 1.5rem;
    }

    .countdown-grid {
        gap: 0.6rem;
    }

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

    .input-group {
        flex-direction: column;
        padding: 0.75rem;
        border-radius: var(--radius-md);
        gap: 0.75rem;
    }

    .input-icon {
        display: none;
    }

    .email-input {
        width: 100%;
        text-align: center;
    }

    .notify-btn {
        width: 100%;
        justify-content: center;
    }

    .milestones-row {
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   17. Navigation Bar Styles
   -------------------------------------------------------------------------- */
.nav-links {
    display: flex;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.5rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(12px);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-primary), #6366f1);
    box-shadow: 0 4px 12px rgba(124, 92, 255, 0.35);
}

/* --------------------------------------------------------------------------
   18. Works / Projects Page Layout
   -------------------------------------------------------------------------- */
.wide-wrapper {
    width: min(1140px, 95%);
}

.projects-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.projects-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
    background: rgba(124, 92, 255, 0.15);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 260px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}

#project-search {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem 0.5rem 2.4rem;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    outline: none;
    transition: all var(--transition-fast);
}

#project-search:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(124, 92, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 92, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(124, 92, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.card-preview {
    height: 180px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-1 { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%); }
.preview-2 { background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #0d9488 100%); }
.preview-3 { background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%); }
.preview-4 { background: linear-gradient(135deg, #831843 0%, #be185d 50%, #db2777 100%); }
.preview-5 { background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%); }
.preview-6 { background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #d97706 100%); }

.graphic-badge {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.25);
    transition: transform var(--transition-normal);
}

.project-card:hover .graphic-badge {
    transform: scale(1.15) rotate(5deg);
    color: rgba(255, 255, 255, 0.4);
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 14, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.project-card:hover .preview-overlay {
    opacity: 1;
}

.category-pill {
    align-self: flex-start;
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
}

.view-details-btn {
    align-self: center;
    margin-bottom: 1.5rem;
    background: var(--accent-primary);
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(124, 92, 255, 0.4);
    transition: transform var(--transition-fast);
}

.view-details-btn:hover {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.project-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.55;
    flex: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
}

.card-actions {
    display: flex;
    gap: 0.6rem;
}

.action-btn {
    flex: 1;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--text-muted);
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--accent-primary), #6366f1);
    color: #ffffff;
}

.action-btn.primary:hover {
    box-shadow: 0 4px 15px rgba(124, 92, 255, 0.4);
    opacity: 0.95;
}

/* Empty Search Results */
.empty-results {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

.empty-results.hidden {
    display: none;
}

.empty-icon {
    font-size: 3rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity var(--transition-fast);
}

.modal-overlay.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    width: min(650px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(124, 92, 255, 0.25);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--text-main);
    background: var(--accent-pink);
    border-color: var(--accent-pink);
}

.modal-header-tag {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.modal-long-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.modal-features-list {
    list-style: none;
    margin-bottom: 1.75rem;
}

.modal-features-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modal-features-list li i {
    color: var(--accent-green);
}

/* --------------------------------------------------------------------------
   19. Light Theme Styles & System Overrides
   -------------------------------------------------------------------------- */
body.light-theme {
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-card-hover: rgba(255, 255, 255, 0.96);
    --border-color: rgba(15, 23, 42, 0.1);
    --border-highlight: rgba(124, 92, 255, 0.4);

    --text-main: #0f172a;
    --text-muted: #334155;
    --text-dim: #64748b;

    --shadow-card: 0 20px 50px -12px rgba(15, 23, 42, 0.12), 0 10px 25px -10px rgba(124, 92, 255, 0.1);
}

body.light-theme .glass-card {
    background: var(--bg-card);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08), 0 0 20px rgba(124, 92, 255, 0.08);
}

body.light-theme .brand-name {
    color: #0f172a;
}

body.light-theme .icon-btn {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.12);
    color: #334155;
}

body.light-theme .icon-btn:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.1);
}

body.light-theme .nav-links {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .nav-link {
    color: #475569;
}

body.light-theme .nav-link:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.06);
}

body.light-theme .time-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .time-val {
    color: #0f172a;
}

body.light-theme .progress-section {
    background: rgba(241, 245, 249, 0.85);
    border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .input-group {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 23, 42, 0.15);
}

body.light-theme .email-input {
    color: #0f172a;
}

body.light-theme .teaser-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .teaser-card:hover {
    background: rgba(255, 255, 255, 0.98);
}

body.light-theme .social-icon {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.1);
    color: #334155;
}

body.light-theme .project-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .project-card:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

body.light-theme .tech-tag {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.1);
    color: #334155;
}

body.light-theme .action-btn.secondary {
    background: rgba(15, 23, 42, 0.05);
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.12);
}

body.light-theme .projects-toolbar {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .filter-btn {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.1);
    color: #475569;
}

body.light-theme #project-search {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 23, 42, 0.15);
    color: #0f172a;
}

body.light-theme .modal-card {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(124, 92, 255, 0.4);
    color: #0f172a;
}

body.light-theme .toast-notification {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   20. Services Page Styles
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 92, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(124, 92, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.service-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.gradient-1 { background: linear-gradient(135deg, #7c5cff, #6366f1); }
.gradient-2 { background: linear-gradient(135deg, #00f2fe, #4facfe); }
.gradient-3 { background: linear-gradient(135deg, #ff416c, #ff4b2b); }
.gradient-4 { background: linear-gradient(135deg, #10b981, #059669); }
.gradient-5 { background: linear-gradient(135deg, #ffb703, #fb8500); }
.gradient-6 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 1.75rem;
}

.service-features li {
    font-size: 0.82rem;
    color: var(--text-main);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li i {
    color: var(--accent-green);
    font-size: 0.75rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--accent-primary);
}

/* Workflow Steps */
.workflow-section {
    margin-bottom: 3.5rem;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.step-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-primary);
    opacity: 0.7;
    margin-bottom: 0.75rem;
}

.step-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

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

/* FAQ Section */
.faq-section {
    margin-bottom: 3.5rem;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    color: var(--accent-cyan);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.cta-box {
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(0, 242, 254, 0.15));
    border: 1px solid rgba(124, 92, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.cta-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   21. Contact Page Styles
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
}

.contact-info-panel {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.panel-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.panel-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.info-cards-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    flex: 1;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(124, 92, 255, 0.15);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.info-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.info-label {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
    margin-bottom: 0.2rem;
}

.info-value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
}

.social-connect-box h4 {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

/* Contact Form Elements */
.contact-form-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.required {
    color: var(--accent-pink);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-dim);
    font-size: 0.95rem;
    pointer-events: none;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    outline: none;
    transition: all var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(124, 92, 255, 0.25);
    background: rgba(255, 255, 255, 0.07);
}

.select-input option {
    background: #0f1723;
    color: #ffffff;
}

.textarea-wrapper {
    align-items: flex-start;
}

.textarea-icon {
    top: 1rem;
}

.textarea-input {
    resize: vertical;
    min-height: 110px;
}

.budget-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.budget-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.budget-pill:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.budget-pill.active {
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

/* Light Theme Overrides for Services & Contact */
body.light-theme .service-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .service-card:hover {
    background: rgba(255, 255, 255, 0.98);
}

body.light-theme .step-card {
    background: rgba(241, 245, 249, 0.8);
    border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .faq-item {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .contact-info-panel,
body.light-theme .contact-form-panel {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(15, 23, 42, 0.1);
}

body.light-theme .info-card {
    background: rgba(241, 245, 249, 0.8);
    border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .form-input {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 23, 42, 0.12);
    color: #0f172a;
}

body.light-theme .select-input option {
    background: #ffffff;
    color: #0f172a;
}

body.light-theme .budget-pill {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.1);
    color: #475569;
}

@media (max-width: 868px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}



