:root {
    --bg-dark: #0a0a0c;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.3);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #a855f7;
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

h1, h2, h3, .logo { font-family: 'Outfit', sans-serif; }

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

.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.section.reveal { opacity: 1; transform: translateY(0); }

/* ── Glows ── */
.section-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.glow-left  { left: -200px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%); }
.glow-right { right: -200px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%); }
.glow-center{ left: 50%; top: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%); }

/* ── Navbar ── */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 1.5rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(10,10,12,0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 2rem;
}
.logo { font-size: 1.8rem; font-weight: 900; color: #fff; letter-spacing: -1px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-weight: 500; font-size: 0.88rem;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }

/* ── Hero ── */
.hero {
    height: 100vh;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding-top: 80px;
    /* Hero is always visible — galaxy canvas needs to show from start */
    opacity: 1 !important;
    transform: none !important;
}

#hero-canvas {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; display: block;
}

.hero-content { max-width: 860px; z-index: 10; position: relative; }

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.35);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

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

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
    margin-inline: auto;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.primary-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 8px 24px var(--primary-glow);
}
.primary-btn:hover { transform: translateY(-4px); box-shadow: 0 16px 40px var(--primary-glow); }
.secondary-btn {
    background: transparent; color: white;
    border: 1px solid var(--glass-border); margin-left: 1rem;
}
.secondary-btn:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }

.hero-btns { margin-bottom: 3rem; }

.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 2rem;
    padding: 1.2rem 2.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    display: inline-flex;
    backdrop-filter: blur(10px);
}
.h-stat { text-align: center; }
.h-stat span { display: block; font-size: 1.4rem; font-weight: 700; color: #fff; font-family: 'Outfit', sans-serif; }
.h-stat p { font-size: 0.75rem; color: var(--text-muted); margin: 0; }
.h-stat-divider { width: 1px; height: 30px; background: var(--glass-border); }

.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    opacity: 0.5; z-index: 10;
}
.mouse {
    width: 20px; height: 34px;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 20px; position: relative;
}
.mouse::after {
    content: '';
    position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
    width: 3px; height: 7px;
    background: #fff; border-radius: 2px;
    animation: scroll-dot 2s infinite;
}
@keyframes scroll-dot {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}
.scroll-indicator span { font-size: 0.7rem; letter-spacing: 1px; color: var(--text-muted); }

/* ── About ── */
.section-title { margin-bottom: 4rem; }
.section-title.centered { text-align: center; }
.subtitle {
    color: var(--primary); font-weight: 600;
    text-transform: uppercase; letter-spacing: 3px;
    font-size: 0.75rem; display: block; margin-bottom: 0.75rem;
}
.section-title h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; margin-top: 1rem; max-width: 600px; margin-inline: auto; }

.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center; position: relative; z-index: 1;
}
.about-text p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; }

.about-stats { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.stat-card {
    background: var(--bg-card);
    padding: 1.8rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    display: flex; align-items: center; gap: 1.5rem;
}
.stat-card:hover {
    background: rgba(99,102,241,0.06);
    border-color: rgba(99,102,241,0.3);
    transform: translateX(6px);
}
.stat-icon { font-size: 1.5rem; color: var(--primary); line-height: 1; }
.stat-card h3 { font-size: 2rem; color: #fff; margin-bottom: 0.2rem; }
.stat-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ── Services ── */
.services { background: rgba(255,255,255,0.01); }
.services-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; position: relative; z-index: 1;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.2rem 1.8rem;
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(99,102,241,0.3); background: rgba(99,102,241,0.05); }
.service-card:hover::before { opacity: 1; }

.featured-service {
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(168,85,247,0.1));
    border-color: rgba(99,102,241,0.3);
}
.featured-service::before { opacity: 1; }
.featured-badge {
    position: absolute; top: 1.2rem; right: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white; font-size: 0.65rem; font-weight: 700;
    padding: 0.25rem 0.7rem; border-radius: 20px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

.service-icon {
    width: 52px; height: 52px;
    background: rgba(99,102,241,0.12);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: rgba(99,102,241,0.2); transform: scale(1.1); }

.service-card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; color: #fff; }
.service-card > p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1.5rem; }
.service-tag { font-size: 0.72rem; color: var(--primary); font-weight: 600; letter-spacing: 0.5px; opacity: 0.7; }

/* ── Process ── */
.process-track {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; padding-top: 2rem;
}
.process-line {
    position: absolute;
    top: 3.5rem; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    opacity: 0.3;
}
.process-step { text-align: center; position: relative; }
.step-number {
    width: 56px; height: 56px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem; font-weight: 700; color: white;
    box-shadow: 0 8px 24px var(--primary-glow);
    transition: var(--transition);
}
.process-step:hover .step-number { transform: translateY(-6px) scale(1.05); box-shadow: 0 16px 40px var(--primary-glow); }
.step-content h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.step-content p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ── Designer ── */
.designer { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.designer-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem;
    backdrop-filter: blur(24px);
    max-width: 1100px;
    width: 100%;
}
.designer-photo-side {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.designer-quote-badge {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.15));
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 20px;
    padding: 1.8rem;
    backdrop-filter: blur(16px);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.designer-quote-badge .quote-icon {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.6;
    font-weight: 900;
    line-height: 0.8;
}
.designer-quote-badge p {
    font-style: italic;
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.6;
}
.designer-photo {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(99,102,241,0.2);
}
.designer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.designer-info-side {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.designer-header h2 {
    font-size: 2.4rem;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, #e2e8f0 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.designer-title {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.designer-subtitle {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}
.designer-bio {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}
.achievements {
    margin-top: 1rem;
}
.achievements h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: #e2e8f0;
}
.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}
.achievement-item .checkmark {
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.achievement-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}
.designer-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
}
.social-link svg,
.social-link img {
    width: 22px;
    height: 22px;
    display: block;
}
.social-link:hover {
    background: rgba(99,102,241,0.2);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ── Contact ── */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem;
    max-width: 860px; margin: 0 auto;
    position: relative; overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.contact-header { text-align: center; margin-bottom: 3rem; }
.contact-header h2 { font-size: 2.5rem; margin: 0.5rem 0 0.8rem; }
.contact-header p { color: var(--text-muted); }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.4rem;
    border-radius: 14px;
    color: #fff; font-family: inherit; font-size: 0.95rem;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(99,102,241,0.05);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.submit-btn { width: 100%; }

/* ── Footer ── */
.footer { padding: 3rem 0; border-top: 1px solid var(--glass-border); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-size: 1.4rem; font-weight: 900; font-family: 'Outfit', sans-serif; }
.footer-logo span { color: var(--primary); }
.footer p { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid { grid-template-columns: 1fr; }
    .process-track { grid-template-columns: 1fr; }
    .process-line { display: none; }
    .designer-card { 
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    .designer-header h2 { font-size: 1.8rem; }
    .designer-quote-badge { padding: 1.2rem; }
    .contact-card { padding: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1rem; border-radius: 20px; }
    .h-stat-divider { width: 40px; height: 1px; }
}
