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

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

body {
    background-color: #04101a; /* Very dark deep blue body */
    color: #ffffff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Master container for the page width */
.page-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-sizing: border-box;
}

/* 1. Navbar: Floating wide pill */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 999px;
    padding: 0.75rem 0.75rem 0.75rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: white;
}

.brand svg {
    color: #38bdf8;
    width: 18px;
}

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

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-login {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-login:hover {
    background: rgba(255,255,255,0.1);
}

.btn-get-started {
    background: linear-gradient(135deg, #0ea5e9, #2dd4bf);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
}

/* 2. The Hero Card (Massive block with the image) */
.hero-card {
    position: relative;
    width: 100%;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    padding: 5rem 2rem;
    text-align: center;
    overflow: hidden;
    /* The fluid wave image goes HERE */
    background: url('../img/new-theme-bg.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Dark overlay to ensure text is legible over the fluid wave */
.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6, 17, 36, 0.6);
    z-index: 0;
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.hero-card h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-card .subtitle {
    font-size: 1.25rem;
    color: #38bdf8;
    font-weight: 600;
}

.hero-card .desc {
    color: #cbd5e1;
    font-size: 0.9rem;
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.5;
}

.btn-explore {
    margin-top: 1rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 0.95) 100%);
    border: 1px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255,255,255,0.1);
    color: white;
    padding: 0.75rem 2.5rem;
    border-radius: 999px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn-explore .main-text {
    font-size: 1rem;
    font-weight: 600;
}

.btn-explore .sub-text {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 0.1rem;
}

/* 3. Features Row */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.icon-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-box.green { background: rgba(45, 212, 191, 0.1); color: #2dd4bf; border: 1px solid rgba(45, 212, 191, 0.2); }
.icon-box.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.icon-box.cyan { background: rgba(6, 182, 212, 0.1); color: #06b6d4; border: 1px solid rgba(6, 182, 212, 0.2); }
.icon-box svg { width: 18px; }

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* 4. Pricing Row */
.section-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card.pro {
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing-card h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.pricing-card.pro h3 {
    color: #2dd4bf;
}

.pricing-card .price {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-card.pro .price {
    color: #2dd4bf;
}

.pricing-card .price span {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 400;
}

.specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.spec-item .label {
    color: #94a3b8;
}

.spec-item .val {
    font-weight: 600;
    color: white;
}

.btn-plan {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: auto;
    transition: background 0.2s;
}

.btn-plan:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pricing-card.pro .btn-plan {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
    color: #2dd4bf;
}

/* 5. Footer Box */
.footer-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 1rem 2rem;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: white;
}

/* === BENTO & EXPANDED UI === */
.page-container {
    max-width: 1200px !important;
}

.hero-dashboard-img {
    width: 90%;
    margin: -3rem auto 0;
    display: block;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.hero-dashboard-img:hover {
    transform: translateY(-10px);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bento-card.col-span-2 { grid-column: span 2; }
.bento-card.col-span-4 { grid-column: span 4; }

.bento-img-wrapper {
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.0) 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.bento-img-wrapper img {
    max-width: 90%;
    height: auto;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
}

.bento-content {
    padding: 1.5rem;
    text-align: center;
}

.bento-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bento-content p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Glass Table for Pricing */
.glass-table-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    margin-top: 3rem;
    overflow-x: auto;
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 700px;
}

.glass-table th, .glass-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-table th {
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.glass-table tr:last-child td {
    border-bottom: none;
}

.glass-table td {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.glass-table td i.fa-check {
    color: #2dd4bf;
    background: rgba(45, 212, 191, 0.1);
    padding: 0.3rem;
    border-radius: 50%;
}

.glass-table td i.fa-xmark {
    color: #f43f5e;
    background: rgba(244, 63, 94, 0.1);
    padding: 0.3rem 0.4rem;
    border-radius: 50%;
}

/* SPOTLIGHT EFFECT */
.spotlight-card {
    position: relative;
    overflow: hidden;
}

.spotlight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(56, 189, 248, 0.15), transparent 40%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.spotlight-card > * {
    position: relative;
    z-index: 1;
}

/* FAQ Accordion */
.faq-section {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 0.3s;
    color: #38bdf8;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .bento-grid, .pricing-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    .bento-card.col-span-2, .bento-card.col-span-4 {
        grid-column: span 1;
    }
    .hero-card {
        padding: 3rem 1.5rem;
    }
    .hero-dashboard-img {
        width: 100%;
    }
}
