/* Voice OTP Landing Page - Professional Styles */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Voice OTP Brand */
    --primary-blue: #2B5FA8;
    --primary-cyan: #00BCD4;
    --accent-teal: #20C997;
    --dark-blue: #1A3A5C;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #212529;
    --text-gray: #6C757D;
    --success: #28A745;
    --gradient-primary: linear-gradient(135deg, #2B5FA8 0%, #00BCD4 100%);
    --gradient-accent: linear-gradient(135deg, #00BCD4 0%, #20C997 100%);
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    overflow: hidden;
    text-align: center;
    padding: 80px 20px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Animated Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

.wave-line {
    position: absolute;
    width: 200%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100"><path d="M0,50 Q300,0 600,50 T1200,50" fill="none" stroke="white" stroke-width="2"/></svg>') repeat-x;
    animation: wave 20s linear infinite;
}

.wave-line:nth-child(1) {
    top: 20%;
    animation-duration: 15s;
}

.wave-line:nth-child(2) {
    top: 50%;
    animation-duration: 20s;
    animation-delay: -5s;
}

.wave-line:nth-child(3) {
    top: 80%;
    animation-duration: 25s;
    animation-delay: -10s;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.3rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* === SECTIONS === */
section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* === FEATURES SECTION === */
.features {
    background: var(--light-bg);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* === HOW IT WORKS === */
.how-it-works {
    background: var(--white);
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    animation: fadeInLeft 0.8s ease-out both;
}

.step:nth-child(odd) {
    animation: fadeInRight 0.8s ease-out both;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.step-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.step-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-cyan);
    margin: 20px 0;
}

/* === BENEFITS === */
.benefits {
    background: var(--gradient-primary);
    color: var(--white);
}

.benefits .section-title {
    color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.benefit-item {
    text-align: center;
}

.benefit-item i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.benefit-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* === TECHNOLOGY === */
.technology {
    background: var(--light-bg);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-text h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.tech-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.tech-features {
    list-style: none;
}

.tech-features li {
    font-size: 1.1rem;
    padding: 15px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech-features i {
    color: var(--success);
    font-size: 1.3rem;
}

/* Audio Wave Animation */
.audio-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 300px;
}

.audio-wave .bar {
    width: 15px;
    background: var(--gradient-accent);
    border-radius: 10px;
    animation: audioBar 1s ease-in-out infinite;
}

.audio-wave .bar:nth-child(1) { animation-delay: 0s; height: 80px; }
.audio-wave .bar:nth-child(2) { animation-delay: 0.1s; height: 120px; }
.audio-wave .bar:nth-child(3) { animation-delay: 0.2s; height: 160px; }
.audio-wave .bar:nth-child(4) { animation-delay: 0.3s; height: 200px; }
.audio-wave .bar:nth-child(5) { animation-delay: 0.4s; height: 160px; }
.audio-wave .bar:nth-child(6) { animation-delay: 0.5s; height: 120px; }
.audio-wave .bar:nth-child(7) { animation-delay: 0.6s; height: 80px; }
.audio-wave .bar:nth-child(8) { animation-delay: 0.7s; height: 60px; }

@keyframes audioBar {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.5);
    }
}

/* === DEMO CTA === */
.demo-cta {
    background: var(--white);
}

.cta-box {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-note {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* === CONTACT === */
.contact {
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-blue);
}

.info-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-cyan);
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(43, 95, 168, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* === FOOTER === */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.voicewise-logo {
    max-width: 250px;
    margin-bottom: 15px;
}

.footer-tagline {
    opacity: 0.8;
    font-style: italic;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-cyan);
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-cyan);
}

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

.footer-bottom p {
    margin-bottom: 5px;
}

/* === SCROLL TO TOP === */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* === ANIMATIONS === */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .voicewise-logo {
        margin: 0 auto 15px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero {
        min-height: 80vh;
        padding: 60px 20px;
    }
    
    .hero-logo {
        max-width: 280px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-box {
        padding: 50px 20px;
    }
    
    .cta-box h2 {
        font-size: 1.8rem;
    }
}
