/* Variables */
:root {
    --primary-color: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary-color: #ec4899;
    --accent-color: #8b5cf6;
    --light-bg: #ffffff;
    --lighter-bg: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(0, 0, 0, 0.06);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --gradient-1: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    --gradient-3: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --gradient-bg: linear-gradient(135deg, #f0f9ff 0%, #fdf4ff 50%, #fef3c7 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-bg);
    overflow: hidden;
}

.background-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: rotate(0deg) translate(0, 0); }
    33% { transform: rotate(120deg) translate(30px, -30px); }
    66% { transform: rotate(240deg) translate(-20px, 20px); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--primary-color);
    position: relative;
    font-weight: 600;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 2rem;
    position: relative;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    opacity: 0.1;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    margin-left: 0.5rem;
    color: var(--text-primary);
}

.water-drop {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        filter: drop-shadow(0 0 2px rgba(0, 200, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(0, 200, 255, 0.8));
    }
    100% {
        filter: drop-shadow(0 0 2px rgba(0, 200, 255, 0.5));
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 100%;
}

/* Buttons - Updated with lighter colors */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.2),
                0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 7px 14px rgba(14, 165, 233, 0.25),
                0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-secondary:hover {
    background: rgba(14, 165, 233, 0.05);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary:hover::after {
    width: 300px;
    height: 300px;
}


.hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(0, 245, 255, 0.1) 0%, transparent 40%);
    animation: heroGradient 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes heroGradient {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.hero-content {
    flex: 1;
    max-width: 700px;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.waveform {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 200, 255, 0.2) 50%, 
        transparent 100%);
    border-radius: 50%;
    animation: wave 8s infinite linear;
    opacity: 0;
}

.wave:nth-child(1) {
    animation-delay: 0s;
}

.wave:nth-child(2) {
    animation-delay: 2s;
}

.wave:nth-child(3) {
    animation-delay: 4s;
}

@keyframes wave {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Features Section */
.features {
    background-color: var(--lighter-bg);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect fill="none" width="20" height="20"/><rect fill="%23ffffff" opacity="0.03" width="1" height="1" x="0" y="0"/></svg>');
    z-index: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, rgba(0, 245, 255, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
                0 10px 20px rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: white;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 245, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 245, 255, 0.3);
}

/* How It Works Section */
.how-it-works {
    position: relative;
    overflow: hidden;
}

.how-it-works::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 4rem 0;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.step-connector {
    flex: 0.5;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    margin-top: 3rem;
    position: relative;
}

.step-connector::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: -4px;
    left: 0;
}

.tech-diagram {
    margin-top: 4rem;
    text-align: center;
    opacity: 0.8;
}

/* How It Works Section - New Styles */
.how-it-works-content {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.section-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.defense-methods {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.defense-method {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.defense-method:hover {
    transform: translateY(-5px);
}

.defense-method h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.defense-method i {
    font-size: 1.2rem;
}

/* Result Banner */
.result-banner {
    margin-top: 4rem;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.1), rgba(0, 153, 204, 0.05));
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 200, 255, 0.2);
}

.result-banner h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.result-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Upload Section */
.upload-section {
    background-color: var(--darker-bg);
    position: relative;
}

