/* Version 1: Glassmorphism with Particle Animations */

:root {
    --primary-gradient: linear-gradient(135deg, #000000 0%, #434343 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #000000;
    --text-secondary: #4a4a4a;
    --bg-light: #ffffff;
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    --accent: #000000;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
}

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

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 150px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #000000;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn-primary {
    background: #000000;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #333333;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(0, 0, 0, 0.2);
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #000000;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000000;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    padding: 140px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 100vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #000000;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #000000 0%, #666666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* AI Rotator Styles */
.ai-rotator {
    display: inline-block;
    position: relative;
    min-height: 60px;
    min-width: 640px;
}

.ai-name {
    font-weight: 900;
    background: linear-gradient(135deg, #000000 0%, #434343 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    text-align: left;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: absolute;
    left: 0;
    top: 0;
}

.ai-name.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeInUp 1.2s ease-out 0.6s both;
}

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

.arrow-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow-icon {
    transform: translateX(4px);
}

.hero-stats {
    display: flex;
    gap: 24px;
    animation: fadeInUp 1.4s ease-out 0.8s both;
}

.stat-item {
    padding: 20px 30px;
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666666;
}

/* Dashboard Preview */
.dashboard-preview {
    padding: 0;
    overflow: hidden;
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.window-controls span:nth-child(1) {
    background: #ff5f57;
}

.window-controls span:nth-child(2) {
    background: #ffbd2e;
}

.window-controls span:nth-child(3) {
    background: #28ca42;
}

.dashboard-title {
    color: #000000;
    font-weight: 600;
}

.dashboard-content {
    padding: 30px;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% {
        transform: translateY(-100px);
    }
    100% {
        transform: translateY(100px);
    }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.metric-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 12px;
    color: #666666;
}

/* Problem Section */
.problem-section {
    padding: 100px 24px;
    background: white;
}

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

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

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #000000;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.problem-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.problem-icon {
    margin-bottom: 24px;
}

.problem-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* Features Section */
.features-section {
    padding: 100px 24px;
    background: #000000;
}

.features-section .section-title {
    color: white;
}

.features-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.features-tabs {
    margin-top: 60px;
}

.tab-nav {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 60px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 15px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    font-size: 16px;
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    background: var(--primary-gradient);
    color: white;
}

.tab-pane {
    display: none;
    min-height: 500px;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-content {
    position: relative;
    min-height: 500px;
}

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

.feature-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 700px;
    padding: 40px 0;
}

.floating-cards {
    position: relative;
    height: 300px;
}

.float-card {
    position: absolute;
    padding: 20px 30px;
    color: white;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.card-2 {
    top: 80px;
    right: 20px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 40px;
    left: 60px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.feature-visual::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.02) 0%, 
                rgba(255, 255, 255, 0) 50%,
                rgba(255, 255, 255, 0.01) 100%);
    border-radius: 20px;
    pointer-events: none;
    z-index: 0;
}

.feature-visual img {
    max-width: 100%;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* Specific styling for Monitor tab - angled laptop view */
#monitor .feature-visual {
    perspective: 1500px;
    transform-style: preserve-3d;
}

#monitor .feature-visual img {
    transform: rotateY(-15deg) rotateX(5deg) scale(1.15);
    max-width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4),
                30px 30px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

#monitor .feature-visual img:hover {
    transform: rotateY(-10deg) rotateX(3deg) scale(1.2);
}

/* Specific styling for Optimize tab - floating device */
#optimize .feature-visual {
    perspective: 1500px;
}

#optimize .feature-visual img {
    transform: rotateY(10deg) rotateX(-5deg) scale(1.2);
    max-width: 105%;
    animation: floatDevice 6s ease-in-out infinite;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4),
                -30px 30px 60px rgba(0, 0, 0, 0.3);
}

@keyframes floatDevice {
    0%, 100% {
        transform: rotateY(10deg) rotateX(-5deg) scale(1.2) translateY(0);
    }
    50% {
        transform: rotateY(10deg) rotateX(-5deg) scale(1.2) translateY(-20px);
    }
}

