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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-weight: 600;
    font-size: 1.25rem;
    color: #2563eb;
}

.alexa-logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.alexa-logo-img {
    height: 40px;
    width: auto;
}

/* Mobile header adjustments */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 20px 0.5rem 20px;
    }
    
    /* Create a top row with logo on left and alexa on right */
    .logo {
        flex: 1;
    }
    
    .alexa-logo-center {
        position: static;
        transform: none;
        flex: 0 0 auto;
    }
    
    /* First row: logo and alexa side by side */
    .header .container > .logo,
    .header .container > .alexa-logo-center {
        display: flex;
        align-items: center;
    }
    
    .header .container > .logo {
        order: 1;
    }
    
    .header .container > .alexa-logo-center {
        order: 2;
    }
    
    /* Navigation on second row */
    .nav {
        order: 3;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
    }
    
    .alexa-logo-img {
        height: 32px;
    }
    
    /* Make the first two items appear side by side */
    .header .container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas: 
            "logo alexa"
            "nav nav";
        align-items: center;
        gap: 0.5rem;
    }
    
    .logo {
        grid-area: logo;
    }
    
    .alexa-logo-center {
        grid-area: alexa;
    }
    
    .nav {
        grid-area: nav;
    }
    
    /* Hide hero alexa badge on mobile to reduce clutter */
    .hero-alexa-badge {
        display: none !important;
    }
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-alexa-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 1.5rem 0;
    padding: 12px 24px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    width: 100%;
}

.badge-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-alexa-logo {
    height: 32px;
    width: auto;
}