.upload-container {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.upload-area {
    flex: 1;
    border: 2px dashed rgba(0, 200, 255, 0.3);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s;
    background-color: rgba(0, 200, 255, 0.05);
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(0, 200, 255, 0.1);
}

.upload-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-area .small {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0.5rem 0;
}

.file-info {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 1rem;
}

.upload-options {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.option {
    margin-bottom: 1.5rem;
}

.option label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.option input[type="range"] {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.option input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--primary-color);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
}

.option select {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
}

.process-btn {
    width: 100%;
    margin-top: 2rem;
}

.process-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Detect Section */
.detect-section {
    position: relative;
}

.detect-container {
    margin-top: 30px;
}

.results-preview {
    background-color: rgba(13, 17, 23, 0.6);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.results-preview.full-width {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.result-header {
    padding: 25px 20px;
    text-align: center;
    position: relative;
    background: linear-gradient(90deg, rgba(13, 17, 23, 0.8), rgba(13, 17, 23, 0.6));
}

.robot-icon {
    position: absolute;
    top: 25px;
    left: 25px;
    color: #ff3b5c;
    font-size: 2rem;
    filter: drop-shadow(0 0 8px rgba(255, 59, 92, 0.4));
}

.result-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    margin: 0;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.result-content {
    padding: 10px 30px 30px;
}

/* Enhanced confidence text styling */
.confidence-text {
    text-align: center;
    font-size: 1.3rem;
    margin: 25px 0 20px;
    color: white;
    font-weight: 500;
    line-height: 1.4;
    padding: 0 15px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.confidence-text:before {
    content: '100%';
    font-weight: 700;
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    margin-right: 5px;
}

.confidence-text:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #00e5ff, transparent);
    border-radius: 1px;
}

.confidence-text strong {
    color: #00e5ff;
    font-weight: 600;
}

.confidence-bar {
    height: 4px;
    background: linear-gradient(90deg, #00c8ff, #ff3b5c);
    margin: 15px auto 35px;
    width: 80%;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.4);
}

.detection-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #171b2a;
    padding: 0;
    border-radius: 0;
    margin: 0;
    border-top: none;
    border-bottom: none;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #a0a8c0;
    font-size: 1.1rem;
    font-weight: normal;
}

.detail-value {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: right;
}

.btn-report {
    background: #ff3e5e;
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    width: 100%;
    font-size: 1rem;
    box-shadow: none;
    background-image: none;
}

.btn-report:hover {
    background: #ff267e;
    transform: translateY(-2px);
    background-image: none;
}

.detection-statement {
    text-align: center;
    font-size: 1.3rem;
    margin: 0;
    padding: 30px 0;
    color: #a0a8c0;
    border-bottom: none;
}

.detection-statement strong {
    color: #33eaff;
}

.service-card .result-card {
    background: #171b2a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card .result-header {
    background: #171b2a;
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.service-card .robot-icon {
    color: #ff3e5e;
    font-size: 1.8rem;
    position: absolute;
    left: 20px;
}

.service-card .result-header h3 {
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: 2rem;
}

.service-card .result-content {
    padding: 0;
}

.copyright {
    margin-top: 20px;
    color: #a0aec0;
    font-size: 14px;
}

/* Highlight color for .ai part */
.highlight {
    color: var(--primary-color);
}

/* Media queries for responsive footer */
@media (min-width: 768px) {
    .footer-content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .footer-logo-section {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .footer-section {
        margin-bottom: 20px;
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .defense-methods {
        flex-direction: column;
    }
    
    .result-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .result-cta a {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Audio Comparison Section */
.audio-comparison {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #fdf4ff 100%);
    position: relative;
    overflow: hidden;
}

.audio-comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><rect fill="none" width="40" height="40"/><circle fill="%230ea5e9" opacity="0.03" cx="20" cy="20" r="1"/></svg>');
    z-index: 0;
}

.comparison-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 1;
}

.audio-sample {
    flex: 1;
    max-width: 400px;
}

.audio-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.audio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.audio-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.audio-player {
    margin-top: 1.5rem;
}

.audio-player audio {
    width: 100%;
    border-radius: 30px;
    height: 40px;
}

.audio-player audio::-webkit-media-controls-panel {
    background-color: var(--dark-bg);
}

.audio-player audio::-webkit-media-controls-current-time-display,
.audio-player audio::-webkit-media-controls-time-remaining-display {
    color: var(--text-primary);
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #ff6b9d);
    border-radius: 50%;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 62, 127, 0.3);
}

.comparison-note {
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    border-left: 3px solid var(--primary-color);
}

.comparison-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Media query for responsive design */
@media (max-width: 768px) {
    .comparison-container {
        flex-direction: column;
    }
    
    .vs-divider {
        margin: 1rem 0;
    }
    
    .audio-sample {
        width: 100%;
        max-width: 100%;
    }
}

/* Deepfake Threat Section */
.deepfake-threat {
    padding: 5rem 2rem;
    position: relative;
    background: white;
    overflow: hidden;
}

.deepfake-threat::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 1;
}

.stat-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--secondary-color), #ff6b9d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.stat-highlight {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0.5rem 0;
    line-height: 1.2;
}

.stat-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.stat-content .highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

.cta-banner {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08), rgba(139, 92, 246, 0.05));
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(236, 72, 153, 0.15);
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.cta-banner h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-banner p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.cta-banner .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
    background: linear-gradient(135deg, #ff5e97, #ff8eb6);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 62, 127, 0.3);
}

