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

:root {
    --bg-primary: #050507;
    --bg-secondary: #0a0a0c;
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Advanced Reveal Engine - Faster & Diverse */
.reveal {
    opacity: 0;
    filter: blur(15px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity, filter;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-down {
    transform: translateY(-40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.85);
}

.reveal-skew {
    transform: translateY(40px) skewY(2deg);
}

.reveal-blur {
    filter: blur(25px) brightness(0.5);
}

.reveal.active {
    opacity: 1;
    filter: blur(0) brightness(1);
    transform: translate(0, 0) scale(1) skewY(0);
}

/* Staggered Delays - Snappier */
.stagger-1 {
    transition-delay: 0.05s;
}

.stagger-2 {
    transition-delay: 0.1s;
}

.stagger-3 {
    transition-delay: 0.15s;
}

.stagger-4 {
    transition-delay: 0.2s;
}

.stagger-5 {
    transition-delay: 0.25s;
}

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

html {
    scroll-behavior: auto !important;
    /* Prevent smooth scroll during refresh */
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 101vh;
    /* Force scrollbar to prevent layout shift */
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    /* Fixed height for scroll stability */
    transition:
        background 0.3s ease,
        border 0.3s ease,
        backdrop-filter 0.3s ease;
    border-bottom: 1px solid transparent;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.desktop-only {
    display: block;
}

.menu-toggle {
    display: none;
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 7, 0.98);
    backdrop-filter: blur(30px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-links {
    list-style: none;
    text-align: center;
    padding: 0;
}

.mobile-links li {
    margin-bottom: 2rem;
}

.mobile-links a {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.mobile-cta {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header.scrolled {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

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

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

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: 0.3s;
}

.logo span {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: scale(1.02);
}

.logo:hover span {
    transform: scale(1.2) rotate(10deg);
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-gradient);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(106, 90, 205, 0.4);
    filter: brightness(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero-tagline {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-visual {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
}

/* Product Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.product-card {
    border-radius: 24px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-secondary);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 80%;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent);
}

.btn-small {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: var(--glass-border);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
}

.btn-small:hover {
    background: var(--accent);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* New Layout Utilities */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
}

.bento-item {
    border-radius: 32px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.bento-item:hover {
    transform: scale(1.02);
    border-color: var(--accent);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

/* Feature Showcase */
.feature-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 100px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-visual {
    flex: 1.2;
    height: 450px;
    background: var(--bg-secondary);
    border-radius: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

/* Scroll Snap/Immersive styles */
.hero-minimal {
    height: 90vh;
    min-height: 600px;
    /* Stability fallback */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-minimal h1 {
    font-size: 6rem;
    letter-spacing: -3px;
    margin-bottom: 2rem;
}

.hero-minimal p {
    font-size: 1.5rem;
    max-width: 600px;
}

/* Digital Horizon Section */
.horizon-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    background: radial-gradient(circle at top, #141418 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--glass-border);
}

.horizon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.horizon-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(500px) rotateX(60deg) translateY(-20%);
    opacity: 0.1;
    animation: grid-flow 20s linear infinite;
}

@keyframes grid-flow {
    from {
        transform: perspective(500px) rotateX(60deg) translateY(-20%);
    }

    to {
        transform: perspective(500px) rotateX(60deg) translateY(0%);
    }
}

/* Logo Cloud */
.logo-cloud {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    padding: 60px 0;
    opacity: 0.5;
    transition: var(--transition);
}

.logo-cloud:hover {
    opacity: 0.8;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: -1px;
}

/* Newsletter Section */
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 8px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.newsletter-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 25px;
    color: var(--text-main);
    font-family: inherit;
    outline: none;
}

.newsletter-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

/* Feature Cards - Enhanced */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    padding: 4rem 3rem;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: rotateY(360deg);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    text-align: center;
    padding: 100px 0;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 4rem auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-muted);
}

.faq-item.open .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 200px;
    border-top: 1px solid var(--glass-border);
}

/* Vision Section Styles */
.vision-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.vision-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 2rem 0;
    background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.4));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vision-desc {
    max-width: 650px;
    margin: 0 auto 4rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Newsletter Section Styles */
.newsletter-container {
    margin-top: 120px;
    text-align: left;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
}

.newsletter-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.newsletter-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 400px;
}

/* --- Media Queries & Mobile Optimization --- */

@media (max-width: 1024px) {
    .showcase-container {
        flex-direction: column !important;
        text-align: center;
        gap: 3rem;
    }

    .product-showcase.reverse .showcase-container {
        flex-direction: column !important;
    }

    .showcase-content {
        max-width: 100% !important;
        padding: 0;
    }

    .showcase-actions {
        justify-content: center;
        flex-direction: column;
        gap: 1.5rem;
    }

    .showcase-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .showcase-visual {
        height: auto;
        min-height: 300px;
        padding: 2rem 0;
    }

    .showcase-card {
        max-width: 90% !important;
        width: 100% !important;
        height: auto !important;
        padding: 1.5rem !important;
        margin: 0 auto;
    }

    .showcase-btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .container {
        padding: 0 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }

    .header-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 70px !important;
    }

    .section {
        padding: 60px 0 !important;
    }

    .hero-minimal {
        padding-top: 100px;
        height: auto;
        min-height: 80vh;
    }

    .hero-minimal h1 {
        font-size: clamp(3rem, 12vw, 4.5rem);
    }

    .feature-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Newsletter & Vision Grid Fix */
    .newsletter-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 3rem !important;
        margin-top: 60px !important;
        padding-top: 40px !important;
    }

    .newsletter-desc {
        max-width: 100% !important;
        margin: 0 auto;
    }

    .newsletter-form {
        flex-direction: column !important;
        width: 100% !important;
    }

    .newsletter-form input {
        width: 100% !important;
        margin-bottom: 1rem;
    }

    .newsletter-btn {
        width: 100% !important;
    }

    .vision-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    /* Newsletter Aggressive Fix */
    .newsletter-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        padding: 40px 1rem !important;
        border-top: 1px solid var(--glass-border);
    }

    .newsletter-form {
        display: flex !important;
        flex-direction: column !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        gap: 15px !important;
        width: 100% !important;
    }

    .newsletter-form input {
        width: 100% !important;
        height: 60px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid var(--glass-border) !important;
        border-radius: 15px !important;
        padding: 0 20px !important;
        margin: 0 !important;
    }

    .newsletter-btn {
        width: 100% !important;
        height: 60px !important;
        border-radius: 15px !important;
        margin: 0 !important;
    }

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

@media (max-width: 768px) {

    .desktop-nav,
    .desktop-only {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 25px;
        height: 2px;
        background: #fff;
        transition: 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        transform: translateY(0) rotate(-45deg);
    }
}

/* Animations for scroll bounce */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* FAQ to Footer Transition */
#faq {
    position: relative;
    padding-bottom: 150px !important;
}

#faq::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, transparent, #020203);
    pointer-events: none;
    z-index: 1;
}

/* --- Footer Redesign --- */
.site-footer {
    background: #020203;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    /* Removed harsh border-top */
}

.footer-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(106, 90, 205, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    position: relative;
    z-index: 2;
    margin-bottom: 80px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    margin-bottom: 1.2rem;
    font-size: 2.2rem !important;
}

.footer-about {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.social-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(106, 90, 205, 0.3);
    color: #fff;
}

.footer-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 1.2rem; /* Tightened title margin */
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem; /* Tightened link spacing */
}