.demo-alexa-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 2.5rem 0;
    padding: 8px;
    background: #ffffff;
    border-radius: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.demo-alexa-logo {
    height: 80px;
    width: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: #f59e0b;
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cta-button.primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cta-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

.voice-prompt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.voice-icon {
    font-size: 1.5rem;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-conversation {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.25rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeInUp 0.6s ease forwards;
}

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

.hero-message.user {
    justify-content: flex-end;
    margin-left: 2rem;
}

.hero-message.alexa {
    justify-content: flex-start;
    margin-right: 2rem;
}

.hero-message-bubble {
    max-width: 70%;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-message.user .hero-message-bubble {
    background: rgba(37, 99, 235, 0.9);
    color: white;
    border-bottom-right-radius: 8px;
}

.hero-message.alexa .hero-message-bubble {
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    border-bottom-left-radius: 8px;
}

.hero-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-message.user .hero-avatar {
    background: rgba(37, 99, 235, 0.2);
    order: 2;
}

.hero-message.alexa .hero-avatar {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    padding: 8px;
}

.hero-avatar-svg {
    width: 24px;
    height: 24px;
    max-width: 100%;
    max-height: 100%;
}

.hero-typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    border-bottom-left-radius: 8px;
    max-width: 70%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-typing-dots {
    display: flex;
    gap: 0.25rem;
}

.hero-typing-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: heroTyping 1.4s infinite;
}

.hero-typing-dot:nth-child(1) { animation-delay: 0s; }
.hero-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.hero-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes heroTyping {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Quick Setup Section */
.quick-setup {
    padding: 80px 0;
    background: #f8fafc;
}

.quick-setup h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

/* Main Setup Grid */
.setup-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.setup-method-main {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.setup-method-main:hover {
    transform: translateY(-8px);
}

.setup-method-main h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #1e293b;
    font-weight: 600;
}

.setup-description {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 1.5rem;
}

/* QR Code Styling */
.qr-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.qr-code-large {
    width: 200px;
    height: 200px;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.qr-code-large:hover {
    transform: scale(1.05);
}

/* Legacy QR Code (keep for compatibility) */
.qr-code {
    width: 150px;
    height: 150px;
    margin: 1rem auto;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

/* Voice Command Styling */
.voice-command-large {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

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

.voice-command-large:hover::before {
    left: 100%;
}

/* Legacy Voice Command (keep for compatibility) */
.voice-command {
    background: #2563eb;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    margin: 1rem 0;
}

.routine-button {
    display: block;
    background: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin: 0.5rem 0;
    transition: background 0.3s ease;
    text-align: center;
}

.routine-button:hover {
    background: #059669;
}

.routine-button:first-of-type {
    margin-top: 1rem;
}

/* New Routines Section */
.routines-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.routines-section h3 {
    font-size: 2rem;
    color: #1e293b;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.routines-intro {
    text-align: center;
    color: #64748b;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.routines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.routine-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.routine-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.routine-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.routine-header h4 {
    font-size: 1.3rem;
    color: #1e293b;
    margin: 0;
    font-weight: 600;
}

.routine-badge {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.routine-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.routine-button-large {
    display: block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.routine-button-large:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.routines-benefits {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.routines-benefits h4 {
    color: #0c4a6e;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    color: #0c4a6e;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

/* Demo Section */
.demo-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    position: relative;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.demo-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.demo-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 400;
}

.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.demo-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.demo-tab:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.demo-tab.active {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.95);
    color: #ff6b35;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.demo-panel {
    display: none;
}

.demo-panel.active {
    display: block;
}

.demo-conversation {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.demo-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.demo-play-btn, .demo-reset-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #ff6b35;
    background: white;
    color: #ff6b35;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.demo-play-btn:hover, .demo-reset-btn:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.demo-play-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.demo-messages {
    min-height: 200px;
    padding: 1rem 0;
}

.demo-message {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.demo-message.user {
    justify-content: flex-end;
    margin-left: 2rem;
}

.demo-message.alexa {
    justify-content: flex-start;
    margin-right: 2rem;
}

.demo-message-bubble {
    max-width: 70%;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.demo-message.user .demo-message-bubble {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border-bottom-right-radius: 8px;
}

.demo-message.alexa .demo-message-bubble {
    background: #f8fafc;
    color: #1e293b;
    border-bottom-left-radius: 8px;
    border: 1px solid #e2e8f0;
}

.demo-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.demo-message.user .demo-avatar {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    order: 2;
}

.demo-message.alexa .demo-avatar {
    background: #e2e8f0;
    color: #64748b;
    padding: 6px;
}

.demo-avatar-svg {
    width: 20px;
    height: 20px;
    max-width: 100%;
    max-height: 100%;
}

.demo-typing-dots {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
}

.demo-typing-dot {
    width: 6px;
    height: 6px;
    background: #64748b;
    border-radius: 50%;
    animation: demoTyping 1.4s infinite;
}

.demo-typing-dot:nth-child(1) { animation-delay: 0s; }
.demo-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.demo-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes demoTyping {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

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

.message.user {
    background: #dbeafe;
    margin-left: 2rem;
}

.message.alexa {
    background: #ecfdf5;
    margin-right: 2rem;
}

.avatar {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.avatar-svg {
    width: 24px;
    height: 24px;
    max-width: 100%;
    max-height: 100%;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #ecfdf5;
    border-radius: 8px;
    margin-right: 2rem;
    margin-bottom: 1.5rem;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.message-content {
    flex: 1;
}

.message-text {
    margin: 0;
    line-height: 1.5;
}

.demo-audio {
    width: 100%;
    margin-top: 1rem;
}

.demo-info-box {
    background: #f0f9ff;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.demo-info-box h4 {
    margin: 0 0 1rem 0;
    color: #1e40af;
    font-size: 1.1rem;
}

.demo-info-box p {
    margin: 0 0 0.75rem 0;
    color: #1e40af;
    font-size: 0.9rem;
    line-height: 1.5;
}

.demo-info-box p:last-child {
    margin-bottom: 0;
}

.info-link {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

.info-link:hover {
    color: #1d4ed8;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.feature-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.feature-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.overlay-text {
    font-style: italic;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 85%;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

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

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.stars {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #475569;
}

.testimonial cite {
    font-weight: 600;
    color: #2563eb;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #64748b;
    font-weight: 500;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8fafc;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.faq-item p {
    color: #475569;
    margin-bottom: 1rem;
}

.faq-audio {
    width: 100%;
}

/* Command Generator */
.command-generator {
    padding: 80px 0;
    background: white;
}

.command-generator h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.generator-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

#custom-phrase {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
}

#custom-phrase:focus {
    outline: none;
    border-color: #2563eb;
}

.generate-btn {
    padding: 1rem 2rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.generate-btn:hover {
    background: #1d4ed8;
}

.result {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: #f0f9ff;
    border-radius: 8px;
}

/* Email Signup */
/* Feedback Section */
.feedback-section {
    padding: 80px 0;
    background: #1e293b;
    color: white;
}

.feedback-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.feedback-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feedback-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #e2e8f0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.15);
}

.form-group select option {
    background: #1e293b;
    color: white;
}

.feedback-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.feedback-submit-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.feedback-success {
    text-align: center;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.feedback-success h3 {
    color: #10b981;
    margin-bottom: 1rem;
}

.feedback-success p {
    color: #d1fae5;
}

.signup-form button:hover {
    background: #d97706;
}

.incentive {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-subtitle {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Article/Content Pages */
.article-content {
    padding-top: 120px; /* Account for fixed header */
    padding-bottom: 60px;
    background: #ffffff;
    min-height: 100vh;
}

.article {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.read-time {
    color: #f59e0b;
    font-weight: 500;
}

.article-body {
    line-height: 1.8;
    color: #374151;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2.5rem 0 1.5rem 0;
    border-bottom: 2px solid #f59e0b;
    padding-bottom: 0.5rem;
}

.article-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #374151;
    margin: 2rem 0 1rem 0;
}

.article-body h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4b5563;
    margin: 1.5rem 0 0.75rem 0;
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-body .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-left: 4px solid #f59e0b;
    border-radius: 0 8px 8px 0;
}

.article-body ul, .article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.article-body strong {
    color: #1e293b;
    font-weight: 600;
}

/* Comparison Grids */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.comparison-item h4 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.comparison-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

.comparison-item li {
    margin-bottom: 0.5rem;
}

/* Example Boxes */
.example-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.example-response {
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

.example-response h4 {
    color: #10b981;
    margin-bottom: 0.5rem;
}

/* Problem Highlight */
.problem-highlight {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.problem-highlight h2 {
    color: #dc2626;
    border-bottom: 2px solid #dc2626;
}

.frustration-examples {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.frustration-example {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
}

/* Quick Fix Section */
.quick-fix {
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.quick-fix h3 {
    color: #10b981;
    margin-bottom: 1.5rem;
}

.fix-steps {
    display: grid;
    gap: 1.5rem;
}

.fix-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.step-content h4 {
    color: #10b981;
    margin-bottom: 0.5rem;
}

/* Voice Commands */
.voice-command {
    background: #dbeafe;
    border: 2px solid #2563eb;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2563eb;
    margin: 1rem 0;
}

/* Before/After Comparisons */
.comparison-examples {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-example {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-example h3 {
    background: #f8fafc;
    padding: 1rem;
    margin: 0;
    border-bottom: 1px solid #e2e8f0;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.before, .after {
    padding: 1.5rem;
}

.before {
    background: #fef2f2;
    border-right: 1px solid #e2e8f0;
}

.after {
    background: #ecfdf5;
}

.before h4 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.after h4 {
    color: #10b981;
    margin-bottom: 1rem;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.capability {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.capability h3 {
    color: #2563eb;
    margin-bottom: 0.75rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
    color: #2563eb;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

/* Step by Step */
.step-by-step {
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step:last-child {
    margin-bottom: 0;
}

.step .step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
}

.step-content {
    flex: 1;
}

.setup-options {
    display: grid;
    gap: 1.5rem;
    margin: 1rem 0;
}

.setup-option {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.qr-code {
    max-width: 200px;
    height: auto;
    margin: 1rem 0;
}

/* Shortcuts */
.shortcuts-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.shortcut {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 1.5rem;
}

.shortcut h3 {
    color: #0ea5e9;
    margin-bottom: 1rem;
}

.shortcut-button, .routine-button {
    display: inline-block;
    background: #0ea5e9;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.shortcut-button:hover, .routine-button:hover {
    background: #0284c7;
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

/* Troubleshooting */
.troubleshooting {
    margin: 2rem 0;
}

.trouble-item {
    background: #fffbeb;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.trouble-item h3 {
    color: #d97706;
    margin-bottom: 1rem;
}

.trouble-item:last-child {
    margin-bottom: 0;
}

/* Pricing Table */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-column {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
}

.pricing-column h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.4rem;
}

/* Setup Section */
.setup-section {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.setup-section h3 {
    color: #0ea5e9;
    margin-bottom: 1rem;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cta-section p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0;
}

.final-cta h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.final-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.cta-option {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.cta-option h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.or-text {
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Mobile Responsiveness for Articles */
@media (max-width: 768px) {
    .article-content {
        padding-top: 140px; /* More space for mobile header */
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .before-after {
        grid-template-columns: 1fr;
    }
    
    .before {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step .step-number {
        align-self: flex-start;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .cta-options {
        grid-template-columns: 1fr;
    }
    
    .pricing-table {
        grid-template-columns: 1fr;
    }
    
    .shortcuts-section {
        grid-template-columns: 1fr;
    }
}

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

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

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f1f5f9;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-conversation {
        height: 400px;
        padding: 2rem;
        gap: 1rem;
    }
    
    .hero-message-bubble {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .nav {
        display: none;
    }
    
    .stats {
        gap: 2rem;
    }
    
    .generator-form,
    .signup-form {
        flex-direction: column;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}