.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
}

.feature-content h3 {
    font-size: 32px;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.feature-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    color: white;
    padding: 12px 0;
    font-size: 16px;
}

/* Screenshot Styles */
.feature-screenshot {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2),
                0 0 80px rgba(255, 255, 255, 0.05);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
    object-fit: cover;
}

.feature-screenshot:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 100px rgba(255, 255, 255, 0.08);
}

/* Analyze tab - animated showcase layout */
.dual-screenshots {
    position: relative;
    width: 100%;
    height: 650px;
    transform-style: preserve-3d;
    perspective: 2000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dual-screenshots .feature-screenshot {
    position: absolute;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Dashboard - Top layer, slightly left */
.dual-screenshots .feature-screenshot:first-child {
    width: 55%;
    top: 10%;
    left: 5%;
    transform: rotateY(-8deg) rotateX(2deg) translateZ(50px);
    z-index: 3;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4),
                20px 20px 40px rgba(0, 0, 0, 0.3);
}

/* Competitors - Middle layer, right side */
.dual-screenshots .feature-screenshot:nth-child(2) {
    width: 55%;
    top: 25%;
    right: 5%;
    transform: rotateY(8deg) rotateX(-2deg) translateZ(25px);
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35),
                -15px 15px 30px rgba(0, 0, 0, 0.2);
}

/* Content Opportunities - Bottom layer, centered */
.dual-screenshots .feature-screenshot:nth-child(3) {
    width: 60%;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%) rotateX(-5deg) translateZ(0px);
    z-index: 1;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45),
                0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Only animate when the Analyze tab is active - all start together */
.tab-pane.active#analyze .dual-screenshots .feature-screenshot:first-child {
    animation: showcaseFirst 18s infinite;
}

.tab-pane.active#analyze .dual-screenshots .feature-screenshot:nth-child(2) {
    animation: showcaseSecond 18s infinite;
}

.tab-pane.active#analyze .dual-screenshots .feature-screenshot:nth-child(3) {
    animation: showcaseThird 18s infinite;
}

/* First image animation - focuses at beginning */
@keyframes showcaseFirst {
    0%, 100% {
        transform: rotateY(-8deg) rotateX(2deg) translateZ(50px);
        filter: brightness(0.85);
        z-index: 3;
    }
    5%, 20% {
        transform: scale(1.3) translateZ(150px) rotateY(0deg) rotateX(0deg);
        filter: brightness(1.1);
        z-index: 20;
        box-shadow: 0 60px 140px rgba(0, 0, 0, 0.8);
    }
    25%, 95% {
        transform: rotateY(-8deg) rotateX(2deg) translateZ(50px);
        filter: brightness(0.85);
        z-index: 3;
    }
}

/* Second image animation - focuses in middle */
@keyframes showcaseSecond {
    0%, 30% {
        transform: rotateY(8deg) rotateX(-2deg) translateZ(25px);
        filter: brightness(0.85);
        z-index: 2;
    }
    35%, 50% {
        transform: scale(1.3) translateZ(150px) rotateY(0deg) rotateX(0deg);
        filter: brightness(1.1);
        z-index: 20;
        box-shadow: 0 60px 140px rgba(0, 0, 0, 0.8);
    }
    55%, 100% {
        transform: rotateY(8deg) rotateX(-2deg) translateZ(25px);
        filter: brightness(0.85);
        z-index: 2;
    }
}

/* Third image animation - focuses at end */
@keyframes showcaseThird {
    0%, 60% {
        transform: translateX(-50%) rotateX(-5deg) translateZ(0px);
        filter: brightness(0.85);
        z-index: 1;
    }
    65%, 80% {
        transform: translateX(-50%) scale(1.3) translateZ(150px) rotateX(0deg);
        filter: brightness(1.1);
        z-index: 20;
        box-shadow: 0 60px 140px rgba(0, 0, 0, 0.8);
    }
    85%, 100% {
        transform: translateX(-50%) rotateX(-5deg) translateZ(0px);
        filter: brightness(0.85);
        z-index: 1;
    }
}