.cta-banner .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 62, 127, 0.4);
    background: linear-gradient(135deg, #ff7eac, #ffa6c4);
}

/* Media query for responsive design */
@media (max-width: 768px) {
    .stat-card {
        flex-direction: column;
    }
    
    .stat-icon {
        margin-bottom: 1rem;
    }
    
    .stat-highlight {
        font-size: 1.5rem;
    }
    
    .cta-banner h3 {
        font-size: 1.5rem;
    }
    
    .cta-banner p {
        font-size: 1rem;
    }
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: var(--lighter-bg);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect fill="none" width="20" height="20"/><rect fill="%23ffffff" opacity="0.03" width="1" height="1" x="0" y="0"/></svg>');
    z-index: 0;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.service-card .upload-container,
.service-card .detect-container {
    margin-top: 2rem;
}

/* Media query for responsive design */
@media (max-width: 768px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
}

/* Services Tabs */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.tab-btn {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tab-btn:hover {
    background-color: rgba(0, 200, 255, 0.15);
    color: #00e5ff;
    border-color: #00e5ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 200, 255, 0.2);
}

.tab-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 200, 255, 0.1);
}

.tab-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(0, 200, 255, 0.3);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.tab-btn:hover::after {
    animation: ripple 1s ease-out;
    opacity: 0;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0) translate(-50%, -50%);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20) translate(-50%, -50%);
        opacity: 0;
    }
}

.tab-btn.active {
    background-color: rgba(0, 200, 255, 0.25);
    color: #00e5ff;
    border-color: #00e5ff;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 200, 255, 0.15);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
}

/* API Service */
.api-service {
    text-align: left;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    justify-content: center;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00e5ff, #00a0cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
    margin-right: 1.5rem;
}

