/* Reset & Base */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --background: hsl(210, 20%, 98%);
    --foreground: hsl(210, 50%, 15%);
    --card: hsl(0, 0%, 100%);
    --primary: hsl(210, 50%, 25%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(45, 40%, 95%);
    --muted: hsl(210, 20%, 94%);
    --muted-foreground: hsl(210, 20%, 45%);
    --accent: hsl(150, 35%, 45%);
    --accent-foreground: hsl(0, 0%, 100%);
    --border: hsl(210, 20%, 90%);
    --radius: 0.75rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: hsl(210, 50%, 20%);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: var(--muted);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}


/* Header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(250, 251, 252, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
}

.logo img {
    width: 2rem;
    height: 2rem;
}

.logo span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-desktop {
    display: none;
}

.nav-desktop a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: var(--foreground);
}

.nav-cta {
    display: none;
}

.mobile-menu-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--foreground);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    color: var(--foreground);
    text-decoration: none;
    padding: 0.5rem 0;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        gap: 2rem;
    }
    .nav-cta {
        display: block;
    }
    .mobile-menu-btn {
        display: none;
    }
}


/* Hero */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5rem 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.hero-blob-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background-color: rgba(39, 64, 95, 0.05);
}

.hero-blob-2 {
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background-color: rgba(76, 140, 113, 0.1);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.hero-logo {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 1.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.text-primary {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.hero-note {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.75rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .hero-buttons {
        flex-direction: row;
    }
}


/* Section Headers */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}


/* Features */

.features {
    padding: 6rem 0;
    background-color: var(--card);
}

.features-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.feature-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    background-color: var(--background);
    border: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 32px -8px rgba(39, 64, 95, 0.15);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: rgba(39, 64, 95, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Pricing */

.pricing {
    padding: 6rem 0;
    background-color: var(--background);
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    padding: 2rem;
    border-radius: 1rem;
    background-color: var(--card);
    border: 1px solid var(--border);
}

.pricing-card-popular {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    box-shadow: 0 8px 32px -8px rgba(39, 64, 95, 0.15);
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--accent-foreground);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.pricing-amount {
    margin-bottom: 1.5rem;
}

.pricing-amount .price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-amount .period {
    font-size: 0.875rem;
    opacity: 0.8;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.pricing-features svg {
    flex-shrink: 0;
    color: var(--accent);
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Download */

.download {
    padding: 6rem 0;
    background-color: var(--card);
}

.download-grid {
    display: grid;
    gap: 2rem;
    max-width: 42rem;
    margin: 0 auto;
}

.download-card {
    padding: 2rem;
    border-radius: 1rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    text-align: center;
}

.qr-placeholder {
    width: 10rem;
    height: 10rem;
    margin: 0 auto 1.5rem;
    background-color: var(--muted);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border);
    color: var(--muted-foreground);
}

.download-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.download-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Footer */

.footer {
    padding: 3rem 0;
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    width: 2.5rem;
    height: 2.5rem;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--primary-foreground);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}