/* Modern SaaS Theme - Glassmorphism & Gradients */
:root {
    --primary-bg: #f3f4f6;
    --text-main: #111827;
    --text-muted: #6b7280;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --blur: 12px;
    --radius: 16px;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: #c084fc;
    animation: moveBlob1 20s infinite alternate;
}

.blob-2 {
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: #818cf8;
    animation: moveBlob2 25s infinite alternate;
}

@keyframes moveBlob1 {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(50px, 50px);
    }
}

@keyframes moveBlob2 {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-50px, -50px);
    }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
    background: white;
    color: #4f46e5;
    border: 1px solid #e5e7eb;
    margin-right: 15px;
    /* Added spacing */
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.btn-text {
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    margin-right: 20px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 30px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    transition: 0.3s ease;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Hero */
.hero {
    padding-top: 180px;
    padding-bottom: 80px;
    text-align: left;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    margin-bottom: 30px;
}

.trust-msg {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    height: 400px;
    position: relative;
    padding: 20px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: 0.5s;
}

.hero-visual:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.app-header {
    height: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    margin-right: 6px;
}

.bar {
    height: 20px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 15px;
    width: 80%;
}

.bar-1 {
    width: 60%;
    background: #c7d2fe;
}

.bar-2 {
    width: 80%;
    background: #a5b4fc;
}

.bar-3 {
    width: 40%;
    background: #818cf8;
}

.bar-4 {
    width: 70%;
    background: #6366f1;
}

/* Logos */
.logos-strip {
    margin-top: 80px;
    text-align: center;
}

.logos-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Features Bento Grid */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.bento-item {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-5px);
}

.item-large {
    grid-column: span 2;
}

.item-tall {
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
}

/* NEW UI COMPONENTS */

/* Analytics Chart */
.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    margin-bottom: 10px;
    width: fit-content;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.viz-analytics {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    padding-top: 20px;
}

.chart-container {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
}

.chart-bar {
    width: 12%;
    background: linear-gradient(to top, #c7d2fe, #6366f1);
    border-radius: 4px 4px 0 0;
    transition: 0.5s;
}

.bento-item:hover .chart-bar {
    filter: brightness(1.1);
}

.h-40 {
    height: 40%;
}

.h-60 {
    height: 60%;
}

.h-30 {
    height: 30%;
}

.h-80 {
    height: 80%;
}

.h-50 {
    height: 50%;
}

.h-90 {
    height: 90%;
}

.h-70 {
    height: 70%;
}


/* Chat Interface */
.chat-interface {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-msg {
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    max-width: 90%;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-msg.user {
    align-self: flex-end;
    background: #4f46e5;
    color: white;
    border-bottom-right-radius: 2px;
}

.chat-msg.ai {
    align-self: flex-start;
    background: white;
    color: var(--text-main);
    border-bottom-left-radius: 2px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.ai-avatar {
    width: 24px;
    height: 24px;
    background: #e0e7ff;
    color: #4f46e5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.chat-input-mock {
    height: 35px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    margin-top: auto;
}

/* Security Badges */
.security-card {
    justify-content: flex-start;
    gap: 15px;
}

.security-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.icon-feature {
    font-size: 1.8rem;
    color: #4f46e5;
    margin-bottom: 0px;
}

.security-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.sec-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.sec-badge i {
    color: #10b981;
}

.speed-stat {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4f46e5;
}

/* Pricing */
.pricing {
    padding: 80px 0;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    font-weight: 600;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    width: fit-content;
    margin: 20px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background-color: #4f46e5;
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.discount-badge {
    background: #dbeafe;
    color: #2563eb;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 5px;
    font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    padding: 40px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.featured {
    border: 2px solid #818cf8;
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4f46e5;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0 10px;
    color: var(--text-main);
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.features-list {
    text-align: left;
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-list i {
    color: #10b981;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Footer CTA */
.cta-footer {
    padding: 100px 0;
}

.cta-box {
    text-align: center;
    padding: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(199, 210, 254, 0.3));
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

/* Main Footer */
.main-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 60px 0;
    background: white;
}

.footer-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: #4f46e5;
}

.footer-bottom {
    margin-top: 60px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Glass Cookie Banner */
.glass-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2000;
    transform: translateY(200px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-banner.show {
    transform: translateY(0);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.banner-content i {
    color: #d97706;
}

/* Cookie color */
.banner-content a {
    color: #4f46e5;
    text-decoration: underline;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .item-large,
    .item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .glass-banner {
        left: 20px;
        flex-direction: column;
        text-align: center;
    }
}