:root {
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.7);
    --primary: #0ea5e9;
    --secondary: #06b6d4;
    --accent: #22d3ee;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-primary: 0 0 20px rgba(14, 165, 233, 0.3);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

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

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

h1,
h2,
h3,
.logo-text {
    font-family: 'Outfit', sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* background animation */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.c1 {
    top: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: var(--primary);
}

.c2 {
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: var(--secondary);
}

/* Navigation */
nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 1.2rem 3.5rem;
    position: fixed;
    width: 94%;
    max-width: 1400px;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    gap: 2rem;
}

nav.scrolled {
    padding: 0.8rem 5%;
    width: 100%;
    max-width: 100%;
    top: 0;
    border-radius: 0;
    background: rgba(2, 6, 23, 0.9);
    border-bottom: 1px solid var(--glass-border);
    border-left: none;
    border-right: none;
    border-top: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #0f172a;
    border: 2px solid var(--primary);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--primary);
    box-shadow: var(--glow-primary);
}

.logo-text {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

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

.nav-extra {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.btn-cta {
    background: var(--gradient);
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    flex-shrink: 0;
    text-align: center;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.6);
}

/* Hero Section */
header.hero {
    padding: 12rem 10% 8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero h1 {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom, #fff 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero p {
    font-size: 1.35rem;
    color: var(--text-dim);
    max-width: 850px;
    margin-bottom: 3.5rem;
}

/* Stats Cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 5rem 10%;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 3.5rem 2.5rem;
    border-radius: 32px;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    background: rgba(15, 23, 42, 0.9);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(14, 165, 233, 0.15);
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: var(--primary);
    margin-bottom: 2.5rem;
}

.card h3 {
    font-size: 1.65rem;
    margin-bottom: 1.2rem;
}

.card p {
    color: var(--text-dim);
    font-size: 1.05rem;
}

/* Dashboard Preview */
.analytics-section {
    padding: 8rem 10%;
    text-align: center;
}

.dashboard-ui {
    background: #0f172a;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    padding: 1rem;
    max-width: 1100px;
    margin: 4rem auto;
    position: relative;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
}

.ui-inner {
    background: #020617;
    border-radius: 24px;
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ui-nav {
    height: 64px;
    border-bottom: 1px solid #1e293b;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.6;
}

.r {
    background: #ef4444;
}

.y {
    background: #f59e0b;
}

.g {
    background: #10b981;
}

.ui-main {
    flex: 1;
    padding: 3rem;
    display: flex;
    gap: 3rem;
}

.ui-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 1.5rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: left;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.chart-box {
    grid-column: span 2;
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid rgba(14, 165, 233, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 200px;
}

.bar {
    flex: 1;
    background: var(--gradient);
    border-radius: 8px 8px 0 0;
    transition: 1s ease;
}

.sidebar-ui {
    width: 280px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
}

/* Sector Section */
.sectors {
    padding: 8rem 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.sector-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.1;
}

.sector-list {
    list-style: none;
}

.sector-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.sector-circle {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
}

.sector-item h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.sector-item p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Form Card */
.form-card {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    border: 1px solid var(--primary);
    padding: 4rem;
    border-radius: 40px;
    box-shadow: 0 0 50px rgba(14, 165, 233, 0.2);
}

.form-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.form-card p {
    color: var(--text-dim);
    margin-bottom: 3rem;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

input,
select {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

input:focus,
select:focus {
    border-color: var(--primary);
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    padding: 8rem 10% 4rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-desc {
    color: var(--text-dim);
    max-width: 350px;
    font-size: 1.1rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.05rem;
}

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

.copyright {
    padding-top: 4rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-section {
    padding: 8rem 10%;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 32px;
    transition: 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.05);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

.price span {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 400;
}

.features-list {
    list-style: none;
    width: 100%;
    margin-top: 2rem;
    text-align: left;
}

.features-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 800;
}

.margin-info {
    margin-top: 5rem;
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    border-radius: 15px;
    color: #10b981;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate {
    animation: fadeInUp 1s forwards;
    opacity: 0;
}

/* Tablet/Mobile fixes */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .sectors {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .ui-main {
        flex-direction: column;
        padding: 1.5rem;
    }

    .sidebar-ui {
        width: 100%;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0.8rem 1.5rem;
        width: 95%;
        grid-template-columns: auto auto;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        z-index: 1000;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero p {
        font-size: 1.1rem;
    }

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

    .footer-desc {
        margin: 0 auto 2rem;
    }

    nav .btn-cta,
    .nav-extra .btn-cta {
        display: none;
    }

    .hero .btn-cta {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .hero-badge {
        font-size: 0.75rem;
    }
}