/* Ulteamate Landing Page Styling */
:root {
    /* Colors based on auth.css but with some variations */
    --ulteamate-primary: #6366f1;
    --ulteamate-secondary: #4cc9f0;
    --ulteamate-tertiary: #8b5cf6;
    --ulteamate-accent: #0ea5e9;
    --ulteamate-gradient-start: #6366f1;
    --ulteamate-gradient-end: #4cc9f0;
    --ulteamate-text: #f8fafc;
    --ulteamate-text-secondary: rgba(248, 250, 252, 0.7);
    --ulteamate-bg-dark: #0f172a;
    --ulteamate-bg-light: #1e293b;
    --ulteamate-panel: rgba(30, 41, 59, 0.7);
    --ulteamate-border-glow: rgba(99, 102, 241, 0.5);
}

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

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body.ulteamate-body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 50%, var(--ulteamate-bg-light), var(--ulteamate-bg-dark));
    color: var(--ulteamate-text);
    overflow-x: hidden;
    position: relative;
}

/* Background network pattern similar to auth pages */
.ulteamate-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(76, 201, 240, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0;
    opacity: 0.5;
    z-index: -1;
}

/* Particles Container */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Header Styling */
.ulteamate-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 15px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--ulteamate-text);
}

.logo-img {
    max-height: 40px;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.5));
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav ul li a {
    color: var(--ulteamate-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(to right, var(--ulteamate-gradient-start), var(--ulteamate-gradient-end));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.main-nav ul li a:hover {
    color: var(--ulteamate-secondary);
}

.main-nav ul li a:hover::after {
    width: 100%;
    box-shadow: 0 0 8px var(--ulteamate-gradient-start);
}

.login-button, .logout-button {
    padding: 10px 24px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.login-button:hover, .logout-button:hover {
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
}

/* Section Styling */
section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    width: 100%;
    overflow-x: hidden;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--ulteamate-gradient-start), var(--ulteamate-gradient-end));
    margin: 0 auto;
    border-radius: 3px;
    box-shadow: 0 0 10px var(--ulteamate-gradient-start);
}

/* Parallax Effect */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background-position 0.5s ease;
}

/* Hero Section - Cutting Edge Update */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 20px 40px;
    flex-wrap: wrap;
    gap: 30px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Advanced background effect */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(76, 201, 240, 0.15) 0%, transparent 50%);
    z-index: 0;
    animation: pulse-bg 15s ease-in-out infinite alternate;
}

/* Tech pattern overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E"),
        linear-gradient(0deg, transparent 24%, rgba(99, 102, 241, 0.05) 25%, rgba(99, 102, 241, 0.05) 26%, transparent 27%, transparent 74%, rgba(76, 201, 240, 0.05) 75%, rgba(76, 201, 240, 0.05) 76%, transparent 77%, transparent);
    background-size: 30px 30px, 60px 60px;
    opacity: 0.3;
    z-index: 1;
}

/* Circuit lines */
.circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
    height: 1px;
}

.circuit-line:nth-child(1) {
    top: 20%;
    left: 0;
    width: 80%;
    animation: circuit-line-move 15s linear infinite;
}

.circuit-line:nth-child(2) {
    top: 40%;
    right: 0;
    width: 60%;
    animation: circuit-line-move 12s linear infinite reverse;
}

.circuit-line:nth-child(3) {
    top: 70%;
    left: 30%;
    width: 70%;
    animation: circuit-line-move 20s linear infinite;
}

@keyframes circuit-line-move {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse-bg {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.5;
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin: 0;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Glowing card effect */
.hero-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 10px;
    right: 10px;
    bottom: -10px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 
        0 0 20px rgba(99, 102, 241, 0.2),
        0 0 40px rgba(76, 201, 240, 0.1);
    z-index: -1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    /* Advanced multi-color gradient */
    background: linear-gradient(
        to right, 
        #f8fafc 10%, 
        #6366f1 30%, 
        #4cc9f0 50%, 
        #8b5cf6 70%, 
        #f8fafc 90%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 8s ease infinite;
    /* Glowing effect */
    text-shadow: 
        0 0 10px rgba(99, 102, 241, 0.3),
        0 0 20px rgba(99, 102, 241, 0.2);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: rgba(248, 250, 252, 0.9);
    margin-bottom: 30px;
    max-width: 100%;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.cta-button, .secondary-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    min-width: 150px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button {
    background: linear-gradient(135deg, var(--ulteamate-gradient-start), var(--ulteamate-gradient-end));
    color: white;
    box-shadow: 
        0 4px 15px rgba(99, 102, 241, 0.3),
        0 0 20px rgba(99, 102, 241, 0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 20%,
        rgba(255, 255, 255, 0.3),
        transparent 80%
    );
    z-index: -1;
    transition: all 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.secondary-button {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--ulteamate-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.5),
        0 0 30px rgba(99, 102, 241, 0.3);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    position: relative;
    z-index: 10;
}

/* Glowing effect for image */
.floating-image {
    max-width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.4));
    position: relative;
}

/* Orbital rings around the image */
.hero-image::before,
.hero-image::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.3);
    animation: orbital-rotation 15s linear infinite;
}

