@import "./style.css";
@import "./font.css";
@import "./variable.css";
@import "./header&footer.css";

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fff;
    color: #1e293b;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(160deg, #1e40af 0%, #2563eb 40%, #0ea5e9 100%);
    color: white;
    text-align: center;
    padding: 120px 20px 80px 20px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(160deg, #1e40af 0%, #2563eb 40%, #0ea5e9 100%);
    clip-path: ellipse(55% 100% at 50% 0%);
}
.hero h1 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.hero p {
    font-size: 18px;
    max-width: 620px;
    margin: 0 auto 30px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}
.hero .cta-button {
    display: inline-block;
    background: #10b981;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: none;
    transition: all 250ms;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    letter-spacing: 0.01em;
}
.hero .cta-button:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
}

/* ===== RATING ===== */
.rating {
    margin-top: 30px;
    font-size: 14px;
}
.rating span {
    background-color: #10b981;
    padding: 4px 12px;
    border-radius: 6px;
    margin: 0 5px;
    color: white;
    font-weight: 600;
}

/* ===== DEVICE PREVIEW ===== */
.device-preview {
    text-align: center;
    padding: 60px 20px;
}
.device-preview img {
    max-width: 88%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    backdrop-filter: blur(8px);
}
.spacer {
    height: 72px;
}
.navbar .logo {
    font-weight: bold;
    font-size: 24px;
    flex: 0 0 auto;
}
.navbar .menu-container {
    position: absolute;
    left: 85%;
    transform: translateX(-50%);
}
.navbar .menu {
    display: flex;
    gap: 25px;
    align-items: center;
}
.navbar .menu a {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    padding: 8px 16px;
    font-size: 14px;
    transition: all 200ms;
}
.navbar .menu a:hover {
    color: #fff;
}
.navbar .login {
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
}
.navbar .login:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.8);
}
.navbar .cta {
    background: #10b981;
    color: white;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
}
.navbar .cta:hover {
    background: #059669;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.feature-card {
    background: white;
    padding: 36px 24px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
    transition: all 300ms;
    text-align: center;
    border: 1px solid #f1f5f9;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: #e2e8f0;
}
.feature-card .icon {
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    color: #2563eb;
    font-size: 28px;
    width: 64px;
    height: 64px;
    line-height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
}
.feature-card h3 {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}
.feature-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.pricing-card {
    color: white;
    border-radius: 20px;
    padding: 44px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: all 300ms;
    text-align: center;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.pricing-card h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.pricing-card .icon {
    font-size: 44px;
    margin: 16px 0;
}
.pricing-btn {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 14px;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 200ms;
    letter-spacing: 0.02em;
}
.pricing-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-1px);
}

/* ===== WHY CHOOSE ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.why-box {
    text-align: center;
    padding: 16px 20px;
    border-radius: 16px;
    transition: all 300ms;
}
.why-box:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}
.why-box .icon {
    margin-bottom: 16px;
}
.why-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}
.why-box p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.features, .testimonials, .pricing, .cta, .footer {
    padding: 80px 40px;
    text-align: center;
}
.features h2, .testimonials h2, .pricing h2, .cta h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.cta {
    background: linear-gradient(160deg, #1e3a8a, #1e40af);
    color: white;
}
.cta h2 {
    font-size: 28px;
    font-weight: 800;
}
.cta p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin-bottom: 8px;
}
.cta button {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 250ms;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.cta button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }
    .hero h1 {
        font-size: 30px;
    }
    .hero p {
        font-size: 15px;
    }
    .navbar {
        padding: 12px 20px;
    }
    .features, .testimonials, .pricing, .cta, .footer {
        padding: 50px 20px;
    }
}

@media (max-width: 600px) {
    .why-box h4 {
        font-size: 16px;
    }
    .why-box p {
        font-size: 13px;
    }
    .hero h1 {
        font-size: 26px;
    }
}
