:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #f1f5f9;
    --accent: #0ea5e9;
    --bg-light: #ffffff;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-dim: #475569;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Elements */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f8faff;
    z-index: -1;
    overflow: hidden;
}

.light-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    z-index: -1;
    animation: floating 20s infinite alternate;
}

.blob-1 {
    top: -100px;
    right: -100px;
    background: var(--primary);
}

.blob-2 {
    bottom: -150px;
    left: -100px;
    background: var(--accent);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    animation-delay: -10s;
}

@keyframes floating {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Header */
header {
    width: 100%;
    padding: 0.65rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: var(--transition);
}

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

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
    background: var(--primary-dark);
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

/* Hero Section */
.hero {
    min-height: min(580px, calc(100vh - 92px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3.75rem 5% 3rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 6.6vw, 4.25rem);
    line-height: 1.1;
    margin-bottom: 1.1rem;
    max-width: 900px;
    color: var(--text-main);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 2.1rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Features */
.section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-dim);
}

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

@media (min-width: 1024px) {
    .features-grid.grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

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

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.feature-card h3 {
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-dim);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.pricing-card {
    background: var(--card-bg);
    padding: 3rem 2.5rem;
    border-radius: 32px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.pricing-card h3,
.pricing-card .amount {
    color: var(--text-main);
}

.pricing-card.popular {
    background: #eff6ff;
    border: 2px solid var(--primary);
    transform: scale(1.05);
    position: relative;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.price h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 800;
}

.amount small {
    font-size: 1rem;
    color: var(--text-dim);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dim);
}

/* FAQ */
.faq-section {
    position: relative;
}

.faq-section::before,
.faq-section::after {
    content: "";
    position: absolute;
    width: 86px;
    height: 86px;
    opacity: 0.26;
    background-image: radial-gradient(#93c5fd 1.4px, transparent 1.4px);
    background-size: 14px 14px;
    pointer-events: none;
}

.faq-section::before {
    left: 2%;
    top: 42%;
}

.faq-section::after {
    right: 3%;
    bottom: 16%;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 14px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: var(--primary);
    background: #eff6ff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.faq-section-header {
    margin-bottom: 1.6rem;
}

.faq-section-header h2 {
    margin-bottom: 0.5rem;
}

.faq-container {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
    border-color: #bfdbfe;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.faq-item.active {
    border-color: #dbeafe;
}

.faq-question {
    width: 100%;
    padding: 1.35rem 1.5rem;
    background: #ffffff;
    border: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    color: var(--text-main);
    text-align: left;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f8fbff;
}

.faq-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    background: #eef4ff;
    flex: 0 0 auto;
}

.faq-item:nth-child(2) .faq-icon {
    color: #10b981;
    background: #eafbf2;
}

.faq-item:nth-child(3) .faq-icon {
    color: #7c3aed;
    background: #f3ecff;
}

.faq-icon svg {
    width: 20px;
    height: 20px;
}

.faq-question-text {
    flex: 1;
    color: #0f172a;
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1.35;
}

.faq-chevron {
    color: #0f172a;
    display: inline-flex;
    transition: transform 0.2s ease;
    flex: 0 0 auto;
}

.faq-chevron svg {
    width: 20px;
    height: 20px;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 5rem 0 5.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.24s ease, padding 0.24s ease;
    color: #334155;
    line-height: 1.65;
    font-size: 0.98rem;
}

.faq-item.active .faq-answer {
    padding: 0 5rem 1.4rem 5.5rem;
    max-height: 260px;
}

/* Seamless Signup */
.seamless-signup {
    background: #f1f5f9;
    backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 4rem;
    display: flex;
    gap: 4rem;
    align-items: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.signup-info {
    flex: 1;
}

.signup-info h2 {
    color: var(--text-main);
}

.signup-info p {
    color: var(--text-dim);
}

.signup-form-box {
    flex: 1;
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: var(--text-main);
    background: #f8fafc;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary);
    background: #fff;
}

/* Footer */
footer {
    padding: 5rem 5% 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    background: #f8fafc;
}

/* Footer Info Section (Hover Cards / Accordion) */
.footer-info-section {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.footer-info-items {
    display: flex;
    gap: 2rem;
    position: relative;
}

.info-item {
    position: relative;
}

.info-trigger {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.info-trigger:hover,
.info-item:hover .info-trigger {
    color: var(--primary);
}

.mobile-chevron {
    display: none;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* Desktop Hover Card */
@media (min-width: 769px) {
    .info-trigger::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--primary);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .info-item:hover .info-trigger::after {
        transform: scaleX(1);
    }

    .info-panel {
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
        visibility: hidden;
        width: 380px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
        padding: 1.5rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10;
        margin-bottom: 1rem;
        pointer-events: none;
    }

    .info-item:hover .info-panel {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    /* Little pointer triangle */
    .info-panel::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background: #ffffff;
        border-right: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }
}

.info-panel-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    width: 24px;
    height: 24px;
}

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

.info-content h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.5;
}

.copyright {
    color: #94a3b8;
    font-size: 0.875rem;
}

@media (max-width: 992px) {
    .seamless-signup {
        flex-direction: column;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem 4%;
    }

    .logo img {
        height: 32px !important;
    }

    .nav-links {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    /* Actually, user said "tabs as if someone was using the desktop. Right next to each other" */
    .nav-links {
        display: flex !important;
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        white-space: nowrap;
    }

    .nav-links .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        min-height: auto;
        padding: 4rem 5% 3rem;
    }

    .hero p {
        margin-bottom: 1.75rem;
    }

    .section {
        padding: 3.5rem 5%;
    }

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

    /* Mobile Accordion overrides */
    .footer-info-section {
        padding: 0 1rem;
    }

    .footer-info-items {
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: var(--white);
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        overflow: hidden;
    }

    .info-item {
        border-bottom: 1px solid #e2e8f0;
    }

    .info-item:last-child {
        border-bottom: none;
    }

    .info-trigger {
        width: 100%;
        padding: 1.25rem;
        justify-content: space-between;
        color: var(--text-main);
    }

    .mobile-chevron {
        display: block;
        color: var(--text-dim);
    }

    .info-item.active .info-trigger {
        color: var(--primary);
    }

    .info-item.active .mobile-chevron {
        transform: rotate(180deg);
        color: var(--primary);
    }

    .info-panel {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background: #f8fafc;
    }

    .info-panel-inner {
        padding: 0 1.25rem 1.25rem;
    }

    .faq-section::before,
    .faq-section::after {
        display: none;
    }

    .faq-question {
        padding: 1rem;
        gap: 0.75rem;
    }

    .faq-icon {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .faq-answer,
    .faq-item.active .faq-answer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .faq-item.active .faq-answer {
        padding-bottom: 1.15rem;
    }
}

@media (max-width: 480px) {
    .nav-links a:not(.btn):not([href="#pricing"]) {
        display: none;
        /* Only show Pricing and Auth buttons on very small screens */
    }

    /* No specific changes for footer info needed here */
}
