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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 59, 152, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: #3B3B98;
}

.nav-logo i {
    font-size: 28px;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f6f7fb 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #23234c;
}

.highlight {
    background: linear-gradient(90deg, #3B3B98 0%, #6868e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, #3B3B98 0%, #6868e8 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 59, 152, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 59, 152, 0.4);
}

.btn-secondary {
    background: white;
    color: #3B3B98;
    border: 2px solid #3B3B98;
    box-shadow: 0 4px 20px rgba(59, 59, 152, 0.1);
}

.btn-secondary:hover {
    background: #3B3B98;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 59, 152, 0.3);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #3B3B98;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.browser-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.browser-header {
    background: #f5f5f5;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #ddd;
}

.browser-buttons {
    display: flex;
    gap: 6px;
}

.browser-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
}

.browser-buttons span:nth-child(1) { background: #ff5f56; }
.browser-buttons span:nth-child(2) { background: #ffbd2e; }
.browser-buttons span:nth-child(3) { background: #27ca3f; }

.browser-url {
    background: white;
    padding: 4px 12px;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    flex: 1;
}

.browser-content {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.extension-popup {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(59, 59, 152, 0.15);
    text-align: center;
    min-width: 280px;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #3B3B98;
    font-weight: 600;
}

.popup-header i {
    font-size: 20px;
}

.mic-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(90deg, #3B3B98 0%, #6868e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.mic-button:hover {
    transform: scale(1.05);
}

.mic-button i {
    color: white;
    font-size: 28px;
}

.voice-waves {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 15px;
}

.voice-waves span {
    width: 4px;
    background: #3B3B98;
    border-radius: 2px;
    animation: wave 1.2s infinite ease-in-out;
}

.voice-waves span:nth-child(1) { height: 20px; animation-delay: 0s; }
.voice-waves span:nth-child(2) { height: 30px; animation-delay: 0.1s; }
.voice-waves span:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.voice-waves span:nth-child(4) { height: 35px; animation-delay: 0.3s; }

.listening-text {
    color: #3B3B98;
    font-style: italic;
    font-size: 14px;
}

/* Simplified animations */
@keyframes wave {
    0%, 40%, 100% { transform: scaleY(0.4); }
    20% { transform: scaleY(1); }
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #23234c;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(59, 59, 152, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 35px rgba(59, 59, 152, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3B3B98 0%, #6868e8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #23234c;
    margin-bottom: 16px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

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

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3B3B98 0%, #6868e8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #23234c;
    margin-bottom: 16px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.step-visual i {
    font-size: 48px;
    color: #3B3B98;
    opacity: 0.3;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: white;
}

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

.benefits-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #23234c;
    margin-bottom: 40px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.benefit i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3B3B98 0%, #6868e8 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.benefit h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #23234c;
    margin-bottom: 8px;
}

.benefit p {
    color: #666;
    line-height: 1.6;
}

.testimonial {
    background: linear-gradient(135deg, #3B3B98 0%, #6868e8 100%);
    border-radius: 24px;
    padding: 40px;
    color: white;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 80px;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.testimonial-author span {
    opacity: 0.8;
}

/* Installation Section */
.install {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.install-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.install-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #23234c;
    margin-bottom: 16px;
}

.install-content > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.install-step {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
}

.install-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3B3B98 0%, #6868e8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
}

.install-step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #23234c;
    margin-bottom: 12px;
}

.install-step-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.install-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.install-note {
    background: rgba(59, 59, 152, 0.05);
    border: 1px solid rgba(59, 59, 152, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.install-note i {
    color: #3B3B98;
    font-size: 20px;
}

.install-note p {
    margin: 0;
    color: #666;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.faq-item {
    background: rgba(59, 59, 152, 0.02);
    border: 1px solid rgba(59, 59, 152, 0.08);
    border-radius: 16px;
    padding: 30px;
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #23234c;
    margin-bottom: 16px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #23234c;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
}

.footer-logo i {
    font-size: 28px;
    color: #6868e8;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

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

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #6868e8;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

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

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #666;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.2s ease;
}

.close:hover,
.close:focus {
    color: #333;
}

#demo-video {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 15px;
        max-width: 95%;
    }
    
    #demo-video {
        max-width: 100%;
        height: auto;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .install-step {
        flex-direction: column;
        text-align: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .benefits-text h2 {
        font-size: 2rem;
    }
    
    .install-content h2 {
        font-size: 2rem;
    }
    
    .browser-content {
        padding: 20px;
    }
    
    .extension-popup {
        padding: 20px;
        min-width: auto;
    }
}

/* Family Landing Page Specific Styles */

/* Problem/Solution Section */
.problem-solution {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.problem-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
}

.problem-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #23234c;
    margin-bottom: 16px;
    line-height: 1.3;
    min-height: 3.4rem;
}

.problem-card p {
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

/* Use Cases Section */
.use-cases {
    padding: 100px 0;
    background: white;
}

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

.use-case-card {
    background: #fafbff;
    padding: 30px 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(59, 59, 152, 0.1);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(59, 59, 152, 0.15);
    transform: translateY(-3px);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3B3B98 0%, #6868e8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
}

.use-case-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #23234c;
    margin-bottom: 16px;
    line-height: 1.3;
    min-height: 2.6rem;
}

.use-case-card p {
    color: #666;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Setup Section */
.setup {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f0ff 100%);
}

.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.setup-step {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
}

.setup-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
}

.setup-step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #23234c;
    margin-bottom: 12px;
    line-height: 1.3;
}

.setup-step-content p {
    color: #666;
    line-height: 1.6;
}

/* Social Proof Section */
.social-proof {
    padding: 100px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: #fafbff;
    padding: 40px 30px;
    border-radius: 16px;
    border-left: 4px solid #3B3B98;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-card .testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 24px;
}

.testimonial-card .testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-card .testimonial-author strong {
    color: #3B3B98;
    font-weight: 700;
}

.testimonial-card .testimonial-author span {
    color: #666;
    font-size: 14px;
}

/* Install buttons center */
.install-buttons-center {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .setup-step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .install-buttons-center {
        flex-direction: column;
        align-items: center;
    }
}
