/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #0044cc;
    /* Royal Blue */
    --primary-light: #4d88ff;
    --accent: #ff9900;
    /* Orange Accent */
    --accent-hover: #e68a00;
    --bg-body: #e6f2ff;
    /* Light Sky Blue Background */
    --bg-surface: #ffffff;
    --text-main: #334455;
    --text-heading: #002244;
    --border: #cce0ff;
    --shadow-sm: 0 2px 4px rgba(0, 68, 204, 0.1);
    --shadow-md: 0 6px 12px -2px rgba(0, 68, 204, 0.1);
    --shadow-lg: 0 15px 25px -5px rgba(0, 68, 204, 0.15);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-fade {
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-scale {
    animation: scaleIn 0.6s ease-out forwards;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 68, 204, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 68, 204, 0.05) 0%, transparent 20%);
    color: var(--text-main);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    /* Zero vertical padding for 120px logo */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
}

nav a,
.dropbtn {
    color: var(--text-main);
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

nav a:hover,
.dropbtn:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    /* Hidden on desktop */
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 2rem 6rem;
    background: linear-gradient(180deg, var(--bg-body) 0%, #ffffff 100%);
    color: var(--text-heading);
}

.page-hero {
    text-align: center;
    padding: 5rem 2rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.hero h1,
.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--primary);
}

.hero p,
.page-hero p {
    font-size: 1.25rem;
    color: var(--text-main);
    max-width: 600px;
    margin: 0 auto;
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.content {
    text-align: center;
    padding: 5rem 2rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(255, 153, 0, 0.4);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
}

.sticky-cta:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--accent-hover);
}

/* Stats Section */
.stats-section {
    background: #fff;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.stat-item {
    min-width: 200px;
}

.stat-item h2 {
    color: var(--primary);
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
}

.stat-item p {
    font-weight: 600;
    color: var(--text-main);
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 153, 0, 0.4);
}

.primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.secondary {
    background: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.secondary:hover {
    background: var(--primary);
    color: #fff;
}

/* Cards & Layout */
.product-selection,
.features-grid,
.screenshots {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.product-card,
.feature-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.product-card {
    max-width: 500px;
    text-align: left;
}

.product-card:hover,
.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-card h3,
.feature-item h3 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-top: 0;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 0.5rem 0;
    z-index: 1001;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 0.85rem 1.5rem;
    display: block;
}

.dropdown-content a:hover {
    background: var(--bg-body);
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Footer */
footer {
    background: #1e293b;
    /* Deep Slate - More grounded and professional */
    color: #f8fafc;
    padding: 5rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-col h3 {
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-col a {
    display: block;
    color: #94a3b8;
    /* Muted links */
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
    /* Orange hover on dark background looks great */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
}

.modal-box input,
.modal-box select,
.modal-box textarea {
    width: 100%;
    padding: 0.85rem;
    margin: 0.5rem 0 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-body);
    font-family: inherit;
}

.phone-group {
    display: flex;
    gap: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .navbar {
        padding: 1rem 1.5rem;
    }

    .hamburger {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }

    nav.active {
        display: flex;
    }

    nav a,
    .dropbtn {
        margin: 0.5rem 0;
        width: 100%;
        text-align: left;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        background: var(--bg-body);
    }
}

/* Rocket Submission Animation */
@keyframes rocketVibrate {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-2px) rotate(-1deg);
    }

    50% {
        transform: translateY(0) rotate(1deg);
    }

    75% {
        transform: translateY(-2px) rotate(-1deg);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes rocketPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 153, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 153, 0, 0);
    }
}

.rocket-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
}

.rocket-icon {
    font-size: 4rem;
    animation: rocketVibrate 0.2s infinite;
}

.rocket-text {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}