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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #0d0d0d; /* Fallback color */
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/gradient.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #eee;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Globals */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #9d50bb;
    --dark-bg: #0a0a0a;
    --bg-color: #121212; /* Slightly lighter than body */
    --glass-bg: rgba(20, 20, 20, 0.6);
    --text-color: #eee;
    --text-muted: #888;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --container-width: 1200px;
    --border-radius: 12px;
    --transition-speed: 0.4s;
}

/* Header & Navigation */
.site-header {
    padding: 1.5rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color var(--transition-speed) ease;
}

.site-header.scrolled {
    background-color: var(--glass-bg);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo img {
    max-height: 55px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition-speed) ease;
}

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

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: transform var(--transition-speed) ease, background-color var(--transition-speed) ease;
    background-image: linear-gradient(45deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border: none;
}
.nav-btn:hover {
    transform: translateY(-2px);
}


/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
    z-index: 1;
}

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

.hero-headline-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem 1rem; /* Tighter vertical gap */
    margin-bottom: 2rem; /* More space below */
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8);
}

.supercharged-ai {
    display: inline-block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    vertical-align: middle;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    animation: glitch-subtle 2s infinite;
}

@keyframes glitch-subtle {
  0% {
    text-shadow: 0.05em 0 0 rgba(0, 212, 255, 0.75), -0.05em 0 0 rgba(157, 80, 187, 0.75);
  }
  14% {
    text-shadow: 0.05em 0 0 rgba(0, 212, 255, 0.75), -0.05em 0 0 rgba(157, 80, 187, 0.75);
  }
  15% {
    text-shadow: -0.05em -0.025em 0 rgba(0, 212, 255, 0.75), 0.025em 0.025em 0 rgba(157, 80, 187, 0.75);
  }
  49% {
    text-shadow: -0.05em -0.025em 0 rgba(0, 212, 255, 0.75), 0.025em 0.025em 0 rgba(157, 80, 187, 0.75);
  }
  50% {
    text-shadow: 0.025em 0.05em 0 rgba(0, 212, 255, 0.75), 0.05em 0 0 rgba(157, 80, 187, 0.75);
  }
  99% {
    text-shadow: 0.025em 0.05em 0 rgba(0, 212, 255, 0.75), 0.05em 0 0 rgba(157, 80, 187, 0.75);
  }
  100% {
    text-shadow: -0.025em 0 0 rgba(0, 212, 255, 0.75), -0.025em -0.05em 0 rgba(157, 80, 187, 0.75);
  }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8); /* Add shadow for readability */
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: transform var(--transition-speed) ease, background-color var(--transition-speed) ease;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-image: linear-gradient(45deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 0 20px rgba(157, 80, 187, 0.5);
}

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

/* Page Hero (for subpages) */
.page-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background-color: var(--dark-bg);
}

.page-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Credibility Strip / Proof Bar */
.proof-bar {
    display: flex;
    justify-content: space-around;
    background-color: var(--dark-bg);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.proof-item .proof-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* General Section Styling */
.services-section, .case-studies-section, .process-section, .pricing-table-section, .terms-section, .contact-form-section, .about-content, .reel-section {
    padding: 6rem 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

/* Services Section */
.services-grid, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #222;
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.service-card .btn {
    margin-top: 2.5rem;
}

.service-card-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    padding: 0;
    justify-content: flex-end;
    align-items: stretch;
    overflow: hidden;
}

.service-card-bg .card-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transition: background 0.4s ease;
}

.service-card-bg:hover .card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.2));
}

.service-card-bg h3, .service-card-bg p {
    position: relative;
    z-index: 2;
}

/* Pricing Packages */
.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.package-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    min-height: 50px;
}
.package-features {
    margin-bottom: 2rem;
    text-align: left;
}
.package-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.package-features li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Case Studies Section */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.case-study-card {
    display: block;
    position: relative;
    background-color: var(--dark-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #222;
    transition: transform var(--transition-speed) ease;
    color: var(--text-color);
    text-decoration: none;
}

.case-study-card:hover {
    transform: translateY(-10px);
}

.case-study-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-study-card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-muted);
}

.case-study-card-detailed {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #222;
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
}

.case-study-card-detailed:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.case-study-card-detailed img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-study-card-detailed .card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-study-card-detailed .card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.case-study-card-detailed .card-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Process Page Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    opacity: 0.3;
}
.timeline-item {
    padding: 1rem 4rem;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}
.timeline-number {
    position: absolute;
    top: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: var(--bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    text-align: center;
    font-weight: 700;
    z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-number {
    right: 18px;
}
.timeline-item:nth-child(even) .timeline-number {
    left: 18px;
}
.timeline-content {
    padding: 1.5rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    border: 1px solid #222;
}

/* Terms Section */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.term-item {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
}
.term-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* About Page */
.hero-image-container {
    max-width: 200px;
    margin: 0 auto 2rem;
}
.hero-portrait {
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}
.about-content {
    max-width: 800px;
}
.about-section {
    margin-bottom: 3rem;
}
.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

/* Contact Form */
.pilot-form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
    background-color: var(--bg-color);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background-color: var(--dark-bg);
    padding: 6rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reel Section */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 0;
    padding-bottom: 56.25%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Tabs */
.tabs-container {
    max-width: 900px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tab-link {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-link:hover {
    color: var(--text-color);
}

.tab-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

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

/* Footer */
.site-footer {
    background-color: var(--dark-bg);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid #222;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-headline-wrapper {
        flex-direction: column;
        gap: 0.5rem; /* Tighter gap on mobile */
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
        display: flex;
    }

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

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

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

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

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

    .proof-bar {
        flex-direction: column;
        gap: 2rem;
    }

    .services-section, .case-studies-section {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .timeline::after {
        left: 30px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-number, .timeline-item:nth-child(even) .timeline-number {
        left: 10px;
    }
}


