@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bg: #0a0f1c;
    --bg-2: #0f1629;
    --card: #1a2332;
    --text: #f8fafc;
    --muted: #94a3b8;
    --brand: #3b82f6;
    --brand-2: #06b6d4;
    --accent: #f59e0b;
    --danger: #ef4444;
    --success: #10b981;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --radius: 24px;
    --radius-sm: 16px;
    --ring: 0 0 0 3px rgba(59, 130, 246, 0.3);
    --gradient: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg) !important;
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

#bookBtn {
    color: rgb(255, 255, 255) !important;
}

/* Mobile-First Responsive Improvements */
@media (max-width: 320px) {
    .container {
        padding: 0 0.75rem;
    }

    body {
        font-size: 14px;
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    min-height: 60px;
}

@media (max-width: 320px) {
    .nav-inner {
        padding: 0.5rem 0.75rem;
        min-height: 56px;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.brand:hover {
    transform: scale(1.05);
}

.brand-logo {
    width: 32px;
    height: 32px;
    background: var(--gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

@media (max-width: 320px) {
    .brand-logo {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    background: var(--gradient);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: var(--shadow-sm);
    text-align: center;
    white-space: nowrap;
    min-height: 44px;
    line-height: 1.2;
    touch-action: manipulation;
}

@media (max-width: 480px) {
    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        min-height: 48px;
    }
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
}

.btn.secondary:hover {
    border-color: var(--brand);
    background: rgba(59, 130, 246, 0.1);
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
    background: none;
    border: none;
    padding: 8px;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(15, 22, 41, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.open {
    max-height: 420px;
    padding: 1rem 0;
}

.mobile-menu a {
    color: var(--muted);
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 48px;
    display: flex;
    align-items: center;
}

.mobile-menu a:hover {
    color: var(--text);
    background: rgba(59, 130, 246, 0.1);
}

.mobile-menu .btn {
    display: inline-block;
    margin: 1rem 1.5rem;
    color: white !important;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0 2rem;
    background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    position: relative;
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 2rem;
        min-height: auto;
        margin-top: 50px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0 2rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero .container {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 4rem;
    }

    .hero .container>div:first-child {
        flex: 1;
    }

    .hero-card {
        flex: 0 0 400px;
    }
}

.chip {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--brand-2);
    display: inline-block;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.headline {
    font-size: clamp(1.75rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
    max-width: 100%;
}

.subhead {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 600px;
    text-align: left;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        max-width: 100%;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 500px;
}

@media (max-width: 320px) {
    .metrics {
        gap: 0.5rem;
    }
}

.metric {
    text-align: center;
    padding: 1rem 0.5rem;
}

@media (max-width: 480px) {
    .metric {
        padding: 0.75rem 0.25rem;
    }
}

.metric .count {
    display: block;
    font-size: clamp(1.1rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 0.25rem;
}

.metric span {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: var(--muted);
}

.hero-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
    width: 100%;
    max-width: 400px;
    margin-top: 1rem;
}

@media (max-width: 480px) {
    .hero-card {
        padding: 1.2rem;
        margin-top: 0.5rem;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.ledger {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.ledger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    animation: slideIn 0.6s ease forwards;
    opacity: 0;
    transform: translateX(20px);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.ledger-row:nth-child(1) {
    animation-delay: 0.2s;
}

.ledger-row:nth-child(2) {
    animation-delay: 0.4s;
}

.ledger-row:nth-child(3) {
    animation-delay: 0.6s;
}

.ledger-row:nth-child(4) {
    animation-delay: 0.8s;
}

.ledger-row:nth-child(5) {
    animation-delay: 1s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge {
    background: var(--gradient);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

/* Sections */
section {
    padding: 3rem 0;
    margin-top: 80px !important;
    scroll-margin-top: 80px !important;
}

@media (max-width: 768px) {
    section {
        padding: 2rem 0;
    }
}

.section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .section-head {
        margin-bottom: 2rem;
    }
}

.section-head h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.section-head p {
    font-size: 16px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
    .card {
        padding: 1.25rem;
    }
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--brand);
}

.card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.card p {
    color: var(--muted);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.card ul {
    list-style: none;
}

.card li {
    color: var(--muted);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* About */
.about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .about {
        grid-template-columns: repeat(2, 1fr);
    }
}

.blurb {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
    .blurb {
        padding: 1.25rem;
    }
}

.blurb h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.blurb p {
    color: var(--muted);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.blurb ul {
    list-style: none;
}

.blurb li {
    color: var(--muted);
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.blurb li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: bold;
}

/* Process */
.process {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .process {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .step {
        padding: 1.25rem;
    }
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
}

.step strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.8rem;
}

.step span {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials {
        grid-template-columns: repeat(3, 1fr);
    }
}

.quote {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .quote {
        padding: 1.25rem;
    }
}

.quote:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
}

.quote blockquote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1.2rem;
    font-style: italic;
}

.quote figcaption {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Pricing */
.pricing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .pricing {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing {
        grid-template-columns: repeat(3, 1fr);
    }
}

.price-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .price-card {
        padding: 1.5rem 1.25rem;
    }
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--brand);
}

.price-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 1.5rem;
}

.price-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.price-card li {
    color: var(--muted);
    margin-bottom: 0.6rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.ribbon {
    position: absolute;
    top: -1px;
    right: 1rem;
    background: var(--gradient);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 0 0 12px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1.25rem;
    }
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.contact-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-form {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.5rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.025em;
}

.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 48px;
}

.form-group select:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-sm), var(--ring);
    background-color: var(--glass);
}

.form-group select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: var(--shadow-sm), var(--ring);
    background-color: var(--glass);
}

.form-group select option {
    background: var(--card);
    color: var(--text);
    padding: 12px;
    border: none;
}

.form-group select option:hover {
    background: var(--brand);
    color: var(--text);
}

.form-group select option:checked {
    background: var(--brand);
    color: var(--text);
}

/* Placeholder Option Styling */
.form-group select option[value=""] {
    color: var(--muted);
}

/* Custom Styling For When Placeholder Is Selected */
.form-group select:invalid {
    color: var(--muted);
}

/* Demo Container Styling */
.demo-container {
    background: var(--bg-2);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.demo-title {
    margin: 0 0 24px 0;
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
}

.form-btn {
    width: 100%;
    margin-top: 1rem;
}

.form-status {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
    display: block;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
    display: block;
}

/* Footer */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 3rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }
}

.footer-brand .brand {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 480px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h4 {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--brand);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 1.2rem;
    text-decoration: none;
}

.top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 480px) {
    .top {
        bottom: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* Animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Stats Section Styles */
#stats {
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 15px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--brand);
}

.chart-container {
    position: relative;
    height: 250px;
    margin: -1.5rem -1.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border);
}

.stat-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.stat-content p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Animation for chart rendering */
@keyframes chartAnimation {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

canvas {
    animation: chartAnimation 0.8s ease-out forwards;
    opacity: 0;
}


/* Stats Section Styles */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* KPI Overview */
.stats-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-overview {
        grid-template-columns: 1fr;
    }
}

.kpi-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.kpi-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.kpi-icon {
    font-size: 2rem;
    min-width: 48px;
    text-align: center;
}

.kpi-content {
    flex: 1;
}

.kpi-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.kpi-label {
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.kpi-trend {
    color: var(--success);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Chart Cards */
.chart-section {
    display: flex;
    flex-direction: column;
}

.chart-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.chart-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.chart-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

/* Circular Progress */
.circular-progress {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-background {
    fill: none;
    stroke: var(--border);
    stroke-width: 8;
}

.progress-ring-progress {
    fill: none;
    stroke: var(--brand);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 2s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand);
}

.progress-label {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 600;
}

.chart-description {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Bar Chart */
.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bar-item {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    align-items: center;
    gap: 0.75rem;
}

.bar-label {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
    text-align: left;
}

.bar-container {
    background: var(--border);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gradient);
    width: 0%;
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
}

.bar-value {
    font-size: 0.8rem;
    color: var(--brand);
    font-weight: 600;
    min-width: 35px;
    text-align: right;
}

/* Industry Stats */
.industry-stats {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.industry-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.industry-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.industry-name {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 600;
}

.industry-count {
    font-size: 0.8rem;
    color: var(--muted);
}

.industry-progress {
    background: var(--border);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.industry-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
    width: 0%;
    border-radius: 3px;
    transition: width 1.8s ease-in-out;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .kpi-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .kpi-icon {
        min-width: auto;
    }

    .chart-card {
        padding: 1.5rem 1.25rem;
    }

    .bar-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .bar-label {
        text-align: center;
    }

    .bar-value {
        text-align: center;
        min-width: auto;
    }
}

/* Animation Triggers */
.stats-grid.animate .progress-ring-progress {
    stroke-dashoffset: calc(339.292 - (339.292 * var(--percentage)) / 100);
}

.stats-grid.animate .bar-fill {
    width: var(--width);
}

.stats-grid.animate .industry-bar {
    width: calc(var(--width) * 1%);
}