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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-tertiary: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b2;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-green: #64ff96;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #64ff96 0%, #3b82f6 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
}

.logo-icon {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 24px;
}

.logo-text {
    color: var(--text-primary);
}

.cta-button-nav {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 14px;
}

.cta-button-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--accent-green);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.cta-button-primary {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button-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;
}

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

.cta-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}

.cta-button-primary:active {
    transform: translateY(0);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-visual {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.video-demo {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: floatDemo 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.video-demo:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.3);
}

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

.video-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.demo-dots {
    display: flex;
    gap: 8px;
}

.demo-dots span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.demo-dots span:nth-child(1) {
    animation-delay: 0s;
}

.demo-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.demo-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.demo-title {
    font-size: 14px;
    color: var(--text-secondary);
}

.video-demo-content {
    padding: 40px;
}

.video-placeholder {
    position: relative;
    aspect-ratio: 9/16;
    max-width: 300px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a24 0%, #2a1a3a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(99, 102, 241, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    z-index: 10;
    animation: pulsePlay 2s ease-in-out infinite;
}

.play-button::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.5);
    animation: ripple 2s ease-in-out infinite;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(99, 102, 241, 1);
    animation: none;
}

.play-button.playing {
    opacity: 0;
    pointer-events: none;
}

@keyframes pulsePlay {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    text-align: left;
}

.video-overlay p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.video-overlay span {
    font-size: 12px;
    color: var(--text-secondary);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: pulseGradient 8s ease-in-out infinite;
}

/* Hero Animations */
.hero-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.8) 0%, transparent 70%);
    top: -10%;
    right: 10%;
    animation: float 15s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, transparent 70%);
    bottom: -15%;
    left: 5%;
    animation: float 20s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(100, 255, 150, 0.4) 0%, transparent 70%);
    top: 40%;
    left: -5%;
    animation: float 18s ease-in-out infinite;
    animation-delay: -5s;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.5;
}

.glow-effect {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.glow-1 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: 10%;
    left: -10%;
    animation: rotate 30s linear infinite, float 15s ease-in-out infinite;
}

.glow-2 {
    background: linear-gradient(135deg, #64ff96, #3b82f6);
    bottom: 10%;
    right: -10%;
    animation: rotate 25s linear infinite reverse, float 18s ease-in-out infinite;
}

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

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(40px, 10px) scale(1.02);
    }
}

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

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes pulseGradient {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.particle {
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Gradient text animation */
.gradient-text {
    background-size: 200% auto;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Hero badge pulse */
.hero-badge {
    animation: fadeInUp 0.6s ease-out, badgePulse 3s ease-in-out infinite 1s;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(99, 102, 241, 0);
    }
}

/* Stats counter animation */
.stat-number {
    display: inline-block;
    animation: countUp 2s ease-out;
}

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

/* Video Examples Section */
.video-examples {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

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

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

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.video-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.video-card.playing {
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.3);
}

.video-player {
    position: relative;
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, #1a1a24 0%, #2a1a3a 100%);
    overflow: hidden;
    border-radius: 12px;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 10;
}

.play-icon:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(99, 102, 241, 1);
}

.play-icon.playing {
    opacity: 0;
    pointer-events: none;
}

.video-card-content {
    padding: 24px;
}

.video-card-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-card-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    position: relative;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-top: 64px;
}

.step {
    position: relative;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: none;
}

@media (min-width: 768px) {
    .step {
        text-align: left;
    }

    .step-number {
        margin: 0 0 24px 0;
    }

    .steps {
        position: relative;
    }

    .steps::before {
        content: '';
        position: absolute;
        top: 30px;
        left: 30px;
        right: 30px;
        height: 2px;
        background: linear-gradient(to right, 
            var(--accent-primary) 0%, 
            var(--accent-primary) 25%, 
            var(--accent-secondary) 50%, 
            var(--accent-green) 75%, 
            var(--accent-green) 100%);
        opacity: 0.3;
        z-index: 0;
    }

    .step {
        position: relative;
        z-index: 1;
    }
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-2);
}

