:root {
    --primary-color: #64489F;
    --secondary-color: #A29BFE;
    --text-main: #1A1A1A;
    --text-sub: #6E6E6E;
    --bg-white: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-card: #F6F6F6;

    --font-main: 'Cairo', sans-serif;
    --font-numbers: 'Montserrat', sans-serif;

    --container-width: 1280px;
    --border-radius-lg: 22px;
    --border-radius-md: 22px;
    --border-radius-sm: 22px;
    --transition-fast: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
}

.cta-container {
    padding-block: 50px;
    margin-bottom: 3rem;
}

/* Typography Utilities */
.text-primary {
    color: var(--primary-color);
}

.text-dark {
    color: var(--text-main);
}

.text-sub {
    color: var(--text-sub);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    gap: 8px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #533b85;
    border-color: #533b85;
}

.btn-outline {
    background-color: #fff;
    color: var(--text-main);
    border: 1px solid #E5E7EB;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Header */
.main-header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-numbers);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-main);
    border-radius: 22px;
    transition: var(--transition-fast);
}

/* Hamburger Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav-action {
    display: none;
}

/* Hero Section */
.hero {
    padding: clamp(40px, 8vw, 80px) 0 0;
    position: relative;
    overflow: hidden;
    background: #fff;
}

/* Background Shadow Circles */
.hero-bg-circles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.shadow-circle {
    position: absolute;
    border-radius: 50%;
    /* Soft gradient shadows */
}

.shadow-circle.sc-1 {
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, #FBFBFB 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.shadow-circle.sc-2 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, #F8F8F8 0%, transparent 70%);
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.shadow-circle.sc-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #F4F4F4 0%, transparent 70%);
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-container {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.avatars {
    display: flex;
}

.avatar {
    width: min(36px, 10vw);
    height: min(36px, 10vw);
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -10px;
}

.avatar:first-child {
    margin-right: 0;
}

.badge-text {
    display: flex;
    gap: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-sub);
}

.badge-text .count {
    font-family: var(--font-numbers);
    color: var(--text-main);
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: clamp(16px, 3vw, 32px);
    font-weight: 800;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-sub);
    margin-bottom: clamp(2rem, 5vw, 4rem);
    max-width: 600px;
    margin-left: auto;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: clamp(12px, 2vw, 24px);
    margin-top: clamp(3rem, 6vw, 6rem);
}

.mobile-hero-image {
    display: none;
}


/* Responsive Hero */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem !important;
    }

    .hero-description {
        margin-bottom: 1.5rem;
    }

    .mobile-hero-image {
        display: block;
        width: 100%;
        max-width: 260px;
        margin: 0 auto -190px;
        transform: translateY(10px);
        position: relative;
        z-index: 1;
        mask-image: linear-gradient(to bottom, black 60%, transparent 80%);
        -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 80%);
    }

    .mobile-hero-image img {
        width: 100%;
        height: auto;
        filter: drop-shadow(0 15px 30px rgba(100, 72, 159, 0.1));
    }

    .hero-phones {
        height: 400px;
    }

    .phone-wrapper {
        width: 100%;
    }

    .phone {
        width: 200px;
        height: 400px;
    }

    .phone-back {
        transform: translateX(-70%) rotate(-5deg);
    }

    .phone-front {
        transform: translateX(-30%) rotate(-3deg);
    }

    .floating-element {
        display: none;
    }

    .hero-actions {
        position: relative;
        z-index: 10;
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 12px;
        margin-bottom: 2rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 1rem;
    }

    .hero-badge {
        padding: 6px 12px;
        gap: 8px;
    }

    .avatar {
        width: 30px;
        height: 30px;
    }

    .badge-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

/* Stats Section */
.numbers-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.numbers-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.numbers-text {
    flex: 1;
    max-width: 400px;
}

.numbers-text h2 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 700;
}

.numbers-text p {
    font-size: 1.125rem;
    color: var(--text-sub);
}

