/* Ultra-Clean High-Tech / ChainGPT Inspired Styles */

:root {
    --bg-color: #030406; /* Deepest black/blue */
    --surface-color: rgba(255, 255, 255, 0.02);
    --border-light: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(0, 240, 255, 0.2);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --text-primary: #f8f9fa;
    --text-secondary: #8b95a5;
    
    --accent-cyan: #00f3ff;
    --accent-glow: rgba(0, 240, 255, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Typography & Accents */
.cyan-accent {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Diffuse Ambient Backgrounds */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.glow-top {
    top: -200px;
    left: -200px;
}

.glow-bottom {
    bottom: 20%;
    right: -200px;
    background: radial-gradient(circle, rgba(0, 100, 255, 0.1) 0%, rgba(0,0,0,0) 70%);
}

/* Sleek Glass Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 4, 6, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 24px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-links a:hover:not(.btn-primary) {
    color: var(--text-primary);
}

/* Mobile Nav */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 1px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--bg-color);
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav.active {
    display: flex;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    padding: 12px 32px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.btn-primary:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
}

.btn-small {
    padding: 8px 24px;
    font-size: 0.85rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-color);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 12px 32px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
}

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

.w-100 {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #a0aab2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Cyber Drone HUD Animations */
.drone-container {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
    /* Neon glow behind the drone */
    filter: drop-shadow(0 0 20px var(--accent-cyan));
}

/* AI Cyber Pet Button */
.ai-pet {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.ai-pet:hover {
    transform: scale(1.1);
}

.ai-pet .orb {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #fff 0%, var(--accent-cyan) 60%, #000 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-cyan), 0 0 40px var(--accent-cyan);
    animation: pulseOrb 2s infinite alternate;
}

.ai-pet .orb-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.5;
    animation: spinRing 4s linear infinite;
}

.ai-pet .orb-ring-2 {
    position: absolute;
    width: 75px;
    height: 75px;
    border: 1px dashed var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.3;
    animation: spinRingReverse 6s linear infinite;
}

.ai-tooltip {
    position: absolute;
    right: 90px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--accent-cyan);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(20px);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.ai-pet:hover .ai-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulseOrb {
    0% { transform: scale(0.9); box-shadow: 0 0 10px var(--accent-cyan); }
    100% { transform: scale(1.1); box-shadow: 0 0 30px var(--accent-cyan), 0 0 50px var(--accent-cyan); }
}

@keyframes spinRing {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes spinRingReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* Hide Chatbase Default Bubble Button */
#chatbase-bubble-button,
#chatbase-bubble-window-button {
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1000 !important;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    z-index: 10;
    position: relative;
    opacity: 0.9;
}

.trust-badge {
    height: 150px;
    width: auto;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Optional: make them a bit darker/cyan tinted to match the theme */
    filter: drop-shadow(0 0 10px rgba(0,243,255,0.2));
    border-radius: 8px; /* Slight rounding instead of a hard circle */
}

.trust-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
    opacity: 1;
}

/* Swiper Video Carousel Styles */
.swiper {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}
.swiper-slide {
    text-align: center;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-title {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.5);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--accent-cyan);
}
.swiper-button-next, .swiper-button-prev {
    color: var(--accent-cyan) !important;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}
.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    background: var(--accent-cyan) !important;
    opacity: 1;
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }


.drone-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px var(--accent-cyan));
}

.hud-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
    stroke-dasharray: 4 8;
    animation: rotate 20s linear infinite;
    transform-origin: center;
}

.ring-2 {
    stroke: var(--accent-cyan);
    opacity: 0.3;
    stroke-dasharray: 20 10;
    animation: rotate-reverse 15s linear infinite;
}

.drone-body {
    fill: rgba(0, 0, 0, 0.5);
    stroke: var(--accent-cyan);
    stroke-width: 1.5;
    backdrop-filter: blur(4px);
}

.drone-arm {
    stroke: var(--accent-cyan);
    stroke-width: 2;
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
}

.drone-prop {
    fill: none;
    stroke: #fff;
    stroke-width: 1.5;
    opacity: 0.5;
    transform-origin: center;
    /* We'll animate propellers dynamically via CSS */
}

/* Specific Propeller Origins for rotation */
.drone-prop:nth-of-type(1) { transform-origin: 160px 40px; animation: spin-prop 0.2s linear infinite; }
.drone-prop:nth-of-type(2) { transform-origin: 40px 40px; animation: spin-prop-reverse 0.2s linear infinite; }
.drone-prop:nth-of-type(3) { transform-origin: 160px 160px; animation: spin-prop-reverse 0.2s linear infinite; }
.drone-prop:nth-of-type(4) { transform-origin: 40px 160px; animation: spin-prop 0.2s linear infinite; }

.drone-core {
    fill: #fff;
    filter: drop-shadow(0 0 10px #fff);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes spin-prop {
    from { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    to { transform: rotate(360deg) scale(1); }
}

@keyframes spin-prop-reverse {
    from { transform: rotate(360deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    to { transform: rotate(0deg) scale(1); }
}

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

/* Sections */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-secondary);
    font-weight: 300;
}

/* Glass Containers & Cards */
.glass-container {
    background: var(--surface-color);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-card {
    background: var(--surface-color);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.03), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.03);
}

/* Showcase Video Section */
.video-wrapper {
    display: flex;
    justify-content: center;
}

.video-glass {
    padding: 12px;
    width: 100%;
    max-width: 900px;
    position: relative;
}

.cinematic-video {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    object-fit: cover;
    max-height: 600px;
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    pointer-events: none;
}

.video-status {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.video-status.playing {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-icon {
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    overflow: hidden;
}

.contact-content {
    padding: 60px;
    border-right: 1px solid var(--border-light);
}

.contact-info {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-form {
    padding: 60px;
    background: rgba(0,0,0,0.2);
}

.clean-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-wrapper input, .input-wrapper textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.input-wrapper input:focus, .input-wrapper textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-cyan);
}

.input-wrapper input::placeholder, .input-wrapper textarea::placeholder {
    color: #4a5568;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 40px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

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

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

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-content {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 40px;
    }
    .contact-form {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}