.pricing-badge {
    display: inline-block;
    background: rgba(100, 255, 150, 0.1);
    color: var(--accent-green);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.pricing-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 32px;
    line-height: 1.3;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.price-amount {
    font-size: 72px;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.pricing-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.pricing-card .cta-button-primary {
    width: 100%;
    margin-bottom: 32px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-feature svg {
    flex-shrink: 0;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQs Section */
.faqs {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 64px auto 0;
}

.faq-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.5);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    text-align: left;
    padding: 24px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--accent-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
    position: relative;
    overflow: visible;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.phone-row {
    grid-template-columns: 140px 1fr;
}

.form-group {
    width: 100%;
    position: relative;
    overflow: visible;
}

.form-group.phone-input {
    overflow: visible !important;
    z-index: 1000;
    position: relative;
}

.form-group input {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 111;
}

.form-group select {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 16px 12px;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

/* Custom styles for phone number input */
.phone-number-input {
    padding-left: 65px !important;
}

/* Phone input specific styling */
.phone-input {
    width: 100% !important;
    position: relative;
    z-index: 1;
}

.phone-input .iti {
    width: 100% !important;
    display: block;
    position: relative;
    z-index: 1;
}

.phone-input .iti__tel-input {
    width: 100% !important;
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    padding: 16px 20px 16px 70px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
    box-sizing: border-box !important;
    position: relative;
    z-index: 1;
}

.phone-input .iti__tel-input:focus {
    outline: none !important;
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
    z-index: 2;
}

.phone-input .iti__tel-input::placeholder {
    color: var(--text-secondary) !important;
}

/* Selected flag styling */
.phone-input .iti__selected-flag {
    background:transparent !important;
    border: transparent !important;
    border-right: none !important;
    padding: 0 12px !important;
    height: 52px !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 3 !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 12px 0 0 12px !important;
    min-width: 65px !important;
    justify-content: center !important;
}

.phone-input .iti__selected-flag:hover {
    /* background: rgba(99, 102, 241, 0.2) !important;
    border-color: var(--accent-primary) !important; */
}

.phone-input .iti__arrow {
    border-color: var(--text-primary) transparent transparent !important;
    margin-left: 8px !important;
    border-top-width: 6px !important;
    border-left-width: 4px !important;
    border-right-width: 4px !important;
}

/* Override default intlTelInput styles to match dark theme */
.iti__dropdown {
    background: var(--bg-secondary) !important;
    border: 2px solid var(--accent-primary) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8) !important;
    z-index: 99999 !important;
    max-height: 250px !important;
    overflow-y: auto !important;
    margin-top: 4px !important;
    backdrop-filter: blur(10px) !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 300px !important;
    color: var(--text-primary) !important;
}

/* Dropdown styling */
.phone-input .iti__dropdown {
    background: var(--bg-secondary) !important;
    border: 2px solid var(--accent-primary) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
    z-index: 99999 !important;
    max-height: 250px !important;
    overflow-y: auto !important;
    margin-top: 4px !important;
    backdrop-filter: blur(10px) !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 300px !important;
}

.phone-input .iti__country {
    color: var(--text-primary) !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: background-color 0.2s ease !important;
}

.phone-input .iti__country:hover {
    background: var(--accent-primary) !important;
    color: white !important;
}

.phone-input .iti__country:hover .iti__country-name,
.phone-input .iti__country:hover .iti__dial-code {
    color: white !important;
}

.phone-input .iti__country:last-child {
    border-bottom: none !important;
    border-radius: 0 0 10px 10px !important;
}

.phone-input .iti__flag {
    width: 24px !important;
    height: 18px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
    flex-shrink: 0 !important;
    border-radius: 3px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.phone-input .iti__country-name {
    flex: 1 !important;
    font-size: 15px !important;
    color: var(--text-primary) !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    font-weight: 500 !important;
}

.phone-input .iti__dial-code {
    color: var(--accent-green) !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
    font-weight: 600 !important;
     color: #ffffff !important;
    background: rgb(0 0 0) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
}

.phone-input .iti__highlight {
    background: var(--accent-primary) !important;
    color: white !important;
}

.phone-input .iti__highlight .iti__country-name {
    color: white !important;
}

.phone-input .iti__highlight .iti__dial-code {
    color: #ffffff !important;
    background: rgb(0 0 0) !important;
}

/* Search input in dropdown */
.phone-input .iti__search-input {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    margin: 8px !important;
    width: calc(100% - 16px) !important;
    font-size: 14px !important;
}

.phone-input .iti__search-input:focus {
    outline: none !important;
    border-color: var(--accent-primary) !important;
}

.phone-input .iti__search-input::placeholder {
    color: var(--text-secondary) !important;
}



.phone-input .iti__country-list{
    top: 64px;
    border: 1px solid #31313a;
    border-radius: 12px;
    background: #1a1a24;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .phone-input {
        width: 100% !important;
    }
    
    .phone-input .iti__tel-input {
        padding: 14px 16px 14px 65px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
    }
    
    .phone-input .iti__selected-flag {
        height: 50px !important;
        min-width: 60px !important;
        border-radius: 10px 0 0 10px !important;
        padding: 0 10px !important;
    }
    
    .phone-input .iti__dropdown {
        border-radius: 10px !important;
        max-height: 200px !important;
        margin-top: 2px !important;
    }
    
    .phone-input .iti__country {
        padding: 12px 14px !important;
    }
    
    .phone-input .iti__flag {
        width: 20px !important;
        height: 15px !important;
    }
    
    .phone-input .iti__selected-flag {
        height: 50px !important;
        padding: 0 6px !important;
    }
    
    .phone-input .iti__dropdown {
        max-height: 160px !important;
    }
}

@media (max-width: 480px) {
    .cta-form {
        gap: 12px !important;
        overflow: visible !important;
    }
    
    .form-group {
        margin-bottom: 8px !important;
        overflow: visible !important;
    }
    
    .phone-input .iti__tel-input {
        padding: 12px 14px 12px 60px !important;
        font-size: 15px !important;
    }
    
    .phone-input .iti__selected-flag {
        height: 46px !important;
        min-width: 55px !important;
        padding: 0 8px !important;
    }
    
    .phone-input .iti__dropdown {
        max-height: 180px !important;
        border-radius: 8px !important;
        z-index: 99999 !important;
        position: fixed !important;
        min-width: 280px !important;
    }
    
    .form-row {
        gap: 10px !important;
        overflow: visible !important;
    }
    
    .final-cta {
        padding: 60px 0 !important;
        overflow: visible !important;
    }
    
    .cta-title {
        font-size: 32px !important;
    }
    
    .cta-subtitle {
        font-size: 16px !important;
        margin-bottom: 24px !important;
    }
    
    .container {
        overflow: visible !important;
    }
}

/* Ensure dropdown appears above other elements */
.iti__dropdown {
    z-index: 99999 !important;
}

/* Fix for any potential overlay issues */
.phone-input .iti--container {
    position: relative !important;
    z-index: 1000;
}

.phone-input .iti {
    position: relative !important;
    z-index: 1000;
}

/* Ensure form doesn't interfere with dropdown */
.cta-form {
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Make sure phone input has higher stacking context when active */
.phone-input:focus-within {
    z-index: 10000;
}

.phone-input:focus-within .iti {
    z-index: 10000;
}

.phone-input:focus-within .iti__dropdown {
    z-index: 99999 !important;
}

.cta-form .cta-button-primary {
    width: 100%;
}

.form-note {
    font-size: 14px;
    color: var(--text-secondary);
}


#status-message {
    margin-top: 16px;
}

/* Footer */
.footer {
    padding: 60px 0 32px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Shine effect for cards */
.video-card::before,
.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.video-card,
.feature-card {
    position: relative;
    overflow: hidden;
}

/* Glow on hover for CTA buttons */
.cta-button-primary,
.cta-button-nav {
    position: relative;
    z-index: 1;
}

.cta-button-primary::after,
.cta-button-nav::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.cta-button-primary:hover::after,
.cta-button-nav:hover::after {
    width: 300px;
    height: 300px;
}

/* Hero title word reveal animation */
.hero-title {
    overflow: hidden;
}

.hero-title span {
    display: inline-block;
}

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

    .section-title {
        font-size: 32px;
    }

    .pricing-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 32px;
    }

    .price-amount {
        font-size: 56px;
    }

    .hero-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 24px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .phone-row {
        grid-template-columns: 120px 1fr;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 6px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* Mobile touch optimizations */
@media (max-width: 768px) and (pointer: coarse) {
    .phone-input .iti__selected-flag {
        min-height: 48px !important;
        min-width: 60px !important;
        touch-action: manipulation;
    }
    
    .phone-input .iti__country {
        min-height: 48px !important;
        touch-action: manipulation;
    }
    
    .form-group input,
    .form-group select {
        min-height: 48px !important;
        touch-action: manipulation;
    }
    
    .phone-input .iti__dropdown {
        z-index: 99999 !important;
        position: fixed !important;
        max-width: 90vw !important;
        left: 5% !important;
        right: 5% !important;
        margin-top: 8px !important;
    }
}

/* Comprehensive intlTelInput dark theme integration */
/* Override any remaining default light theme styles */
.intl-tel-input .country-list {
    background-color: var(--bg-secondary) !important;
    border: 2px solid var(--accent-primary) !important;
    color: var(--text-primary) !important;
}

.intl-tel-input .country-list .country {
    color: var(--text-primary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.intl-tel-input .country-list .country:hover {
    background-color: var(--accent-primary) !important;
    color: white !important;
}

.intl-tel-input .country-list .country.highlight {
    background-color: var(--accent-primary) !important;
    color: white !important;
}

.intl-tel-input .country-list .country .dial-code {
    color: var(--accent-green) !important;
}

.intl-tel-input .country-list .country:hover .dial-code,
.intl-tel-input .country-list .country.highlight .dial-code {
    color: var(--accent-green) !important;
}

/* Additional flag container styling */
.iti__flag-container {
    background: rgba(99, 102, 241, 0.1) !important;
    border-radius: 12px 0 0 12px !important;
    padding: 0px !important;
}

/* Search input specific styling */
#iti-search-input {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: 6px !important;
}

#iti-search-input:focus {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2) !important;
}

#iti-search-input::placeholder {
    color: var(--text-secondary) !important;
}

/* Ensure scrollbar in dropdown matches theme */
.iti__dropdown::-webkit-scrollbar {
    width: 8px;
}

.iti__dropdown::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 4px;
}

.iti__dropdown::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

.iti__dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.8);
}