.hero-image::before {
    width: 300px;
    height: 300px;
    border-top: 2px solid rgba(99, 102, 241, 0.5);
    border-right: 2px solid transparent;
    border-bottom: 2px solid rgba(76, 201, 240, 0.5);
    border-left: 2px solid transparent;
}

.hero-image::after {
    width: 350px;
    height: 350px;
    border-top: 1px solid transparent;
    border-right: 1px solid rgba(76, 201, 240, 0.3);
    border-bottom: 1px solid transparent;
    border-left: 1px solid rgba(99, 102, 241, 0.3);
    animation-direction: reverse;
    animation-duration: 20s;
}

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

/* About Section */
.about-section {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ulteamate-text-secondary);
    margin-bottom: 20px;
}

.about-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background: var(--ulteamate-panel);
    border-radius: 16px;
    padding: 30px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 15px var(--ulteamate-border-glow);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--ulteamate-secondary);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--ulteamate-text);
}

.feature-card p {
    color: var(--ulteamate-text-secondary);
    line-height: 1.6;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--ulteamate-panel);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 0 10px var(--ulteamate-border-glow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--ulteamate-secondary);
    min-width: 60px;
    text-align: center;
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--ulteamate-text);
}

.feature-content p {
    color: var(--ulteamate-text-secondary);
    line-height: 1.6;
}

/* Demo Section */
.demo-section {
    background: rgba(15, 23, 42, 0.7);
    position: relative;
}

/* Demo section subtitle */
.demo-section .download-subtitle {
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--ulteamate-text-secondary);
}

/* Video gallery styling - Single video carousel */
.demo-videos {
    position: relative;
    max-width: 1100px; /* Increased to accommodate arrows */
    margin: 40px auto;
    overflow: visible; /* Allows arrows to be visible outside the container */
    padding: 0 60px; /* Added padding to make room for arrows */
}

/* Video carousel */
.video-carousel {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: none; /* Hide all by default */
    flex-direction: column;
}

.video-container.active {
    display: flex; /* Show only the active one */
    animation: fadeIn 0.5s ease forwards;
}

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

/* Focused state for accessibility */
.video-container:focus-within {
    outline: 2px solid var(--ulteamate-accent);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--ulteamate-gradient-start), var(--ulteamate-gradient-end));
    opacity: 0.7;
    transition: all 0.3s ease;
}

.video-container:hover::before {
    opacity: 1;
}

.video-container h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--ulteamate-text);
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

.video-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--ulteamate-gradient-start), var(--ulteamate-gradient-end));
    border-radius: 2px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(99, 102, 241, 0.3);
    margin-bottom: 20px;
}

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

.video-description {
    color: var(--ulteamate-text-secondary);
    font-size: 1rem;
    text-align: center;
    line-height: 1.6;
    margin-top: auto;
    padding-top: 15px;
}

/* Video navigation arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    border: 1px solid rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.gallery-arrow:hover {
    background: rgba(99, 102, 241, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 5px 20px rgba(99, 102, 241, 0.5),
        0 0 15px rgba(99, 102, 241, 0.6);
    color: white;
}

.gallery-arrow.prev {
    left: 5px; /* Moved slightly inward from the edge */
}

.gallery-arrow.next {
    right: 5px; /* Moved slightly inward from the edge */
}

/* Video gallery navigation dots */
.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px auto 0;
}

.gallery-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-nav-dot.active {
    background: linear-gradient(to right, var(--ulteamate-gradient-start), var(--ulteamate-gradient-end));
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Gallery counter display */
.gallery-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ulteamate-text-secondary);
    font-size: 0.9rem;
    background: rgba(15, 23, 42, 0.6);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

