/* ============================================
   Truesoulsmedia — Voxr-Inspired Luxury Theme
   Pure Black · Glassmorphism · Purple Glow
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --black:       #000000;
    --surface:     rgba(255,255,255,0.03);
    --surface-md:  rgba(255,255,255,0.06);
    --border:      rgba(255,255,255,0.08);
    --border-glow: rgba(168,85,247,0.4);
    --purple:      #a855f7;
    --purple-dark: #7c3aed;
    --blue:        #6366f1;
    --text-white:  #ffffff;
    --text-muted:  #9ca3af;
    --text-dim:    #52525b;
    --gold:        #f59e0b;
    --silver:      #94a3b8;
    --diamond:     #67e8f9;
    --radius-lg:   24px;
    --radius-xl:   32px;
    --radius-pill: 999px;
    --transition:  0.4s cubic-bezier(0.2,0.8,0.2,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--black);
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Ambient Background ── */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.28;
}

.glow-1 {
    width: 800px; height: 800px;
    background: radial-gradient(circle, #a855f7, transparent 70%);
    top: -250px; left: -200px;
    animation: float1 20s ease-in-out infinite;
}

.glow-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    bottom: -150px; right: -150px;
    animation: float2 25s ease-in-out infinite;
}

.glow-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #c084fc, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    opacity: 0.18;
    animation: float3 30s ease-in-out infinite;
}

@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.1); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,-60px) scale(1.08); } }
@keyframes float3 { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.2); } }

/* ── Canvas Background ── */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* ── BG Hero Image Layer ── */
#bg-canvas-container {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.bg-layer {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.bg-layer.active { opacity: 0.22; }

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.65) 100%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 { width: 450px; height: 450px; background: rgba(168,85,247,0.30); top: 15%; left: 5%; animation-delay: 0s; }
.orb-2 { width: 320px; height: 320px; background: rgba(99,102,241,0.25); top: 55%; right: 8%; animation-delay: -5s; }
.orb-3 { width: 250px; height: 250px; background: rgba(192,132,252,0.22); bottom: 25%; left: 38%; animation-delay: -10s; }

@keyframes orbFloat { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-30px); } }

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-logo {
    width: 36px; height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.nav-links a:hover { color: var(--text-white); }

/* ── Page Layout ── */
main { position: relative; z-index: 10; }

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

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
    position: relative;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    color: var(--text-white);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    padding-bottom: 0.15em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }

p { line-height: 1.7; }

/* ── Gradient Text ── */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #c084fc 40%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(192,132,252,0.4));
}

/* ── Hero Badge ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(168,85,247,0.18);
    border: 1px solid rgba(168,85,247,0.5);
    border-radius: var(--radius-pill);
    padding: 0.45rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #c084fc;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(168,85,247,0.2);
}

.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--purple);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--purple);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.8); } }

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    color: #fff;
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 0 0 0 rgba(168,85,247,0.4);
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(168,85,247,0.5), 0 0 0 1px rgba(168,85,247,0.3);
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.05);
    color: var(--text-white);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    letter-spacing: 0.01em;
}

.btn-glass:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(168,85,247,0.4);
    transform: translateY(-2px);
}

/* ── Glass Card ── */
.glass-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

.glass-card:hover {
    border-color: rgba(168,85,247,0.3);
    box-shadow: 0 8px 60px rgba(168,85,247,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ── Services Grid ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin-top: 4rem;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    cursor: default;
}

.service-card:hover {
    background: var(--surface-md);
    border-color: rgba(168,85,247,0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(168,85,247,0.1);
}

.service-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(168,85,247,0.1);
    border: 1px solid rgba(168,85,247,0.2);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--purple);
}

/* ── Portfolio Grid ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 400px;
    border: 1px solid var(--border);
    background: #0a0a0a;
    transition: all var(--transition);
    cursor: pointer;
}

.portfolio-item:hover {
    border-color: rgba(168,85,247,0.35);
    box-shadow: 0 0 40px rgba(168,85,247,0.15);
    transform: translateY(-4px);
}

.portfolio-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2,0.8,0.2,1), opacity 0.4s ease;
    opacity: 0.75;
}

.portfolio-item:hover img {
    transform: scale(1.06);
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
    z-index: 1;
    transition: all var(--transition);
}

.portfolio-overlay h3 {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    margin: 0;
}

.portfolio-overlay p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(88,28,220,0.7) 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
}

.portfolio-item > a {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
}

/* ── Contact Form ── */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-white);
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
    width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-dim); }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--purple); }

.contact-form textarea { resize: vertical; min-height: 130px; }

.contact-form option { background: #111; }

/* ── Footer ── */
.footer {
    position: relative; z-index: 10;
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    text-align: center;
}

.social-links { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }

.social-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all var(--transition);
}

.social-icon:hover {
    background: rgba(168,85,247,0.15);
    border-color: rgba(168,85,247,0.4);
    color: var(--purple);
    transform: translateY(-2px);
}

/* ── WhatsApp Float ── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 9999;
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
    transition: all var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}

/* ── Scroll Reveal ── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s cubic-bezier(0.2,0.8,0.2,1), transform 0.9s cubic-bezier(0.2,0.8,0.2,1);
}

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

/* ── Stats Row ── */
.stats-row {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fff 0%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(168,85,247,0.5));
}

.stat-label { font-size: 0.85rem; color: var(--text-dim); margin-top: 0.25rem; }

/* ── Scroll Indicator ── */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, transparent, var(--purple));
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine { 0%,100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(0.6); } }

/* ── Notification ── */
.form-notification {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-notification.success {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    color: #86efac;
    display: block;
}

.form-notification.error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
    display: block;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .navbar { padding: 0 1.25rem; }
    .nav-links { display: none; }
    .section { padding: 6rem 1.25rem; }
    h1 { font-size: 2.8rem; }
    .glass-card { padding: 2rem 1.5rem; }
    .stats-row { gap: 2rem; }
    .portfolio-item { height: 300px; }
}