.footer-legal-col .footer-links a {
    font-size: 0.88rem;
    opacity: 0.7;
}

.footer-legal-col .footer-links a:hover {
    opacity: 1;
}

.footer-payment-desc {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-card-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.card-visa {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: -0.5px;
    position: relative;
}

.card-visa::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -4px;
    width: 4px;
    height: 4px;
    background: #f7b600; /* Visa accent gold */
    border-radius: 50%;
    opacity: 0;
    transition: 0.3s;
}

.payment-card-box:hover .card-visa::after {
    opacity: 1;
}

.card-master {
    display: flex;
    align-items: center;
    position: relative;
    width: 28px;
    height: 18px;
}

.card-master::before,
.card-master::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    opacity: 0.6;
}

.card-master::before {
    background: #eb001b; /* MC Red */
    left: 0;
}

.card-master::after {
    background: #ff5f00; /* MC Orange */
    right: 0;
}

.ssl-badge {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-weight: 800;
    font-size: 0.75rem;
}

.lock-icon {
    font-size: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
    display: block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.footer-bottom {
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 3rem;
}

.footer-legal a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.footer-legal a:hover {
    color: #fff;
}

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


/* --- GLOBAL MOBILE UPDATES (991px) --- */
@media (max-width: 991px) {
    .site-footer .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4rem 1.5rem !important;
    }

    .footer-brand {
        grid-column: span 2 !important;
        margin-bottom: 50px !important;
    }

    .footer-links-group {
        grid-column: span 1 !important;
    }

    .footer-legal-col {
        grid-column: span 2 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 2.5rem;
    }
}

/* --- REFINED NEWSLETTER SECTION --- */
.newsletter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 80px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.newsletter-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 400px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 480px;
}

.newsletter-form input {
    flex: 1;
    height: 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0 20px;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.newsletter-btn {
    height: 56px;
    padding: 0 30px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.social-icon {
    font-size: 1.1rem !important; /* Proper size for FontAwesome icons */
}

@media (max-width: 991px) {
    .newsletter-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 50px 0;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
        gap: 15px;
    }

    .newsletter-form input,
    .newsletter-btn {
        width: 100%;
        height: 58px; /* Slightly larger for mobile tap targets */
    }

    .newsletter-desc {
        margin: 0 auto;
    }
}
