/* SPINZER.IN - ULTIMATE TECH V3 
   Focus: High Contrast, Depth, and 10L Agency Feel
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #00f2ff;
    /* Electric Cyan */
    --secondary: #7000ff;
    /* Premium Purple */
    --accent: #ff0055;
    /* Hot Pink */
    --bg-deep: #05060b;
    /* Rich Deep Black */
    --card-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text-white: #ffffff;
    /* Headings */
    --text-silver: #cbd5e1;
    /* High Contrast Body Text */
    --text-dim: #94a3b8;
    /* Secondary Text */
}

/* --- GLOBAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    /* Adding Depth with Mesh Gradients */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(112, 0, 255, 0.07) 0%, transparent 40%);
    color: var(--text-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- FIXING FONT COLORS & LINKS --- */
a {
    text-decoration: none;
    color: inherit;
}

.sz-title {
    color: var(--text-white);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.sz-head-center p {
    color: var(--text-silver);
    font-size: 1.1rem;
}

.sz-link {
    color: var(--primary);
    font-weight: 600;
    transition: 0.3s;
}

.sz-link:hover {
    color: var(--text-white);
    text-shadow: 0 0 10px var(--primary);
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-deep);
}

.sz-container {
    color: aliceblue;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

/* --- HERO SECTION RE-FIX --- */
.sz-hero {
    /* Top space kam kiya (240px se 160px) */
    padding: 140px 0 60px;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.sz-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

/* --- GLASS CARD ENHANCEMENT --- */
.sz-glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 12px;
    /* Inner frame gap */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    overflow: visible;
    /* Badges bahar nikalne ke liye important hai */
}

/* --- VIDEO STYLING --- */
.sz-hero-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- PREMIUM FLOATING BADGES --- */
.sz-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    /* White background for contrast */
    color: #000;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    z-index: 10;
    animation: floatAnim 5s ease-in-out infinite alternate;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-text strong {
    font-size: 14px;
    font-weight: 800;
}

.badge-text span {
    font-size: 11px;
    color: #666;
    font-weight: 600;
}

/* Positioning */
.b1 {
    top: -20px;
    left: -40px;
    border-left: 4px solid var(--primary);
}

.b2 {
    bottom: 40px;
    right: -30px;
    border-left: 4px solid var(--secondary);
}

/* Pulse Animation for performance icon */
.pulse-icon {
    font-size: 20px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}
/* Badge ki margin bhi thodi theek ki hai taaki upar na bhage */
.sz-badge {
    display: inline-flex;
    padding: 10px 20px;
    background: rgba(0, 242, 255, 0.08);
    border: 1px solid var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    /* Margin adjust ki */
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

.sz-main-title {
    color: #ffffff !important;
    /* Pure white taaki dikhe */
    font-size: clamp(3.5rem, 8vw, 6rem) !important;
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 30px;
    letter-spacing: -2px;
}
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #fff, var(--secondary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.sz-lead {
    color: #e2e8f0 !important;
    /* Bright Silver/White contrast ke liye */
    font-size: 1.3rem !important;
    max-width: 600px;
    opacity: 1 !important;
    /* Fade effect hatane ke liye */
    font-weight: 400;
    margin-bottom: 40px;
}

.sz-hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

/* --- BUTTONS --- */
/* --- BUTTONS FIX --- */
.sz-hero-btns {
    display: flex;
    gap: 20px;
    align-items: center;
    /* Dono ko ek line mein laane ke liye */
    flex-wrap: wrap;
    /* Mobile pe automatically neche aane ke liye */
}

.sz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    /* Dono buttons ki height ek jaisi fix kar di */
    padding: 0 40px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 8px;
    /* Premium boxy look with slight curves */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    /* Link underline hatane ke liye */
}

.sz-btn-glow {
    background: var(--primary);
    color: #000;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
}

.sz-btn-glow:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.5);
    color: #000;
}

.sz-btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.sz-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-4px);
    color: #fff;
}

/* --- SERVICES GRID (3 Columns Fix) --- */
.sz-section-head {
    text-align: center;
    margin-bottom: 70px;
}

.sz-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* FORCED 3 COLUMNS */
    gap: 30px;
    margin-bottom: 100px;
}

.sz-s-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 55px 35px;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.sz-s-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 255, 0.1);
}

.sz-s-icon {
    font-size: 48px;
    margin-bottom: 30px;
    display: block;
    filter: drop-shadow(0 0 10px var(--primary));
}

.sz-s-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-white);
}

.sz-s-card p {
    color: var(--text-silver);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
}

/* --- STATS SECTION --- */
.sz-stats-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    /* Yeh lazmi hai taaki items next line pe chale jayein */
    gap: 30px;
    /* Wrapped items ke beech mein space */
    padding: 80px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.sz-stat-item h4 {
    /* clamp use karne se PC par bada (4.5rem) aur mobile par chota (3rem) automatically ho jayega */
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(180deg, #fff 40%, var(--text-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sz-stat-item p {
    color: var(--text-silver);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 5px;
}

/* --- APP SECTION --- */
.sz-app-box {
    background: linear-gradient(135deg, #0a0e17 0%, #161b2e 100%);
    border: 1px solid var(--secondary);
    border-radius: 40px;
    padding: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 0 60px rgba(112, 0, 255, 0.15);
}

@media (max-width: 992px) {

    .sz-hero-grid,
    .sz-app-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sz-hero-btns {
        justify-content: center;
    }

    .sz-service-grid {
        grid-template-columns: 1fr;
    }

    .sz-main-title {
        font-size: 3.5rem !important;
    }

    /* Mobile Stats Grid Fix */
    .sz-stats-flex {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

/* Very small screens ke liye App image ko hide ya resize karne ka option */
@media (max-width: 576px) {
    .sz-app-box {
        padding: 40px 20px;
    }

    .sz-stats-flex {
        grid-template-columns: 1fr;
        /* Super small phone pe ek ke neeche ek */
    }
}

/* --- 3D ARCHITECTURE SECTION STYLING --- */
/* --- 3D ARCHITECTURE SECTION STYLING --- */
.sz-3d-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* PC par 2 columns banayega */
    gap: 50px;
    align-items: center;
    box-shadow: inset 0 0 40px rgba(0, 242, 255, 0.05);
    margin-bottom: 60px;
}

.sz-tech-list {
    list-style: none;
    margin-top: 30px;
}

.sz-tech-list li {
    color: var(--text-white);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sz-check {
    color: var(--primary);
    background: rgba(0, 242, 255, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.sz-3d-visual {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    /* Bahar nikalne se rokne ke liye */
}

/* Spline Tag ko Box ke andar fit karne ke liye */
spline-viewer {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .sz-3d-box {
        grid-template-columns: 1fr;
        /* Mobile par ek ke neeche ek aayega */
        padding: 40px 25px;
        text-align: left;
    }

    .sz-3d-visual {
        height: 350px;
        /* Mobile par thoda chota dikhega */
    }
}
/* --- 3D SECTION HEADING COLOR FIX --- */
.sz-3d-text h2 {
    color: #ffffff !important;
    /* Pure white color force karne ke liye */
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    /* PC pe bada aur mobile pe perfect size */
    font-weight: 800;
    /* Ek dum bold aur sharp look ke liye */
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    /* Premium tight spacing */
}

/* Agar .text-gradient class bhi fade lag rahi hai toh usko update kar do: */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #fff 50%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    opacity: 1 !important;
    /* Kisi bhi fade effect ko rokne ke liye */
}