.stats-grid {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

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

.stat-number {
    font-family: var(--font-numbers);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.stat-label {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.stat-growth {
    font-size: 1rem;
    color: var(--text-sub);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-visuals {
        display: none;
        /* Hide complex visuals on tablet for now/simplify */
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .numbers-container {
        flex-direction: column-reverse;
        text-align: center;
    }

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

    .stats-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }

    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 40px 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        animation: slideDown 0.4s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .main-nav.active ul {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .main-nav.active ul li a {
        font-size: 1.25rem;
    }

    .mobile-nav-action {
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .mobile-nav-action .btn {
        width: 100%;
        padding: 14px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-actions {
        display: none;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .main-header {
        padding: 15px 0;
    }
}


.section-header {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    /* For centering or RTL alignment needs */
    margin-right: auto;
}

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

.text-right {
    text-align: right;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: clamp(12px, 2vw, 20px);
    font-weight: 800;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-sub);
}


/* Qinvite Features Section - New Layout */
.qinvite-features-section {
    position: relative;
    overflow: hidden;
    background: #fff;
}

/* Background circles for features section */
.features-bg-circles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.f-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 72, 159, 0.03) 0%, transparent 70%);
}

.f-circle.fc-1 {
    width: 800px;
    height: 800px;
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
}

.f-circle.fc-2 {
    width: 800px;
    height: 800px;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
}

.qinvite-features-section .section-header h2 {
    color: var(--text-main);
}

.qinvite-features-section .section-header h2 .text-primary {
    color: var(--primary-color);
}

/* Features Layout - 3 columns */
.features-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Feature blocks on the sides */
.features-side {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.features-right {
    text-align: right;
}

.features-left {
    text-align: left;
}

.feature-block h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
}

.feature-block p {
    font-size: 1rem;
    color: var(--text-sub);
    line-height: 1.8;
}

/* Center Phone Mockup */
.features-phone-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-phone-center img {
    max-width: 380px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.1));
}

/* Responsive for features section */
@media (max-width: 1024px) {
    .features-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-phone-center {
        order: -1;
        /* Phone first on mobile */
    }

    .features-side {
        text-align: center;
    }

    .features-phone-center img {
        max-width: 280px;
    }
}


/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: #fbfbff;
    position: relative;
}

.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(100, 72, 159, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(100, 72, 159, 0.06);
    border-color: rgba(100, 72, 159, 0.15);
}

.faq-question {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: background-color 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: rgba(100, 72, 159, 0.02);
}

.faq-question span {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
}

.toggle-icon {
    width: 36px;
    height: 36px;
    background: rgba(100, 72, 159, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .toggle-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(45deg);
}

.faq-item.active .toggle-icon span {
    filter: invert(1);
}

.toggle-icon span {
    transition: transform 0.4s ease;
    display: inline-block;
    line-height: 1;
}

/* Modern Smooth Height Transition using Grid Rows */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s;
    opacity: 0;
    visibility: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
}

.faq-answer-content {
    overflow: hidden;
    padding: 0 32px 32px;
    color: var(--text-sub);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* CTA Section Redesign */
.cta-section {
    background: #fff;
    overflow: visible;
    /* Allow phone to overlap */
}

.cta-banner {
    position: relative;
    background-color: var(--primary-color);
    border-radius: 22px;
    padding: 80px 40px;
    color: white;
    text-align: center;
    /* overflow: hidden; Removed to allow phone overlap */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 480px;
}

.cta-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/cta_banner_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    mix-blend-mode: overlay;
    z-index: 1;
    border-radius: 40px;
    /* Clip the background itself */
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-white {
    background: white;
    color: var(--primary-color);
    border: none;
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* QR Code Mockup Styling */
.cta-qr {
    margin-top: 20px;
}

.qr-wrapper {
    display: inline-block;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.qr-code-placeholder {
    width: 120px;
    height: 120px;
    position: relative;
}

.qr-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#1a1a1a 2px, transparent 2px);
    background-size: 8px 8px;
    opacity: 0.8;
}

/* Overlapping Phone Mockup */
.cta-phone-mockup {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%) rotate(-6deg);
    z-index: 10;
    pointer-events: none;
    width: 330px;
    height: auto;
}

.cta-phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(-20px 30px 60px rgba(0, 0, 0, 0.25));
}

