:root {
    --primary-color: #00d4ff;
    /* Cyan/Blue from logo vibe */
    --secondary-color: #7000ff;
    /* Purple accent */
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-main: linear-gradient(135deg, #00d4ff 0%, #7000ff 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 15% 50%, rgba(0, 212, 255, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(112, 0, 255, 0.08), transparent 25%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    margin-left: 1rem;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Glassmorphism */
.glass {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    gap: 10px;
}

.logo img {
    height: 60px;
    /* Increased size */
    width: auto;
    /* border-radius: 50%; Removed to show full logo */
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

/* App Showcase Carousel */
.app-showcase-container {
    position: relative;
    width: 100%;
    height: 600px;
    /* Taller height for vertical screens */
    overflow: hidden;
    border-radius: 30px;
    /* glass-card properties are inherited via class, but we can override specifics */
    padding: 0;
    /* Remove padding to let images go edge to edge if needed, but track handles spacing */
}

/* Swiper Styles */
.swiper {
    width: 100%;
    height: 100%;
    padding: 2rem 0; /* Add padding for shadows */
}

.swiper-slide {
    width: 45%; /* 2 slides visible approx */
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid rgba(255,255,255,0.1);
    display: block;
}

.swiper-slide:hover {
    transform: scale(1.02);
    z-index: 5;
}

/* Fade Overlays */
.fade-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    /* Width of fade */
    z-index: 10;
    pointer-events: none;
}

.fade-overlay.left {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 20%, transparent);
}

.fade-overlay.right {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 20%, transparent);
}

/* Nav Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Override Swiper default disabled state if loop is false (but loop is true) */
.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Tracer Video Wrapper */
.tracer-wrapper {
    position: relative;
    padding: 3px;
    /* Thickness of the border */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.2);
    margin-bottom: 5rem;
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.tracer-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0deg, transparent 270deg, var(--primary-color) 300deg, var(--secondary-color) 360deg);
    animation: rotate 4s linear infinite;
    z-index: 0;
}

.tracer-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0deg, transparent 270deg, var(--secondary-color) 300deg, var(--primary-color) 360deg);
    animation: rotate 4s linear infinite reverse;
    z-index: 0;
    opacity: 0.5;
}

.tracer-content {
    position: relative;
    background: var(--bg-dark);
    border-radius: 21px;
    /* Slightly smaller than wrapper radius */
    z-index: 1;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.tracer-content video {
    display: block;
    width: 100%;
    height: auto;
}

/* Download Section */
.download-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 212, 255, 0.05), transparent);
    position: relative;
    overflow: hidden;
}

.download-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: pulse-glow 4s infinite alternate;
    pointer-events: none;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.app-buttons .btn {
    min-width: 200px; /* Make them wider */
    text-align: center; /* Ensure text is centered */
    display: inline-flex; /* Use flex to center content perfectly */
    justify-content: center;
    align-items: center;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 200px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.app-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    z-index: -1;
}

.app-btn:hover::before {
    transform: translateX(100%);
}

.app-btn:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.app-btn.apple:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.app-btn.google:hover {
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.app-btn i {
    font-size: 2rem;
}

.app-btn .btn-text {
    display: flex;
    flex-direction: column;
}

.app-btn .btn-text small {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.app-btn .btn-text span {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Mission Section */
.mission-section {
    padding-top: 1rem;
    padding-bottom: 6rem;
}

.mission-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.story-card {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03); /* Slightly more transparent */
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.story-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), rgba(112, 0, 255, 0.2), transparent 70%);
    filter: blur(80px);
    z-index: -1;
    animation: pulse-glow 6s infinite alternate;
}

.mission-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Responsive Grid for Features */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    height: 80px;
    width: 80px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Split Sections (Providers/Clients) */
.split-section {
    padding: 6rem 0;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.reverse .split-container {
    direction: rtl;
    /* Quick hack for reversing grid, reset in children */
}

.reverse .split-content,
.reverse .split-image {
    direction: ltr;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.benefits-list li i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.note {
    margin-top: 2rem;
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.abstract-shape {
    width: 100%;
    height: 400px;
    background: var(--bg-card);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.shape-1::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent 60%);
    animation: rotate 20s linear infinite;
}

.shape-2::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.2), transparent 60%);
    animation: rotate 20s linear infinite reverse;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: grid;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 968px) {

    .hero-container,
    .split-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .reverse .split-container {
        direction: ltr;
    }

    .split-image {
        order: -1;
        /* Image on top for mobile */
    }

    .nav-links {
        display: none;
        /* Hide for now, simple mobile menu needed */
    }

    .mobile-menu-btn {
        display: block;
    }

    /* App Showcase Responsive */
    .app-showcase-container {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-showcase-container {
        height: 400px;
    }
}

.page-content {
    padding-top: 120px;
    min-height: 80vh;
}
.glass-card {
    max-width: 800px;
    margin: 0 auto;
}
.content-list {
    list-style: none;
    margin: 2rem 0;
}
.content-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}
.content-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.section-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}