/* HERO */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 50%, var(--bg) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 20% 10%, rgba(124, 92, 255, 0.25), transparent 60%),
        radial-gradient(600px 300px at 80% 20%, rgba(0, 225, 255, 0.2), transparent 60%),
        radial-gradient(600px 300px at 50% 90%, rgba(255, 107, 107, 0.18), transparent 60%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* left */
.hero-left {
    max-width: 600px;
}

.hero-badge,
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(124, 92, 255, 0.12);
    color: #cfd2ff;
    border: 1px solid rgba(124, 92, 255, 0.35);
    font-size: 14px;
}

.hero-badge {
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    color: var(--muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 2rem 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

/* right */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-frame {
    width: 300px;
    height: 600px;
    background: var(--surface);
    border-radius: 60px;
    border: 10px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.device-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    opacity: 0;
    transition: opacity 1s ease;
}

.device-frame img.active {
    opacity: 1;
}

/* HERO RESPONSIVE FIXES */

/* Large Tablets Landscape (1025px - 1250px) */
@media (min-width: 1025px) and (max-width: 1250px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .hero-left {
        max-width: 100%;
        text-align: left;
    }

    .hero-title {
        font-size: clamp(2.25rem, 3.5vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .device-frame {
        width: 280px;
        height: 560px;
    }

    .hero-actions {
        justify-content: flex-start;
    }
}

/* Standard Tablets Portrait (835px - 1024px) */
@media (min-width: 835px) and (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-left {
        max-width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 2.75rem);
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-right {
        margin: 0 auto;
    }

    .device-frame {
        width: 270px;
        height: 540px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }
}

/* Tablet/Mobile Transition (768px - 834px) */
@media (min-width: 768px) and (max-width: 834px) {
    .hero {
        min-height: auto;
        padding: 5rem 0;
    }

    .hero-grid {
        gap: 2.5rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .device-frame {
        width: 260px;
        height: 520px;
    }
}

/* Small Tablets (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: clamp(1.5rem, 4vw, 2.25rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .device-frame {
        width: 250px;
        height: 500px;
    }

    .hero-badge,
    .feature-tag {
        font-size: 12px;
        padding: 6px 13px;
    }
}

/* Mobile (480px - 599px) */
@media (max-width: 599px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-title {
        font-size: clamp(1.25rem, 4vw, 2rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-badge,
    .feature-tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

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

    .device-frame {
        width: 240px;
        height: 480px;
    }
}

/* Very Small Mobile (≤ 479px) */
@media (max-width: 479px) {
    .hero {
        padding: 2.5rem 0;
    }

    .hero-title {
        font-size: clamp(1rem, 4vw, 1.75rem);
    }

    .device-frame {
        width: 220px;
        height: 440px;
    }
}







/* FEATURES */
.features {
    background: var(--bg-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 24px;
}


.lead {
    color: var(--muted);
    font-size: 1.125rem;
    line-height: 1.7;
}





.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}


/* -------------------------------
    RESPONSIVE FIX FOR FEATURES
--------------------------------*/

/* Tablet screens (max-width 900px) */
@media screen and (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        padding: 24px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* Mobile screens (max-width 600px) */
@media screen and (max-width: 600px) {
    .grid-3 {
        grid-template-columns: 1fr;
        /* ✅ Ek-ek card */
    }

    .card {
        text-align: center;
        padding: 20px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        max-width: 90%;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .lead {
        font-size: 1rem;
        line-height: 1.6;
    }
}







/* STATS */
.stats {
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.05), rgba(0, 225, 255, 0.05));
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* BRANDS */
.brands {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 4rem 0;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kicker:before {
    content: "";
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand));
}

.marquee {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 48px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee img {
    height: 32px;
    opacity: .7;
    filter: grayscale(1);
    transition: opacity .2s ease, filter .2s ease;
}

.marquee img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* HIGHLIGHTS */
.highlights .card {
    background: linear-gradient(180deg, rgba(124, 92, 255, 0.08), rgba(0, 225, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* TESTIMONIALS */
.testimonials {
    background: var(--bg-soft);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--muted);
}

.testimonial-author {
    font-weight: 600;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.05), rgba(0, 225, 255, 0.05));
    text-align: center;
    padding: 6rem 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Form Styles (Moved from inline HTML) */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
    font-family: inherit;
}

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: white;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(124, 92, 255, 0.5);
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

ul:not(.nav-links) {
    list-style: none;
    padding-left: 0;
}

ul:not(.nav-links) li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

ul:not(.nav-links) li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: bold;
}

article.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

article.card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
    border-color: rgba(124, 92, 255, 0.3);
}

/* Responsive (Section-Specific) */
/* Large Tablets Landscape */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-left {
        max-width: 100%;
        text-align: center;
    }

    .hero-right {
        margin: 3rem auto 0;
    }

    .hero-actions {
        justify-content: center;
    }

    .device-frame {
        width: 300px;
        height: 600px;
    }
}

/* Standard Tablets Portrait */
@media (min-width: 769px) and (max-width: 834px) {
    .hero-title {
        font-size: clamp(2rem, 4vw, 2.75rem);
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .device-frame {
        width: 280px;
        height: 560px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .stat-number {
        font-size: 2.75rem;
    }
}

/* Tablet/Mobile Transition */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-grid {
        gap: 2.5rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        gap: 12px;
        justify-content: center;
    }

    .hero-badge,
    .feature-tag {
        font-size: 13px;
        padding: 6px 14px;
    }

    .device-frame {
        width: 260px;
        height: 520px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
    }

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

/* Small Tablets */
@media (max-width: 600px) {
    .hero-title {
        font-size: clamp(1.5rem, 4vw, 2.25rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .device-frame {
        width: 250px;
        height: 500px;
    }

    .hero-badge,
    .feature-tag {
        font-size: 12px;
        padding: 6px 13px;
    }

    .feature-icon {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 2.35rem;
    }
}

/* Mobile (Extra Small) */
@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: clamp(1.25rem, 4vw, 2rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-badge,
    .feature-tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .device-frame {
        width: 240px;
        height: 480px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .hero-title {
        font-size: clamp(1rem, 4vw, 1.75rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .device-frame {
        width: 220px;
        height: 440px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

.fade-init {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s ease, transform .8s ease;
}

.fade-init.visible {
    opacity: 1;
    transform: translateY(0);
}

.clicked {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}