/* Responsive CTA */
@media (max-width: 1400px) {
    .cta-phone-mockup {
        right: -80px;
        transform: translateY(-50%) scale(0.9) rotate(-8deg);
    }
}

@media (max-width: 1200px) {
    .cta-phone-mockup {
        right: -100px;
        transform: translateY(-50%) scale(0.8) rotate(-8deg);
    }
}

@media (max-width: 1100px) {
    .cta-banner {
        text-align: right;
        align-items: flex-start;
        padding-right: 350px;
    }

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

    .cta-phone-mockup {
        right: 40px;
        transform: translateY(-50%) scale(0.7) rotate(-5deg);
    }
}

@media (max-width: 900px) {
    .cta-banner {
        text-align: center;
        align-items: center;
        padding: 60px 20px;
    }

    .cta-phone-mockup {
        display: none;
        /* Hide on small screens */
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }
}

/* Footer structure */
/* Footer Top Bar */
.footer-top-bar {
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
    padding: 12px 0;
    text-align: left;
}

.footer-top-bar p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* Main Footer */
.main-footer {
    background-color: #1a1429;
    /* Deep premium purple-black */
    color: white;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

/* Subtle footer glow */
.main-footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 72, 159, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 35px;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 18px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: white;
    transform: translateX(-5px);
    /* Move left for RTL */
}

/* Branding Column */
.branding-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-follow p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    transform: translateY(-5px);
    color: white;
    border-color: transparent;
}

/* Social Specific Hovers */
.facebook-icon:hover {
    background-color: #1877F2;
}

.instagram-icon:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.x-icon:hover {
    background-color: #000000;
}

.whatsapp-icon:hover {
    background-color: #25D366;
}

.copyright {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 20px;
}

/* Download Column */
.download-col h3::after {
    left: auto;
    right: 0;
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-buttons .btn {
    width: 100%;
    max-width: 240px;
    justify-content: flex-start;
    padding: 12px 24px;
    border-radius: 22px;
    font-weight: 700;
    gap: 12px;
}

.btn-white {
    background: #ffffff;
    color: #1a1429;
    border: none;
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.03);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline-white:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px 40px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 80px 0 60px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-col h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-logo,
    .social-links,
    .social-follow {
        justify-content: center;
    }

    .footer-buttons {
        align-items: center;
    }

    .footer-col ul li a:hover {
        transform: scale(1.05);
    }
}

/* Try Qinvite Section */
.try-qinvite-section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.try-qinvite-section .section-header h2 {
    font-size: 2.5rem;
}

.try-qinvite-section .section-header p {
    font-size: 1rem;
}

.try-qinvite-container {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.try-card {
    border-radius: 32px;
    padding: 60px;
}

.try-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.try-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.try-form label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    display: block;
    margin-bottom: 2px;
}

.try-form input {
    width: 100%;
    padding: 14px 20px;
    background: #F9F9F9;
    border: 2px solid transparent;
    border-radius: 22px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.try-form input:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(100, 72, 159, 0.08);
}

.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-sub);
    margin-top: 0;
}

.phone-input-wrapper input {
    padding-left: 24px;
    text-align: left;
}

.btn-submit {
    height: 52px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 22px;
    width: 100%;
    margin-top: 8px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-submit:hover {
    background-color: #533b85;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(100, 72, 159, 0.2);
}

/* Background Decoration */
.try-decor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.td-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 72, 159, 0.05) 0%, transparent 70%);
}

.td-1 {
    width: 800px;
    height: 800px;
    top: -400px;
    right: -200px;
}

.td-2 {
    width: 600px;
    height: 600px;
    bottom: -300px;
    left: -150px;
}

@media (max-width: 768px) {
    .try-qinvite-section {
        padding: 60px 0;
    }

    .try-card {
        padding: 30px 20px;
        border-radius: 22px;
    }

    .try-form {
        gap: 20px;
        margin-top: 24px;
    }

    .btn-submit {
        height: 52px;
        font-size: 1.1rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #533b85;
    box-shadow: 0 6px 25px rgba(100, 72, 159, 0.4);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}