/* Global Styles */
:root {
    --primary: #3b82f6;
    --primary-glow: #60a5fa;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    height: 40px;
    border-radius: 50%;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: white;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.btn-glow {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transition: all 0.3s;
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 160px 10% 100px 10%;
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 40%);
}

.hero-content {
    max-width: 50%;
}

.badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-glow);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Hero Visual (CSS Glass Card) */
.hero-visual {
    position: relative;
    width: 45%;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    height: 350px;
    width: 100%;
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #10b981;
}

.chart-mockup {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 200px;
}

.bar {
    width: 15%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px 8px 0 0;
    transition: height 1s;
}

.bar.active {
    background: var(--gradient);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.floating-stat {
    position: absolute;
    background: rgba(30, 41, 59, 0.9);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-1 {
    top: -20px;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.stat-2 {
    bottom: -30px;
    left: -20px;
    animation: float 6s ease-in-out infinite 1s;
}

.floating-stat i {
    color: var(--primary-glow);
}

.floating-stat strong {
    display: block;
    font-size: 1.2rem;
}

.floating-stat span {
    font-size: 0.8rem;
    color: var(--text-gray);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Spotlight Section */
.spotlight {
    padding: 100px 10%;
    background: #131c31;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-gray);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.spotlight-text h3 {
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.icon-lg {
    color: #8b5cf6;
    width: 32px;
    height: 32px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.feature-list li i {
    color: #10b981;
}

.feature-list strong {
    color: white;
}

.mock-cam {
    width: 100%;
    height: 300px;
    background: black;
    border-radius: 20px;
    border: 4px solid #333;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cam-lens {
    position: absolute;
    top: 10px;
    width: 10px;
    height: 10px;
    background: #222;
    border-radius: 50%;
    border: 1px solid #444;
    z-index: 2;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #10b981;
    top: 0;
    animation: scan 3s linear infinite;
    box-shadow: 0 0 10px #10b981;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Features Grid */
.features {
    padding: 100px 10%;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-glow);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Contact Footer */
footer {
    background: #0b1120;
    padding: 80px 10% 20px 10%;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
    border-radius: 50%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 10px;
    transition: background 0.3s;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-item i {
    color: #10b981;
}

.cta-box {
    text-align: right;
}

.copyright {
    text-align: center;
    color: var(--text-gray);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
    }

    .spotlight-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-box {
        text-align: center;
        margin-top: 20px;
    }

    .contact-item {
        justify-content: center;
    }
}