@font-face {
    font-family: "Qurova DEMO";
    src:
        url("../fonts/QurovaDEMO-Regular.woff2") format("woff2"),
        url("../font/QurovaDEMO-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Qurova DEMO";
    src:
        url("../fonts/QurovaDEMO-Light.woff2") format("woff2"),
        url("../fonts/QurovaDEMO-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --accent: #4ade80;
    --accent-dim: #22c55e;
    --text: #eeeeee;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --gradient-green: linear-gradient(135deg, #40c771 0%, #17ba53 100%);
    --bsuite-regular-font: "DM Sans", sans-serif;
    --bsuite-heading-font: "Qurova DEMO", sans-serif;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    --gradient-orange: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --shadow-glow: 0 0 60px rgba(74, 222, 128, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--bsuite-regular-font);
    background: var(--bg-primary);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background-image:
        linear-gradient(rgba(74, 222, 128, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 222, 128, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}

.bg-glow {
    position: fixed;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    z-index: -2;
    background: radial-gradient(ellipse, rgba(74, 222, 128, 0.08) 0%, transparent 60%);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    img{
    max-width: 9rem;

    }
}

.logo-star {
    width: 28px;
    height: 28px;
    fill: var(--accent);
}

.logo span {
    color: var(--text-secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    text-transform: uppercase;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.nav-cta {
    display: flex;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    font-family: var(--bsuite-heading-font);
    font-weight: 400;
}
.btn span {
    font-family: var(--bsuite-regular-font);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-primary {
    background: var(--gradient-green);
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.5);
}

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 2rem 4rem;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeUp 0.8s ease forwards;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem 0.4rem 0.4rem;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.badge-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.hero-badge span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hero-badge strong {
    color: var(--accent);
}


.hero h1 {
    font-family: var(--bsuite-heading-font);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero h1 .highlight {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeUp 0.8s 0.2s ease forwards;
    opacity: 0;
}

.dashboard-frame {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.frame-header {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.frame-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.frame-dot:nth-child(1) {
    background: #ef4444;
}

.frame-dot:nth-child(2) {
    background: #f59e0b;
}

.frame-dot:nth-child(3) {
    background: #22c55e;
}

.frame-content {
    aspect-ratio: 16/10;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    overflow: hidden;
   
}
 .frame-content img{
        width: 100%;
    }

.float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-1 {
    top: 5%;
    left: -30px;
}

.float-2 {
    bottom: 20%;
    right: -40px;
    animation-delay: -1.5s;
}

.float-3 {
    top: 40%;
    left: -50px;
    animation-delay: -3s;
}

.float-icon {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.float-title {
    font-weight: 600;
    font-size: 0.8rem;
}

.float-sub {
    font-size: 0.7rem;
    color: var(--accent);
}

/* Trust */
.trust-bar {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(22, 22, 22, 0.5);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trust-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

.trust-logos span {
    font-size: 1.5rem;
}

/* Products Section */
.products {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    position: relative;
}

.products::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(74, 222, 128, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--bsuite-heading-font);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title .highlight {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-card {
    display: grid;
    grid-template-columns: auto 1fr 1.2fr;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-green);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover {
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.product-icon {
    width: 64px;
    height: 64px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
}

.product-content {
    flex: 1;
}

.product-name {
    font-family: var(--bsuite-heading-font);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.product-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin-bottom: 1.25rem;
}

.product-features li {
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all 0.3s;
}

.product-card:hover .product-features li {
    border-color: rgba(74, 222, 128, 0.2);
    color: var(--text-secondary);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.3s;
    font-family: var(--bsuite-heading-font);
    font-weight: 400;
}

.product-link:hover {
    gap: 0.75rem;
}

.product-link svg {
    width: 18px;
    height: 18px;
}

.product-visual {
    flex-shrink: 0;
}

.product-mockup {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    min-width: 320px;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .float-card {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .product-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-icon {
        margin: 0 auto;
    }

    .product-features {
        justify-content: center;
    }

    .product-visual {
        order: -1;
    }

    .product-mockup {
        min-width: auto;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 1rem 1rem;
    }
    nav .btn {
        padding: 0.4rem 0.9rem;
    }
    .hero-cta .btn{
        width: 100%;
        justify-content: center;
    }

    .products {
        padding: 4rem 1rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .hero {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .hero-container {
        display: flex;
        flex-flow: wrap;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-mockup {
        min-width: auto;
    }
}

/* Product Detail Sections */
.product-detail {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.product-detail.alt-bg {
    background: var(--bg-secondary);
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.detail-title {
    font-family: var(--bsuite-heading-font);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.product-logo {
    display: inline-block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.detail-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Video Showcase */
.video-showcase {
    position: relative;
    margin-bottom: 4rem;
}

.video-frame {
    position: relative;
    aspect-ratio: 16/9;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    color: var(--text-muted);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 40px rgba(74, 222, 128, 0.4);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(74, 222, 128, 0.6);
}

.play-button svg {
    width: 30px;
    height: 30px;
    fill: var(--bg-primary);
    margin-left: 4px;
}

.video-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(74, 222, 128, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Feature Blocks */
.detail-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.feature-block {
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.feature-block:hover {
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateY(-4px);
}

.feature-icon-large {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-block h4 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-block p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Screenshots Gallery */
.screenshots-gallery {
    margin-bottom: 3rem;
}

.screenshot-main {
    margin-bottom: 1.5rem;
}

.screenshot-frame {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.screenshot-frame:hover {
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.screenshot-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(74, 222, 128, 0.05) 100%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.screenshot-frame.small .screenshot-placeholder {
    aspect-ratio: 4/3;
    font-size: 0.8rem;
}

.detail-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

@media (max-width: 640px) {
    .product-detail {
        padding: 4rem 1rem;
    }

    .detail-features {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: 1fr 1fr;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button svg {
        width: 24px;
        height: 24px;
    }
}

/* Features Section - Bento Grid */
.features {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    position: relative;
}

.features::before {
    content: "";
    position: absolute;
    top: 20%;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(74, 222, 128, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-green);
    opacity: 0;
    transition: opacity 0.3s;
}

.bento-card:hover {
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.bento-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* AI Card Special Styling */
.ai-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(74, 222, 128, 0.05) 100%);
}

.ai-visual-demo {
    margin-top: 1.5rem;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-pulse {
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    border-radius: 50%;
    animation: ai-pulse 2s ease-in-out infinite;
}

@keyframes ai-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.ai-lines {
    position: absolute;
    display: flex;
    gap: 8px;
}

.ai-lines span {
    width: 3px;
    height: 40px;
    background: var(--accent);
    border-radius: 2px;
    animation: ai-wave 1s ease-in-out infinite;
}

.ai-lines span:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-lines span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes ai-wave {
    0%,
    100% {
        transform: scaleY(0.5);
        opacity: 0.5;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Award Badges */
.award-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.mini-badge {
    padding: 0.35rem 0.75rem;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
}

/* Language Tags */
.language-tags {
    display: flex;
    gap: 0.4rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.language-tags span {
    padding: 0.3rem 0.6rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.language-tags span:last-child {
    background: rgba(74, 222, 128, 0.1);
    color: var(--accent);
}

/* Worker Types */
.worker-types {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.worker-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.worker-badge:hover {
    border-color: rgba(74, 222, 128, 0.3);
    color: var(--text);
}

.worker-badge span {
    font-size: 1rem;
}

/* Search Demo */
.search-demo {
    margin-top: 1rem;
}

.search-input-demo {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Analytics Demo */
.analytics-demo {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.query-bubble {
    padding: 0.6rem 1rem;
    background: var(--bg-secondary);
    border-radius: 12px 12px 12px 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    align-self: flex-start;
}

.response-bubble {
    padding: 0.75rem 1rem;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 12px 12px 4px 12px;
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.response-bubble span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
}

.mini-chart .bar {
    width: 6px;
    background: var(--accent);
    border-radius: 2px;
    animation: bar-grow 1s ease forwards;
}

@keyframes bar-grow {
    from {
        height: 0;
    }
}

/* Calendar Icons */
.calendar-icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 1.5rem;
}

/* Mobile Preview */
.mobile-preview {
    margin-top: 1rem;
    text-align: center;
}

.phone-frame {
    font-size: 3rem;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .features {
        padding: 4rem 1rem;
        /* width: 100%; */
        overflow: hidden;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }

    .worker-types {
        justify-content: center;
    }
}

/* AI Engine Section */
.ai-engine {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.ai-engine::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(74, 222, 128, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.ai-engine-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* AI Showcase Grid */
.ai-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.ai-demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.75rem;
    transition: all 0.4s;
}

.ai-demo-card:hover {
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.demo-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.demo-icon {
    width: 48px;
    height: 48px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.demo-header h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.demo-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Chatbot Window */
.chat-window {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.chat-messages-demo {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 220px;
}

.msg {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.5;
    animation: msg-appear 0.4s ease forwards;
}

@keyframes msg-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.user-msg {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    align-self: flex-end;
    border-radius: 16px 16px 4px 16px;
    color: var(--text);
}

.bot-msg {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    align-self: flex-start;
    border-radius: 16px 16px 16px 4px;
    color: var(--text);
}

.bot-msg strong {
    color: var(--accent);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.25rem 0;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {
    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

.chat-input-bar {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.chat-input-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text);
    font-size: 0.85rem;
}

.chat-input-bar input::placeholder {
    color: var(--text-muted);
}

.send-btn {
    width: 42px;
    height: 42px;
    background: var(--gradient-green);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.send-btn:hover {
    transform: scale(1.1);
}

.send-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--bg-primary);
}

.demo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.demo-features span {
    padding: 0.4rem 0.85rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Analytics Window */
.analytics-window {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.query-input-demo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.query-icon {
    font-size: 1.1rem;
}

.query-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.analytics-result {
    padding: 1.5rem;
}

.result-chart {
    margin-bottom: 1.25rem;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 140px;
    padding: 0 1rem;
}

.chart-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.bar-fill {
    width: 40px;
    height: var(--height);
    background: var(--gradient-green);
    border-radius: 6px 6px 0 0;
    position: relative;
    animation: bar-rise 1s ease forwards;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0.5rem;
}

@keyframes bar-rise {
    from {
        height: 0;
    }

    to {
        height: var(--height);
    }
}

.bar-fill.high {
    background: linear-gradient(180deg, #ef4444 0%, #f87171 100%);
}

.bar-fill.low {
    background: linear-gradient(180deg, #22c55e 0%, #4ade80 100%);
}

.bar-label {
    font-size: 0.7rem;
    color: var(--bg-primary);
    font-weight: 600;
}

.bar-value {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.ai-insight {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(74, 222, 128, 0.05);
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: 12px;
}

.insight-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ai-insight p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ai-insight strong {
    color: var(--accent);
}

.ai-insight a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.ai-insight a:hover {
    text-decoration: underline;
}

/* AI Capabilities */
.ai-capabilities {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.capability-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.3s;
}

.capability-card:hover {
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateY(-4px);
}

.capability-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.capability-card h4 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.capability-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .ai-showcase {
        grid-template-columns: 1fr;
    }

    .ai-capabilities {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .ai-engine {
        padding: 4rem 1rem;
    }

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

    .chart-bars {
        padding: 0;
    }

    .bar-fill {
        width: 30px;
    }
}

/* Security Section */
.security {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.security::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.3), transparent);
}

.security-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Security Badges */
.security-badges {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.badge-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
}

.badge-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--gradient-green);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: opacity 0.3s;
}

.badge-card:hover {
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.badge-icon-wrap {
    margin-bottom: 1rem;
}

.badge-shield {
    width: 70px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.05) 100%);
    border: 2px solid var(--accent);
    border-radius: 8px 8px 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.badge-shield span {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
}

.badge-shield.gdpr {
    border-color: #3b82f6;
}

.badge-shield.gdpr span {
    color: #3b82f6;
}

.badge-shield.dpdp {
    border-color: #f59e0b;
}

.badge-shield.dpdp span {
    color: #f59e0b;
}

.badge-shield.iso {
    border-color: #8b5cf6;
}

.badge-shield.iso span {
    color: #8b5cf6;
}

.badge-shield.hipaa {
    border-color: #ec4899;
}

.badge-shield.hipaa span {
    color: #ec4899;
}

.badge-shield.ccpa {
    border-color: #06b6d4;
}

.badge-shield.ccpa span {
    color: #06b6d4;
}

.badge-card h4 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.badge-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Security Features Grid */
.security-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.security-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}

.security-feature:hover {
    border-color: rgba(74, 222, 128, 0.2);
    background: rgba(74, 222, 128, 0.02);
}

.sf-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.sf-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.sf-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Trust Stats */
.trust-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    margin-bottom: 2rem;
}

.trust-stat {
    text-align: center;
}

.trust-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.trust-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

/* Security CTA */
.security-cta {
    text-align: center;
}

.security-cta p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .security-badges {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .trust-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .trust-divider {
        display: none;
    }
}

@media (max-width: 640px) {
    .security {
        padding: 4rem 1rem;
    }

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

    .security-features {
        grid-template-columns: 1fr;
    }

    .trust-stats {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .trust-value {
        font-size: 2rem;
    }
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    position: relative;
}

/* Pre-Footer CTA */
.pre-footer {
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.pre-footer-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.pre-footer h2 {
    font-family: var(--bsuite-heading-font);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.pre-footer p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pre-footer-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pre-footer-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(74, 222, 128, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* Main Footer */
.footer-main {
    padding: 4rem 2rem 3rem;
    border-bottom: 1px solid var(--border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Brand Column */
.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .logo-star {
    width: 28px;
    height: 28px;
    fill: var(--accent);
}

.footer-logo span {
    color: var(--text-secondary);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-address {
    margin-bottom: 1.25rem;
}

.footer-address h5 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.footer-address address {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer Columns */
.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column a:hover {
    color: var(--accent);
}

.hiring-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
}

.footer-contact {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact a {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Certificates */
.footer-certificates {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cert-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cert-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cert-badge {
    padding: 0.4rem 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Social Links */
.footer-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 2rem;
    background: var(--bg-primary);
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.footer-legal a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--accent);
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.lang-selector:hover {
    border-color: var(--accent);
}

.lang-selector svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .pre-footer {
        padding: 3rem 1rem;
    }

    .footer-main {
        padding: 3rem 1rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* Sign In Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.modal-close:hover {
    border-color: var(--accent);
    background: rgba(74, 222, 128, 0.1);
}

.modal-close svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
}

.modal-step {
    padding: 2.5rem 2rem 2rem;
}

.modal-step.hidden {
    display: none;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.back-btn:hover {
    color: var(--accent);
}

.back-btn svg {
    width: 18px;
    height: 18px;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header.centered {
    margin-bottom: 1.5rem;
}

.modal-logo {
    width: 56px;
    height: 56px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.modal-logo .logo-star {
    width: 28px;
    height: 28px;
    fill: var(--accent);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-family: var(--bsuite-heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Sign In Options */
.signin-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.signin-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.signin-option:hover {
    border-color: var(--accent);
    background: rgba(74, 222, 128, 0.05);
}

.option-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.option-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.option-title {
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--text);
    font-family: var(--bsuite-heading-font);
}

.option-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.option-arrow {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    transition: transform 0.3s;
}

.signin-option:hover .option-arrow {
    transform: translateX(4px);
    stroke: var(--accent);
}

/* Divider */
.modal-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-divider::before,
.modal-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.modal-divider span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Social Sign In */
.social-signin {
    display: flex;
    gap: 0.75rem;
}

.social-signin-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
}

.social-signin-btn:hover {
    border-color: var(--text-muted);
    background: var(--bg-card);
}

.social-signin-btn svg {
    width: 20px;
    height: 20px;
}

/* Form */
.signin-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text);
    transition: all 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(74, 222, 128, 0.05);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.input-icon {
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    pointer-events: none;
}

/* URL Input */
.url-input {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    transition: all 0.3s;
}

.url-input:focus-within {
    border-color: var(--accent);
    background: rgba(74, 222, 128, 0.05);
}

.url-input input {
    border: none;
    background: transparent;
    padding: 0.9rem 0.5rem;
    text-align: center;
    flex: 1;
}

.url-input input:focus {
    background: transparent;
    border: none;
}

.url-prefix,
.url-suffix {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0 0.75rem;
    white-space: nowrap;
}

.url-prefix {
    border-right: 1px solid var(--border);
}

.url-suffix {
    border-left: 1px solid var(--border);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-small {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
}

/* Modal Footer */
.modal-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: 1.5rem;
}

.modal-footer p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.modal-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.modal-footer a:hover {
    text-decoration: underline;
}

.hint-text {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
}

/* Loading Animation */
.loading-animation {
    width: 100px;
    height: 100px;
    position: relative;
    margin: 0 auto 1.5rem;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: pulse-icon 1s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Success Animation */
.success-animation {
    margin: 0 auto 1.5rem;
}

.success-circle {
    width: 80px;
    height: 80px;
    background: rgba(74, 222, 128, 0.15);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: success-pop 0.5s ease forwards;
}

@keyframes success-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-circle svg {
    width: 36px;
    height: 36px;
    stroke: var(--accent);
    animation: check-draw 0.5s ease 0.3s forwards;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
}

@keyframes check-draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Redirect Info */
.modal-content.centered {
    text-align: center;
}

.redirect-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.company-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-align: left;
}

.company-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-primary);
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.company-name {
    font-weight: 600;
    color: var(--text);
}

.company-url {
    font-size: 0.85rem;
    color: var(--accent);
}

.redirect-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-green);
    animation: progress-move 3s linear forwards;
}

@keyframes progress-move {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.redirect-progress span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.redirect-progress span span {
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 480px) {
    .modal-container {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .modal-step {
        padding: 2rem 1.5rem 1.5rem;
    }

    .social-signin {
        flex-direction: column;
    }
}