.api-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.api-feature {
    display: flex;
    gap: 1.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.api-feature:hover {
    transform: translateY(-5px);
}

.api-feature i {
    font-size: 1.5rem;
    color: #00e5ff;
    margin-top: 0.5rem;
}

.api-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.api-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Enterprise Service */
.enterprise-service {
    text-align: left;
}

.enterprise-features {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.enterprise-feature {
    display: flex;
    gap: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.enterprise-feature:hover {
    transform: translateY(-5px);
}

.feature-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00e5ff;
    opacity: 0.5;
    line-height: 1;
    min-width: 60px;
}

.feature-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.enterprise-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .services-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .api-feature, .enterprise-feature {
        flex-direction: column;
    }
    
    .api-feature i {
        margin-bottom: 1rem;
    }
    
    .feature-number {
        margin-bottom: 1rem;
    }
    
    .api-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .api-cta a {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

.play-button {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    transition: transform 0.2s;
}

.play-button:hover {
    transform: scale(1.1);
    color: #00e5ff;
}

.citation {
    text-align: right;
    font-size: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.citation a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.citation a:hover {
    color: #33eaff;
    text-decoration: underline;
}

/* AI Detection Report Styling */
.detect-container {
    margin-top: 40px;
}

.detect-container h3 {
    text-align: center;
    margin-bottom: 15px;
}

.detect-container p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
}

.detection-card {
    background: #171b2a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.detection-header {
    background: #171b2a;
    padding: 20px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.detection-header i {
    color: #ff3e5e;
    font-size: 1.8rem;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.detection-header h3 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: #fff;
}

.detection-content {
    padding: 0;
}

.detection-message {
    text-align: center;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detection-message p {
    font-size: 1.5rem;
    color: #a0a8c0;
    margin: 0;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.detection-message strong {
    color: #33eaff;
}

.detection-info {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #a0a8c0;
    font-size: 1.1rem;
}

.info-value {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: right;
}

.report-button {
    background: #ff3e5e;
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: calc(100% - 60px);
    margin: 30px;
    font-size: 1rem;
}

.report-button:hover {
    background: #ff267e;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .detection-message p {
        font-size: 1.2rem;
    }
    
    .info-row {
        padding: 15px 20px;
    }
    
    .info-label, .info-value {
        font-size: 1rem;
    }
    
    .report-button {
        margin: 20px;
        width: calc(100% - 40px);
    }
}

/* Audio Visualization Styling */
.audio-visualization {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.waveform-container {
    background: rgba(10, 14, 23, 0.4);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.waveform-label {
    font-size: 0.9rem;
    color: #a0a8c0;
    margin-bottom: 15px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.waveform-visualization {
    height: 120px;
    position: relative;
}

.waveform-bars {
    display: flex;
    align-items: center;
    height: 80px;
    gap: 3px;
}

.waveform-bar {
    flex: 1;
    background: linear-gradient(to top, #2a3a5a 20%, #4a5a7a 100%);
    height: 30%;
    border-radius: 2px;
    transition: height 0.2s ease;
}

/* Generate random heights for bars using nth-child */
.waveform-bar:nth-child(odd) { height: 40%; }
.waveform-bar:nth-child(3n) { height: 60%; }
.waveform-bar:nth-child(5n) { height: 75%; }
.waveform-bar:nth-child(7n) { height: 55%; }
.waveform-bar:nth-child(11n) { height: 65%; }

/* Highlight watermarked sections */
.waveform-bar.watermarked {
    background: linear-gradient(to top, #1a6e8a 20%, #33eaff 100%);
    box-shadow: 0 0 10px rgba(51, 234, 255, 0.4);
}

/* Remove the time axis below the waveform */
.waveform-visualization:after {
    display: none;
}

/* Update the watermark indicator to match screenshot */
.watermark-indicator {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.indicator-dot {
    width: 16px;
    height: 16px;
    background: #33eaff;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 8px rgba(51, 234, 255, 0.6);
}

.indicator-text {
    font-size: 0.9rem;
    color: #a0a8c0;
    font-family: 'Inter', sans-serif;
}

/* Add animation to the watermarked bars */
@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.waveform-bar.watermarked {
    animation: pulse 2s infinite;
}

/* Make the visualization responsive */
@media (max-width: 768px) {
    .audio-visualization {
        padding: 15px;
    }
    
    .waveform-container {
        padding: 15px;
    }
    
    .waveform-visualization {
        height: 100px;
    }
    
    .waveform-bars {
        height: 60px;
        gap: 2px;
    }
    
    .waveform-visualization:before {
        content: '0:00          3:00          6:12';
    }
}

/* Simple Audio Player */
.simple-audio-player {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #171b2a;
    border: 2px solid rgba(51, 234, 255, 0.5);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(51, 234, 255, 0.2);
}

.play-button:hover {
    background: rgba(51, 234, 255, 0.1);
    transform: scale(1.05);
}

.play-button:active {
    transform: scale(0.95);
}

.simple-audio-player audio {
    display: none;
}

/* About Us Section Styling */
.about-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fef3c7 0%, #fdf4ff 100%);
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 15px;
}

.about-section .section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.about-story, .about-mission, .about-team, .about-values {
    background: rgba(23, 27, 42, 0.5);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid rgba(51, 234, 255, 0.3);
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-member h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.team-member p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.member-bio {
    font-size: 0.9rem;
    line-height: 1.5;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-item {
    text-align: center;
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-item h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.value-item p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.mission-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.05), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08),
                0 10px 20px rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.2);
}

.mission-card:hover::before {
    opacity: 1;
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 245, 255, 0.2);
}

.mission-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.mission-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(0, 245, 255, 0.05));
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid var(--card-border);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(0, 245, 255, 0.1), transparent 60%);
    transform: translate(-50%, -50%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.about-cta h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-story, .about-values {
        grid-column: span 1;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.about-team {
    grid-column: span 2;
    background: rgba(23, 27, 42, 0.5);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}