@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: #3b82f6;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3b82f6;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, rgba(10, 10, 10, 1) 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-content h1 .highlight {
    color: #3b82f6;
    font-weight: 600;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #3b82f6;
}

.cta-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.cta-button.secondary:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

/* Code Animation Section */
.code-demo {
    padding: 120px 0;
    background: #0a0a0a;
    position: relative;
}

.code-demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.code-demo-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.code-demo-text h2 .highlight {
    color: #3b82f6;
    font-weight: 600;
}

.code-demo-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 32px;
}

.code-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.code-feature {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-feature:last-child {
    border-bottom: none;
}

.code-feature h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.code-feature p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.code-terminal {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    position: relative;
    backdrop-filter: blur(10px);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca3f; }

.code-content {
    font-size: 14px;
    line-height: 1.5;
    color: #e5e7eb;
}

.code-line {
    display: flex;
    margin-bottom: 4px;
}

.line-number {
    color: rgba(255, 255, 255, 0.3);
    margin-right: 16px;
    min-width: 20px;
    text-align: right;
    user-select: none;
}

.code-text {
    flex: 1;
}

.keyword { color: #3b82f6; }
.string { color: #10b981; }
.number { color: #f59e0b; }
.comment { color: rgba(255, 255, 255, 0.4); }

/* Stats Section */
.stats {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 8px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

/* Callout Section */
.callout-section {
    padding: 120px 0;
    background: #f8f9fa;
    color: #000000;
}

.callout-content {
    text-align: center;
    margin-bottom: 80px;
}

.callout-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.callout-content h2 .highlight {
    color: #3b82f6;
    font-weight: 600;
}

.callout-content p {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: left;
    padding: 0;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: #3b82f6;
}

.feature-item h3 {
    color: #000000;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.feature-item p {
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    font-size: 16px;
}

/* Services Section */
.services {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.service-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
    color: #3b82f6;
}

.service-card h3 {
    color: #3b82f6;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card li {
    padding: 6px 0;
    position: relative;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.7);
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* Video Demonstrations Section */
.demos {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.demo-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.demo-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.demo-video {
    position: relative;
    width: 100%;
    background: #000;
}

.demo-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px 16px 0 0;
}

.demo-content {
    padding: 32px;
}

.demo-content h3 {
    color: #3b82f6;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
}

.demo-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Security Options */
.security {
    background: rgba(255, 255, 255, 0.02);
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.security-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.security-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.security-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
}

.security-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: #3b82f6;
}

.security-card h3 {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
}

.security-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Security cards in light background */
.callout-section .security-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.callout-section .security-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.callout-section .security-card h3 {
    color: #000000;
}

.callout-section .security-card p {
    color: rgba(0, 0, 0, 0.7);
}

/* Contact Section */
.contact {
    background: rgba(255, 255, 255, 0.02);
    padding: 120px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    margin-top: 60px;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #3b82f6;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* White Glove Onboarding Section */
.white-glove-onboarding {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.onboarding-content {
    text-align: center;
}

.onboarding-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-align: center;
}

.onboarding-content h2 .highlight {
    color: #3b82f6;
    font-weight: 600;
}

.onboarding-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 60px;
}

.onboarding-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.onboarding-step {
    background: rgba(255, 255, 255, 0.03);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: left;
    position: relative;
}

.onboarding-step:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.step-number {
    width: 48px;
    height: 48px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.onboarding-step h3 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.onboarding-step p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

.onboarding-benefits {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.onboarding-benefits h3 {
    color: #3b82f6;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.onboarding-benefits ul {
    list-style: none;
    padding-left: 0;
}

.onboarding-benefits li {
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.onboarding-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .code-demo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .security-options,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding: 0 16px;
    }
}

/* Smooth animations - only run on first visit, not on reload */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Only animate if user hasn't visited before (no animation on reload) */
body:not(.loaded) .hero-content > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

body:not(.loaded) .hero-content h1 {
    animation-delay: 0.1s;
}

body:not(.loaded) .hero-content p {
    animation-delay: 0.2s;
}

body:not(.loaded) .cta-buttons {
    animation-delay: 0.3s;
}

/* Ensure elements are visible when animations are disabled */
body.loaded .hero-content > * {
    opacity: 1;
    transform: translateY(0);
}

/* Typing animation */
.typing-cursor {
    display: inline-block;
    background-color: #3b82f6;
    margin-left: 3px;
    width: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
