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

:root {
    --primary: #00a8e8;
    --primary-dark: #007bb5;
    --secondary: #0056b3;
    --accent: #22c55e;
    --dark: #0a0f1d;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg-light: #ffffff;
    --bg-gray: #f8fafc;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-dark: rgba(10, 15, 29, 0.05);
    --border: rgba(0, 0, 0, 0.06);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #00a8e8 0%, #0056b3 100%);
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.bg-scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/hero-bg.png') no-repeat center center/cover;
    z-index: -2;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.98) 100%);
    z-index: -1;
}

.bg-blob {
    position: absolute;
 
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translate(-10%, -10%) scale(1);
    }

    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: 0.3s var(--easing);
}

header.scrolled {
    padding: 0.8rem 5%;
}

.logo-container {
    height: 50px;
    width: auto;
    min-width: 154px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    background: transparent;
}

.logo-icon {
    height: 100%;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--primary);
    opacity: 1;
}

.nav-cta {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    padding: 0.85rem 2.2rem;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s var(--easing);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 15px 30px -10px rgba(0, 168, 232, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 168, 232, 0.5);
    background: var(--primary);
}

.btn-secondary {
    background: var(--bg-gray);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 8rem 5% 4rem;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1.2;
}

.hero-logo-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 168, 232, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 168, 232, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 580px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 2000px;
}

.hero-image .screen-main {
    width: 320px;
    border-radius: 44px;
    border: 10px solid #1a1a1a;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.25);
    background: white;
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.8s var(--easing);
    z-index: 2;
}

.hero-image .screen-secondary {
    position: absolute;
    width: 280px;
    border-radius: 38px;
    border: 8px solid #1a1a1a;
    top: 50%;
    right: -40px;
    transform: translateY(-50%) translateZ(-100px) rotateY(15deg);
    opacity: 0.8;
    z-index: 1;
    transition: 0.8s var(--easing);
}

.hero-image:hover .screen-main {
    transform: rotateY(0) rotateX(0) scale(1.05);
}

.hero-image:hover .screen-secondary {
    right: -80px;
    transform: translateY(-50%) translateZ(50px) rotateY(-5deg);
    opacity: 1;
}

/* Info Section (How it Works) */
.section {
    padding: 8rem 5%;
    overflow: hidden;
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-head h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.step-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.4s var(--easing);
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 168, 232, 0.2);
}

.step-number {
    display: none;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-gray);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 0 2rem;
    transition: 0.4s;
}

.step-card:hover .step-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* Step Card Icon Sizing Fixes */
.step-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Showcase Carousel */
.showcase-container {
    padding: 6rem 0;
    background: var(--bg-gray);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.scroller {
    display: flex;
    gap: 3rem;
    padding: 2rem;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.scroller:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1.5rem));
    }
}

.showcase-wrapper {
    position: relative;
    width: 100%;
}

.showcase-item {
    width: 280px;
    border-radius: 32px;
    overflow: hidden;
    background: white;
    flex-shrink: 0;
    transition: transform 0.4s var(--easing);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.showcase-item img {
    width: 100%;
    display: block;
}

/* Footer */
footer {
    padding: 1.5rem 5%;
    background: var(--dark);
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-single-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.footer-divider {
    opacity: 0.2;
}

/* Final Responsive Overhaul */
@media (max-width: 1100px) {
    header {
        padding: 0.6rem 5%;
        justify-content: space-between;
        width: 100%;
        left: 0;
        right: 0;
    }

    .bg-blob {
     
        height: 300px;
        filter: blur(80px);
    }

    .nav-cta {
        display: inline-flex;
        /* Show header CTA on mobile */
        padding: 0.45rem 1rem !important;
        font-size: 0.85rem !important;
    }

    .nav-links {
        display: none;
    }

    .hero-logo-wrapper {
        justify-content: center;
        margin-bottom: 0.75rem;
    }

    .hero-logo-wrapper .logo-container {
        height: 60px !important;
        padding: 0.5rem 1.2rem !important;
        border-radius: 12px !important;
        min-width: unset;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 5rem;
        gap: 2rem;
        width: 100%;
        overflow: hidden;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.9rem;
        margin: 0 auto 1.5rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-image {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .cta-group {
        justify-content: center;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 5%;
    }

    .section-head {
        margin-bottom: 2rem;
    }

    .section-head h2 {
        font-size: 1.6rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step-card {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem 4%;
    }

    .logo-container {
        height: 28px;
        min-width: unset;
        padding: 0;
    }

    .nav-cta {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.75rem !important;
    }

    .hero h1 {
        font-size: 1.6rem;
        letter-spacing: -0.1px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .hero-image .screen-secondary {
        display: none;
    }

    .hero-image .screen-main {
        width: 220px;
        transform: none !important;
        border-width: 5px;
        border-radius: 32px;
    }

    .hero .btn,
    .section .btn {
        width: 100%;
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
    }

    footer {
        padding: 1.5rem 5%;
    }

    .footer-single-line {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        font-size: 0.75rem;
    }

    .footer-divider {
        display: none;
    }
}