/* BabelTalkie - Modern Landing Page CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --secondary: #10B981;
    --accent: #8B5CF6;
    --dark: #1F2937;
    --light: #F9FAFB;
    --gray: #6B7280;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    font-size: 1.8rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.lang-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 5px 10px;
    font-size: 0.85rem;
    color: var(--dark);
    border-radius: 5px;
    transition: all 0.3s;
}

.lang-btn:hover, .lang-btn.active {
    background: var(--primary);
    color: #fff;
}

.cta-btn {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: var(--primary-dark);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
}

/* Hero Section - Temond Style */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #FBBF24 0%, #F87171 100%);
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
}

.play-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.play-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 340px;
    height: 700px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 50px;
    padding: 14px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 2px #3a3a3a,
        inset 0 0 0 2px #0a0a0a,
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 32px;
    background: #0a0a0a;
    border-radius: 20px;
    z-index: 10;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.8);
    z-index: 11;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    padding: 25px 0;
}

.phone-screen iframe {
    width: 143%;
    height: calc(143% + 20px);
    border: none;
    transform: scale(0.7);
    transform-origin: top left;
}

/* Phone screen with screenshot and CTA overlay */
.phone-screen-preview {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.phone-screen-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 40px;
}

.phone-screen-preview iframe {
    width: 143%;
    height: 135%;
    border: none;
    transform: scale(0.7);
    transform-origin: top center;
    display: none;
    margin-left: -21.5%;
    margin-top: 25px;
}

.phone-screen-preview.active img,
.phone-screen-preview.active .phone-cta-overlay {
    display: none;
}

.phone-screen-preview.active iframe {
    display: block;
}

.phone-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.phone-cta-overlay:hover {
    background: rgba(0, 0, 0, 0.4);
}

.phone-cta-btn {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
}

.phone-cta-btn i {
    font-size: 1rem;
}

.phone-instructions-link {
    color: #fff;
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.phone-instructions-link:hover {
    opacity: 1;
}

/* Modal styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-content h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

/* Phone buttons (volume and power) */
.phone-mockup .volume-up,
.phone-mockup .volume-down,
.phone-mockup .power-btn {
    position: absolute;
    background: linear-gradient(90deg, #2a2a2a, #3a3a3a);
    border-radius: 2px;
}

.phone-mockup .volume-up {
    left: -4px;
    top: 140px;
    width: 4px;
    height: 40px;
}

.phone-mockup .volume-down {
    left: -4px;
    top: 195px;
    width: 4px;
    height: 65px;
}

.phone-mockup .power-btn {
    right: -4px;
    top: 175px;
    width: 4px;
    height: 55px;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-badge {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
    background: rgba(79, 70, 229, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--gray);
    max-width: 600px;
}

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

.text-center .section-subtitle {
    margin: 0 auto;
}

/* Languages Section */
.languages {
    background: #fff;
    position: relative;
}

.languages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
}

.languages-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 50px;
    align-items: start;
}

.languages-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.languages-intro p {
    color: var(--gray);
    margin-bottom: 15px;
}

.language-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.language-card {
    background: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    box-shadow: 0 3px 15px rgba(102, 126, 234, 0.12);
    transition: all 0.3s;
    border: 1px solid rgba(102, 126, 234, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.language-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.language-card .flag {
    font-size: 1.4rem;
}

.language-card h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

/* Features Section - Purple gradient */
.features {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.features .container {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.features-image {
    flex: 1;
}

.features-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.features-content {
    flex: 1;
}

.features .section-badge {
    color: #fff;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 20px;
}

.features .section-title {
    color: #fff;
}

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

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: #10B981;
}

/* Use Cases Section */
.use-cases {
    background: #fff;
}

/* Featured Use Case Card */
.use-case-featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px 50px;
    margin-top: 50px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 30px;
    color: #fff;
}

.use-case-featured .featured-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.use-case-featured .featured-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.use-case-featured .featured-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin: 0;
}

@media (max-width: 768px) {
    .use-case-featured {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .use-case-featured .featured-icon {
        font-size: 3rem;
    }
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.use-case-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(102, 126, 234, 0.12);
    transition: all 0.3s;
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.use-case-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.use-case-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%);
}

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

.step-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.step-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--gray);
}

/* Pricing Section */
.pricing {
    background: #fff;
}

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

.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(102, 126, 234, 0.12);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: scale(1.05);
    border: none;
}

.pricing-card.featured:hover {
    transform: scale(1.08);
}

.pricing-card {
    position: relative;
}

.pricing-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.discount-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #10B981;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card.featured .discount-badge {
    background: #fff;
    color: #667eea;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-card.featured .price {
    color: #fff;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

.pricing-card .description {
    color: var(--gray);
    margin: 15px 0 25px;
}

.pricing-card.featured .description {
    color: rgba(255,255,255,0.8);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.pricing-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i {
    color: #10B981;
}

.pricing-card.featured .pricing-features i {
    color: #fff;
}

.pricing-card .btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    color: #fff;
}

.pricing-card.featured .btn-primary {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    color: #fff;
}

.pricing-note {
    text-align: center;
    margin-top: 30px;
    color: var(--gray);
}

.pricing-promo {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #10B981;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section .section-title {
    color: #fff;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    color: #fff;
}

.cta-section .btn-primary:hover {
    background: linear-gradient(135deg, #FBBF24 0%, #F87171 100%);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 80px 0 40px;
}

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

.footer-brand .logo {
    color: #fff;
    margin-bottom: 15px;
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-3px);
}

.footer-links h5 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .languages-grid {
        grid-template-columns: 1fr;
    }
    
    .features .container {
        flex-direction: column;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 130px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Utilities */
.mt-50 {
    margin-top: 50px;
}

.mb-30 {
    margin-bottom: 30px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease-out;
}