/* Pause animation on hover to let user explore */
.dual-screenshots:hover .feature-screenshot {
    animation-play-state: paused;
}

/* Individual hover - bring specific image to front */
.dual-screenshots .feature-screenshot:hover {
    animation-play-state: paused !important;
    z-index: 15 !important;
    transform: scale(1.3) translateZ(150px) rotateY(0deg) rotateX(0deg) !important;
    box-shadow: 0 60px 140px rgba(0, 0, 0, 0.7) !important;
    filter: brightness(1.05) !important;
}
    height: auto;
}

/* Screenshot Placeholder (keeping for any remaining placeholders) */
.screenshot-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.placeholder-text {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.placeholder-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
}

/* CTA Section */
.cta-section {
    padding: 100px 24px;
    background: white;
}

.cta-card {
    padding: 80px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 100px;
    align-items: center;
    background: #000000;
}

.cta-content h2 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* CTA Section Button Styling */
.cta-card .btn-primary {
    background: white;
    color: black;
    font-weight: 700;
    padding: 20px 40px;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.floating-logos {
    position: relative;
    height: 300px;
    width: 350px;
    margin: 0 auto;
    margin-right: 0;
}

.logo-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.orbit-1 {
    animation: orbit 20s linear infinite;
}

.orbit-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation: orbit 15s linear infinite reverse;
}

.orbit-3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation: orbit 10s linear infinite;
}

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

.logo-item {
    position: absolute;
    background: white;
    color: #000000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 24px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gradient);
    transform: translateY(-4px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-logo {
        display: flex;
        align-items: center;
    }
    
    .nav-logo img {
        height: 100px;
        width: auto;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-cta {
        position: fixed;
        bottom: -100%;
        left: 0;
        right: 0;
        background: white;
        padding: 16px;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
        z-index: 998;
        gap: 10px;
        transition: bottom 0.3s ease;
        display: none;
    }

    .nav-cta.active {
        bottom: 0;
        display: flex;
    }
    
    .nav-cta button {
        flex: 1;
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero Section */
    .hero {
        grid-template-columns: 1fr;
        padding: 160px 16px 60px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: clamp(28px, 7vw, 42px);
        line-height: 1.3;
    }

    .hero-title br {
        display: none;
    }

    .ai-rotator {
        min-height: 45px;
        min-width: auto;
        display: block;
        position: relative;
        margin: 8px 0;
    }

    .ai-name {
        font-size: clamp(28px, 7vw, 42px);
        white-space: nowrap;
        text-align: left;
        position: relative;
        left: 0;
        top: 0;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta button {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .stat-item {
        padding: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }
    
    .metric-divider {
        display: none;
    }
    
    .hero-visual {
        display: none;
    }
    
    /* Problem Section */
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .problem-card {
        padding: 30px 20px;
    }
    
    /* Features */
    .tab-nav {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-visual {
        display: none;
    }
    
    .feature-content h3 {
        font-size: 28px;
    }
    
    .feature-content p {
        font-size: 16px;
    }
    
    /* CTA Section */
    .cta-card {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons button {
        width: 100%;
    }
    
    .cta-visual {
        display: none;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
    
    /* General Mobile Optimizations */
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Small Mobile Devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Tablet Portrait */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 0 32px;
    }
    
    .hero {
        padding: 140px 32px 80px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-card {
        padding: 60px 40px;
    }
}

/* iOS Safe Areas */
@supports (padding: max(0px)) {
    .nav-cta {
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }
    
    .footer {
        padding-bottom: max(40px, env(safe-area-inset-bottom));
    }
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {
    button, a {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-link {
        padding: 10px;
    }
    
    .tab-btn {
        min-height: 48px;
    }
}