:root {
    /* Colors */
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --secondary: #0EA5E9;
    --accent: #F43F5E;
    --dark: #0F172A;
    --light: #F8FAFC;
    --gray: #64748B;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #0EA5E9 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(79, 70, 229, 0.15) 0%, rgba(15, 23, 42, 0) 70%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --section-padding: 3rem 0;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    gap: 0.5rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid rgba(79, 70, 229, 0.1);
}

.btn-secondary:hover {
    border-color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section {
    padding: var(--section-padding);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--gray);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: var(--gradient-glow);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    border: 8px solid #333;
}

.screen {
    background: var(--white);
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Abstract UI for Mockup */
.app-ui-placeholder {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-menu-icon,
.app-profile {
    width: 30px;
    height: 30px;
    background: #CBD5E1;
    border-radius: 50%;
}

.app-title {
    font-weight: 700;
    color: var(--dark);
}

.app-chart {
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 15px;
    width: 100%;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.app-card {
    height: 80px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}


.circle-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.color-1 {
    width: 300px;
    height: 300px;
    background: rgba(244, 63, 94, 0.1);
    top: 50px;
    right: -50px;
    filter: blur(40px);
}

.color-2 {
    width: 250px;
    height: 250px;
    background: rgba(14, 165, 233, 0.1);
    bottom: -50px;
    left: -50px;
    filter: blur(40px);
}

/* Features Section */
.features {
    background-color: #F8FAFC;
    background-image: url('assets/images/pattern.svg');
    background-size: 100px 100px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(79, 70, 229, 0.2);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Split Section (Retail/Medical) */
.split-section {
    padding: 3rem 0;
}

.bg-light {
    background: var(--light);
}

#medical {
    background-color: #F8FAFC;
    background-image: url('assets/images/pattern.svg');
    background-size: 100px 100px;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--gray);
}

.feature-list li i {
    color: var(--primary);
}

.badge-sm {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.split-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card-visual {
    height: 400px;
    width: 100%;
    background: transparent;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-visual:hover .feature-img {
    transform: scale(1.05);
}

/* Animations */
.fade-in-up,
.fade-in-right,
.fade-in-left {
    opacity: 0;
    transition: all 1s ease;
}

.fade-in-up {
    transform: translateY(50px);
}

.fade-in-right {
    transform: translateX(50px);
}

.fade-in-left {
    transform: translateX(-50px);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
}

.cta-box {
    background: var(--gradient-dark);
    padding: 4rem;
    border-radius: 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    min-width: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.store-btn {
    background: var(--white);
    color: var(--dark);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s;
}

.store-btn:hover {
    transform: translateY(-3px);
}

.store-btn i {
    font-size: 2rem;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-text .small {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.store-text .large {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

/* Footer */
.footer {
    background: var(--light);
    padding: 4rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col a {
    color: var(--gray);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.copyright {
    padding: 2rem 0;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .cta-group {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .feature-list {
        display: inline-block;
        text-align: left;
        margin-top: 2rem;
    }

    .feature-list li {
        justify-content: flex-start;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .hero::before {
        width: 100%;
        height: 100%;
        right: 0;
        top: 0;
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 2rem;
    }

    .app-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 250px;
        margin: 0 auto;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}