/* ============================================
   ON SIGHT - Modern Design System
   ============================================ */

:root {
    --color-bg: #0a0a0f;
    --color-bg-elevated: #12121a;
    --color-bg-card: #1a1a24;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-text: #ffffff;
    --color-text-muted: #8b8b9e;
    --color-primary: #00d4ff;
    --color-primary-dark: #0099ff;
    --color-accent: #0066ff;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 102, 255, 0.15) 100%);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
    --font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
    font-weight: 300;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

.gradient-text {
    color: #ffffff;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-glow);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-top: 16px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #000;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* ============================================
   Header
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-img {
    height: 80px;
    width: auto;
}

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

.nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav a {
    display: block;
    padding: 10px 18px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
    background: var(--gradient-primary) !important;
    color: #000 !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    margin-top: 90px;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0 80px;
    background: var(--color-bg) url('../images/banner.jpg') no-repeat center top;
    background-size: contain;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.2) 0%, rgba(10, 10, 15, 0.1) 50%, rgba(0, 20, 40, 0.1) 100%);
    pointer-events: none;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
      /* Add backdrop blur effect */
    background: rgba(26, 26, 36, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
   
   
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    text-align: center !important;
    color: var(--color-primary);
    max-width: 600px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
    text-align: left;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    animation: fadeIn 1s ease-out 1s both;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   Services Section
   ============================================ */

.services {
    padding: 120px 0;
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1).visible { transition-delay: 0.1s; }
.service-card:nth-child(2).visible { transition-delay: 0.2s; }
.service-card:nth-child(3).visible { transition-delay: 0.3s; }

.service-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
    border-color: rgba(0, 212, 255, 0.2);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 32px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    margin-bottom: 16px;
    color: var(--color-text);
}

.service-card > p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

.service-link svg {
    transition: var(--transition);
}

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: 120px 0;
    background: var(--color-bg-elevated);
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-text .section-tag {
    margin-bottom: 24px;
}

.features-text h2 {
    margin-bottom: 20px;
}

.features-text > p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-bottom: 48px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition);
}

.feature-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.feature-item:nth-child(1).visible { transition-delay: 0.1s; }
.feature-item:nth-child(2).visible { transition-delay: 0.2s; }
.feature-item:nth-child(3).visible { transition-delay: 0.3s; }

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glow);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.feature-content h4 {
    margin-bottom: 6px;
    color: var(--color-text);
}

.feature-content p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* Dashboard Preview */
.features-visual {
    display: flex;
    justify-content: center;
}

.dashboard-preview {
    width: 100%;
    max-width: 480px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--color-border);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
}

.window-dots span:first-child { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:last-child { background: #28ca42; }

.dashboard-title {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.dashboard-content {
    padding: 32px;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 160px;
    margin-bottom: 32px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.chart-bar {
    width: 24px;
    height: var(--height);
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: chartGrow 1s ease-out forwards;
    transform-origin: bottom;
}

@keyframes chartGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }
.chart-bar:nth-child(6) { animation-delay: 0.6s; }
.chart-bar:nth-child(7) { animation-delay: 0.7s; }

.metrics-row {
    display: flex;
    gap: 24px;
}

.metric {
    flex: 1;
    padding: 16px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
    padding: 120px 0;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 16px;
}

.cta p {
    color: var(--color-text-muted);
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 80px 0 40px;
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

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

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    color: var(--color-text);
    margin-bottom: 20px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

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

/* ============================================
   Responsive Design
   ============================================ */

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

    .service-card:nth-child(3) {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .features-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg-elevated);
        border-left: 1px solid var(--color-border);
        padding: 100px 32px 32px;
        transform: translateX(100%);
        transition: var(--transition);
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav a {
        padding: 16px;
        font-size: 1rem;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .logo-img {
        height: 45px;
    }

    .hero {
        margin-top: 70px;
        min-height: auto;
        padding: 40px 0 60px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .hero-scroll {
        display: none;
    }

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

    .service-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .service-card {
        padding: 32px 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}