/* Additional fixes for dropdown visibility */
body.iti-mobile .iti__dropdown {
    z-index: 99999 !important;
    position: fixed !important;
}

/* Global intlTelInput theme overrides to match dark theme */
.iti {
    width: 100% !important;
}

.iti__tel-input {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: 12px !important;
}

.iti__tel-input:focus {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.iti__tel-input::placeholder {
    color: var(--text-secondary) !important;
}

.iti__selected-flag {
    /* background: rgba(99, 102, 241, 0.1) !important;
    border: 1px solid var(--border-color) !important;
    border-right: none !important;
    border-radius: 12px 0 0 12px !important; */
}
/* 
.iti__selected-flag:hover {
    background: rgba(99, 102, 241, 0.2) !important;
    border-color: var(--accent-primary) !important;
} */

.iti__arrow {
    border-color: var(--text-primary) transparent transparent !important;
}

.iti__country {
    color: var(--text-primary) !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 14px 16px !important;
}

.iti__country:hover {
    background: var(--accent-primary) !important;
    color: white !important;
}

.iti__country-name {
    color: var(--text-primary) !important;
}

.iti__country:hover .iti__country-name {
    color: white !important;
}

.iti__dial-code {
    color: var(--accent-green) !important;
    background: rgba(100, 255, 150, 0.1) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
}

.iti__country:hover .iti__dial-code {
    color: var(--accent-green) !important;
    background:#000000 !important;
}

.iti__highlight {
    background: var(--accent-primary) !important;
    color: white !important;
}

.iti__highlight .iti__country-name {
    color: white !important;
}

.iti__highlight .iti__dial-code {
    color: var(--accent-green) !important;
    background: rgba(100, 255, 150, 0.2) !important;
}

.iti__search-input {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: 6px !important;
}

.iti__search-input:focus {
    border-color: var(--accent-primary) !important;
    outline: none !important;
}

.iti__search-input::placeholder {
    color: var(--text-secondary) !important;
}

/* Prevent any parent containers from hiding the dropdown */
.final-cta,
.final-cta .container,
.cta-content,
.cta-form,
.form-row,
.form-group.phone-input {
    overflow: visible !important;
    position: relative;
}

/* Ensure dropdown is always visible */
.iti__dropdown-content {
    overflow-y: auto !important;
    max-height: 200px !important;
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .phone-input .iti__dropdown {
        left: 2% !important;
        right: 2% !important;
        max-width: 96vw !important;
        border-radius: 6px !important;
    }
    
    .phone-input .iti__country {
        padding: 10px 12px !important;
        font-size: 14px !important;
    }
    
    .phone-input .iti__country-name {
        font-size: 14px !important;
    }
}
