/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

/* Container */
._container {
    min-height: 100vh;
    background: linear-gradient(to bottom right, #f0fdf4, #f7fee7, #ecfdf5);
    position: relative;
    overflow-x: hidden;
}

/* Background Blobs - Mobile First */
.bg-blob-1 {
    position: fixed;
    top: -5%;
    right: -10%;
    width: 15rem;
    height: 15rem;
    background: rgba(134, 239, 172, 0.3);
    border-radius: 9999px;
    filter: blur(60px);
    z-index: 0;
}

.bg-blob-2 {
    position: fixed;
    bottom: -5%;
    left: -10%;
    width: 15rem;
    height: 15rem;
    background: rgba(217, 249, 157, 0.6);
    border-radius: 9999px;
    filter: blur(60px);
    z-index: 0;
}

.bg-blob-3 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15rem;
    height: 15rem;
    background: rgba(110, 231, 183, 0.2);
    border-radius: 9999px;
    filter: blur(60px);
    z-index: 0;
}

/* Navigation - Mobile First */
.navbar {
    position: relative;
    z-index: 10;
    background: transparent;
    padding: 1rem 0;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-icon {
    margin-top: 2px;
    width: 32px;
    height: 32px;
}

.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: #065f46;
    letter-spacing: -0.5px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* Buttons - Mobile First */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    text-align: center;
}

.btn-outline {
    border: 2px solid #10b981;
    color: #10b981;
    background: transparent;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-outline:hover {
    background-color: #10b981;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

.btn-outline-large {
    border: 2px solid #10b981;
    color: #10b981;
    background: transparent;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: 100%;
}

.btn-outline-large:hover {
    background-color: #10b981;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.3);
}

.btn-cta {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    width: 100%;
    max-width: 280px;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

/* Hero Section - Mobile First */
.hero-section {
    padding: 2rem 0;
    animation: fade-in 0.8s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    text-align: center;
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #065f46;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1rem;
    color: #047857;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.features-list {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #6b7280;
    font-size: 0.85rem;
}

/* Phone Mockup - Mobile First */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
}

.phone-mockup {
    width: 200px;
    height: 400px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 0 0 8px #1f2937, 0 0 0 10px #e5e7eb;
    animation: phone-float 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes phone-float {
    0%, 100% { 
        transform: translateY(0) rotate(-1deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(1deg); 
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #f0fdf4, #ecfdf5);
}

.phone-header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-notch {
    width: 90px;
    height: 18px;
    background: #1f2937;
    border-radius: 0 0 15px 15px;
}

.phone-content {
    padding: 15px;
}

.scan-animation {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.scan-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: scan-line 2s ease-in-out infinite;
}

@keyframes scan-line {
    to { 
        left: 100%; 
    }
}

.product-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-card {
    height: 50px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    animation: card-slide-in 0.6s ease-out backwards;
}

@keyframes card-slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stats Section - Mobile First */
.stats-section {
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-card {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #6b7280;
    margin: 0;
    font-size: 0.9rem;
}

/* Section Headers - Mobile First */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 0.75rem;
}

.section-description {
    font-size: 0.95rem;
    color: #6b7280;
    padding: 0 1rem;
}

/* Features Section - Mobile First */
.features-section {
    padding: 2rem 0;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.1);
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.feature-card-container:hover .feature-card {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-icon {
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card-container:hover .feature-icon {
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #6b7280;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* How It Works Section - Mobile First */
.how-it-works-section {
    padding: 3rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.step-card {
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.1);
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.step-icon {
    display: inline-block;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #6b7280;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CTA Section - Mobile First */
.cta-section {
    padding: 3rem 0;
}

.cta-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 2px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 0.95rem;
    color: #047857;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Footer - Mobile First */
.footer {
    padding: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-copyright {
    color: #6b7280;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #10b981;
}

.footer-separator {
    color: #6b7280;
}

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
    html {
        font-size: 17px;
    }

    .bg-blob-1,
    .bg-blob-2,
    .bg-blob-3 {
        width: 24rem;
        height: 24rem;
        filter: blur(80px);
    }

    .nav-content {
        padding: 0 2rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .brand-name {
        font-size: 1.4rem;
    }

    .btn-outline {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 1rem 0;
    }

    .hero-content {
        text-align: left;
    }

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

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

    .button-group {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }

    .btn-primary,
    .btn-outline-large {
        width: auto;
        padding: 0.875rem 2rem;
    }

    .features-list {
        justify-content: flex-start;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

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

    .section-title {
        font-size: 2.25rem;
    }

    .section-description {
        font-size: 1.05rem;
        padding: 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .steps-grid {
        gap: 3rem;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .cta-description {
        font-size: 1.05rem;
    }

    .cta-card {
        padding: 3.5rem 2rem;
    }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
    html {
        font-size: 18px;
    }

    .bg-blob-1,
    .bg-blob-2,
    .bg-blob-3 {
        width: 30rem;
        height: 30rem;
        filter: blur(100px);
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .btn-outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-section .container {
        display: flex;
        gap: 4rem;
        justify-content: space-evenly;
        align-items: center;
        min-height: calc(100vh - 150px);
    }

    .hero-content {
        margin-bottom: 0;
        max-width: 55%;
    }

    .hero-title {
        font-size: 3.25rem;
        letter-spacing: -1px;
    }

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

    .badge {
        font-size: 0.9rem;
    }

    .button-group {
        gap: 0.875rem;
    }

    .btn-primary,
    .btn-outline-large {
        font-size: 1rem;
        padding: 0.875rem 1.75rem;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
    }

    .stats-section {
        padding: 3rem 0;
    }

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

    .stat-label {
        font-size: 1rem;
    }

    .features-section,
    .how-it-works-section {
        padding: 4rem 0;
    }

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

    .section-title {
        font-size: 2.25rem;
    }

    .section-description {
        font-size: 1.05rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 0.95rem;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .step-card {
        padding: 2.5rem 2rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        top: -25px;
    }

    .step-icon svg {
        width: 60px;
        height: 60px;
    }

    .step-title {
        font-size: 1.25rem;
    }

    .cta-section {
        padding: 5rem 0;
    }

    .cta-card {
        padding: 4rem 3rem;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .cta-description {
        font-size: 1.05rem;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 0.875rem 1.75rem;
    }
}

/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Extra Large Desktop (1600px and up) */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }

    .nav-content {
        max-width: 1600px;
    }

    .hero-section .container {
        justify-content: space-around;
    }

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

@media only screen and (max-height: 800px) {
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
}