/* Update media queries for responsive design */
@media (max-width: 992px) {
    .demo-videos {
        padding: 0 50px;
    }
    
    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .demo-section {
        padding-bottom: 100px;
    }
    
    .demo-videos {
        padding: 0 45px;
    }
    
    .video-container {
        padding: 15px;
    }
    
    .video-container h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .gallery-counter {
        bottom: -50px;
    }
}

@media (max-width: 576px) {
    .demo-videos {
        padding: 0 40px;
    }
    
    .gallery-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Download Section */
.download-section {
    position: relative;
    overflow: hidden;
}

.download-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--ulteamate-text-secondary);
    margin-bottom: 40px;
}

.download-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.download-card {
    background: var(--ulteamate-panel);
    border-radius: 16px;
    padding: 30px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.download-card.recommended {
    border: 2px solid var(--ulteamate-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 20px var(--ulteamate-border-glow);
    position: relative;
}

.download-card.recommended::before {
    content: 'Recommended';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--ulteamate-gradient-start), var(--ulteamate-gradient-end));
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 15px var(--ulteamate-border-glow);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--ulteamate-secondary);
}

.download-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--ulteamate-text);
}

.download-card p {
    color: var(--ulteamate-text-secondary);
    margin-bottom: 25px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--ulteamate-gradient-start), var(--ulteamate-gradient-end));
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    width: 100%;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.recommended-download-banner {
    margin-top: 30px;
    padding: 15px;
    background: rgba(14, 165, 233, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(14, 165, 233, 0.3);
    text-align: center;
}

.recommended-download-banner p {
    color: var(--ulteamate-text-secondary);
}

.recommended-download-banner span {
    color: var(--ulteamate-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recommended-download-banner span:hover {
    color: var(--ulteamate-text);
    text-decoration: underline;
}

/* Download card styles */
.download-card.coming-soon {
    opacity: 0.7;
    position: relative;
    cursor: default;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.download-card.coming-soon:hover {
    transform: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.download-card.coming-soon .download-icon {
    color: var(--ulteamate-text-secondary);
}

.coming-soon-label {
    background: rgba(99, 102, 241, 0.3);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    margin-top: 25px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Add a ribbon for extra visual indication */
.download-card.coming-soon::before {
    content: 'Coming Soon';
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(99, 102, 241, 0.8);
    color: white;
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(5deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Make the recommended download system detection aware of the coming soon state */
#recommended-download p .coming-soon-note {
    color: var(--ulteamate-text-secondary);
    font-style: italic;
    display: inline-block;
    margin-left: 5px;
}

/* Footer */
.ulteamate-footer {
    padding: 80px 0 40px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 10;
}

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

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo img {
    max-height: 60px;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 50px;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--ulteamate-text);
    position: relative;
    display: inline-block;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--ulteamate-gradient-start), var(--ulteamate-gradient-end));
    border-radius: 2px;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 12px;
}

.link-group ul li a {
    color: var(--ulteamate-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-group ul li a:hover {
    color: var(--ulteamate-secondary);
    transform: translateX(3px);
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--ulteamate-text-secondary);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
        padding: 100px 20px 40px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-image::before,
    .hero-image::after {
        width: 260px;
        height: 260px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 20px;
    }
    
    .floating-image {
        max-width: 80%;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        gap: 15px;
    }
    
    .main-nav ul li a {
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-card, .download-card {
        width: 100%;
        max-width: 350px;
    }
    
    .footer-links {
        gap: 30px;
    }
    
    .hero-image::before,
    .hero-image::after {
        width: 200px;
        height: 200px;
    }
    
    /* Reduce animation complexity on mobile */
    .circuit-line {
        opacity: 0.15;
    }
}

@media (max-width: 640px) {
    .main-nav {
        display: none;
    }
    
    .header-container {
        justify-content: space-between;
    }
    
    .cta-button, .secondary-button {
        padding: 10px 16px;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .about-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card, .download-card {
        width: 100%;
    }
    
    .demo-videos {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    
    .link-group h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Further reduce animations for performance on small devices */
    .hero-image::before,
    .hero-image::after {
        display: none;
    }
    
    .circuit-lines {
        opacity: 0.1;
    }
    
    .hero-content::before {
        box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
        border: 1px solid rgba(99, 102, 241, 0.1);
    }
} 