/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 700;
    font-size: 17px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--gray-900);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.btn-primary {
    background: var(--blue-600);
    color: var(--white);
    box-shadow: var(--shadow-sm), 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.btn-primary:hover {
    background: var(--blue-700);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(37, 99, 235, 0.2);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 8px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
}

/* ===== Hero ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue-600), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.hero-note {
    font-size: 13px;
    color: var(--gray-400);
}

.hero-image {
    flex-shrink: 0;
}

.app-icon-hero {
    width: 260px;
    height: 260px;
    border-radius: 48px;
    filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.3));
}

/* ===== Screenshot ===== */
.screenshot-section {
    padding: 0 0 60px;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.screenshot-wrapper {
    max-width: 680px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.app-screenshot {
    width: 100%;
    display: block;
}

/* ===== Sites Bar ===== */
.sites-bar {
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-200);
}

.sites-label {
    text-align: center;
    font-size: 13px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.sites-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.sites-list span {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-500);
}

/* ===== Features ===== */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--blue-200, #bfdbfe);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--blue-600);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Pricing ===== */
.pricing {
    padding: 100px 0;
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
}

.pricing-card-featured {
    border-color: var(--blue-600);
    border-width: 2px;
    box-shadow: var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue-600);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
}

.price-note {
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    color: var(--blue-600);
    flex-shrink: 0;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 100px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--blue-600);
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.step p {
    font-size: 15px;
    color: var(--gray-500);
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--gray-50);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px;
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--gray-50);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.2s;
}

.contact-info-item:hover {
    border-color: var(--blue-200, #bfdbfe);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--blue-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-600);
    flex-shrink: 0;
}

.contact-info-item h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--gray-300);
    background: var(--white);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    margin-top: 4px;
}

/* ===== Download CTA ===== */
.download {
    padding: 100px 0;
}

.download-container {
    text-align: center;
}

.download-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    margin-bottom: 24px;
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.25));
}

.download h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.download p {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.download-note {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 16px;
}

/* ===== Footer ===== */
.footer {
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-600);
}

.footer-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-right a {
    text-decoration: none;
    color: var(--gray-500);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-right a:hover {
    color: var(--gray-700);
}

/* ===== Responsive — Tablet (1024px) ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-container {
        gap: 40px;
    }

    .app-icon-hero {
        width: 200px;
        height: 200px;
        border-radius: 40px;
    }

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

    .section-title {
        font-size: 30px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .features,
    .pricing,
    .how-it-works,
    .faq,
    .contact,
    .download {
        padding: 72px 0;
    }

    .screenshot-wrapper {
        max-width: 560px;
    }
}

/* ===== Responsive — Mobile (768px) ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Nav */
    .nav-container {
        height: 56px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a:not(.btn) {
        display: none;
    }

    .logo span {
        font-size: 15px;
    }

    /* Hero */
    .hero {
        padding: 100px 0 48px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-lg {
        padding: 12px 22px;
        font-size: 15px;
    }

    .app-icon-hero {
        width: 140px;
        height: 140px;
        border-radius: 28px;
    }

    .hero-image {
        order: -1;
    }

    /* Screenshot */
    .screenshot-section {
        padding: 0 0 40px;
    }

    .screenshot-wrapper {
        max-width: 100%;
        border-radius: var(--radius);
    }

    /* Sites */
    .sites-bar {
        padding: 28px 0;
    }

    .sites-list {
        gap: 16px;
    }

    .sites-list span {
        font-size: 13px;
    }

    /* Features */
    .features,
    .pricing,
    .how-it-works,
    .faq,
    .contact,
    .download {
        padding: 56px 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .contact-info-item {
        min-width: 200px;
        flex: 1;
    }

    .contact-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 36px;
    }

    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    /* Pricing */
    .pricing-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .price {
        font-size: 40px;
    }

    /* Steps */
    .steps-grid {
        margin-top: 36px;
        gap: 32px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    /* FAQ */
    .faq-grid {
        margin-top: 36px;
    }

    .faq-item {
        padding: 20px;
    }

    /* Download CTA */
    .download-icon {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .download h2 {
        font-size: 28px;
    }

    .download p {
        font-size: 16px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ===== Responsive — Small Mobile (480px) ===== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .app-icon-hero {
        width: 120px;
        height: 120px;
        border-radius: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .sites-list span {
        font-size: 12px;
    }

    .sites-list {
        gap: 12px;
    }
}
