:root {
    --bg-dark: #070914;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --primary-color: #6366f1;
    /* Indigo */
    --accent-color: #a855f7;
    /* Purple */
    --secondary-accent: #3b82f6;
    /* Blue */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    /* subtle frosted glass border */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans SC', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Background Mesh Gradients Animation */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-dark);
}

.color-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.4;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--secondary-accent) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

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

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.gradient-text {
    background: linear-gradient(135deg, #a855f7, #6366f1, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--primary-color);
}

.highlight-bg {
    background: linear-gradient(135deg, #a855f7, #6366f1);
    color: white;
}

/* Layout Padding & Utilities */
.section-padding {
    padding: 7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Primary Button Styling */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #ffffff;
    color: #070914;
    padding: 1.1rem 2.4rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.15rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -10px rgba(255, 255, 255, 0.8);
    background: #f8fafc;
}

.btn-primary-sm {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary-sm:hover {
    background: white;
    color: #070914;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1.1rem 2.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.15rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    white-space: nowrap;
}

.btn-secondary:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.2);
}

/* Navigation System */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 9, 20, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.brand-icon {
    height: 2.4rem;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.4));
}

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

.nav-links a:not(.btn-primary-sm):not(.store-link) {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn-primary-sm):not(.store-link):hover {
    color: var(--primary-color);
}

.store-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.store-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

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

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.15;
    margin-bottom: 1.8rem;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    min-height: 4rem;
    /* reserved space for typewriter */
}

.typewriter-text {
    color: #fff;
    font-weight: 700;
    border-right: 3px solid var(--primary-color);
    padding-right: 4px;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent
    }
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap; /* allow wrapping between buttons and stats */
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap; /* allow wrapping if on really small screens */
}

.stats {
    display: flex;
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #e2e8f0;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

.hero-cards-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.main-dashboard-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    transform: rotateY(-8deg) rotateX(4deg);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 3rem 2.5rem;
    border-radius: 28px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-cards-container:hover .main-dashboard-card {
    transform: rotateY(0) rotateX(0);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    color: #e2e8f0;
    font-size: 1.1rem;
}

.card-header i {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.task-list {
    list-style: none;
}

.task-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.task-list .done {
    color: var(--text-secondary);
    text-decoration: line-through;
}

.task-list .done i {
    color: #10b981;
    font-size: 1.2rem;
}

.task-list .active {
    color: #fff;
    font-weight: 500;
}

.task-list .active i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.time-saved-badge {
    position: absolute;
    bottom: -35px; /* Moved from -15px to -35px */
    right: -25px;
    z-index: 2;
    padding: 1rem 1.8rem;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.time-saved-badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(99, 102, 241, 0.2);
}

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

.badge-text strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 0.1rem;
    color: #fff;
    font-weight: 700;
}

.badge-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.float-anim-1 {
    animation: smooth-float 6s ease-in-out infinite;
}

.float-anim-2 {
    animation: smooth-float-reverse 5s ease-in-out infinite;
}

@keyframes smooth-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes smooth-float-reverse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.service-card {
    transition: transform 0.4s ease, background 0.4s ease;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.08);
    border-top-color: var(--primary-color);
}

.icon-wrapper {
    width: 65px;
    height: 65px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 1.8rem;
    box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.1);
}

.service-card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Compare Strategy Section */
.compare-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.compare-card {
    position: relative;
    padding: 3.5rem 2.5rem 2.5rem;
}

.card-badge {
    position: absolute;
    top: -18px;
    left: 2.5rem;
    background: #1e293b;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-card ul {
    list-style: none;
}

.compare-card li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.traditional {
    opacity: 0.8;
}

.traditional li {
    color: var(--text-secondary);
}

.traditional i {
    color: #ef4444;
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.modern {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.modern i {
    color: #10b981;
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

/* Contact Final Conversion */
.contact-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(168, 85, 247, 0.08));
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.contact-content {
    max-width: 55%;
}

.contact-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.contact-content p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
}

.contact-methods {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.method i {
    color: #10b981;
    font-size: 2.2rem;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.qr-code-placeholder {
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.qr-code-placeholder:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.08);
}

.qr-mockup {
    text-align: center;
    color: var(--text-secondary);
}

.qr-mockup i {
    font-size: 4.5rem;
    margin-bottom: 0.8rem;
    display: block;
    color: var(--primary-color);
}

/* Footer Section */
footer {
    text-align: center;
    padding: 2.5rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--glass-border);
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.2);
}

/* Intersection Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay staggered animations */
.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
        gap: 4rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
        gap: 1.2rem;
    }

    .compare-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 3.5rem;
        padding: 3rem 2rem;
    }

    .contact-content {
        max-width: 100%;
    }

    .contact-methods {
        flex-direction: column;
        justify-content: center;
    }

    .visual-wrapper {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    /* Navbar */
    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    /* General padding */
    .section-padding {
        padding: 4rem 1.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

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

    /* Hero Section */
    .hero {
        padding-top: 7rem;
        gap: 2.5rem;
    }

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

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
        min-height: 4.5rem;
    }

    .btn-primary {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

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

    .main-dashboard-card {
        padding: 1.8rem;
        transform: none !important;
    }

    .time-saved-badge {
        position: absolute;
        bottom: -35px; /* Moved from -20px to -35px on mobile */
        right: -10px;
        padding: 0.8rem 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.8rem;
    }

    /* Compare Section */
    .compare-card {
        padding: 3rem 1.5rem 2rem;
    }

    .card-badge {
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        top: -16px;
    }

    .compare-card li {
        font-size: 0.95rem;
        gap: 0.8rem;
    }

    /* Contact Section */
    .contact-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .contact-content h2 {
        font-size: 2.2rem;
    }

    .contact-content p {
        font-size: 1rem;
    }

    .method {
        font-size: 1.1rem;
    }

    .qr-code-placeholder {
        width: 180px;
        height: 180px;
    }

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