/* ============================================
   Ribbot Landing Page Styles
   Clean, Modern, Trustworthy with Playful Accents
   ============================================ */

/* Color Variables */
:root {
    --primary-teal: #14B8A6;
    --primary-teal-dark: #0D9488;
    --soft-mint: #F0FDFA;
    --mint-border: #B2F5EA;
    --coral-accent: #FF7F7F;
    --yellow-accent: #FFD93D;
    --trust-blue: #2D4A6B;
    --trust-blue-light: #3D5A7B;
    --gray-medium: #5B6B7C;
    --gray-light: #8B9AAF;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--trust-blue);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

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

section {
    padding: 80px 0;
}

/* ============================================
   Hero Section (Above the Fold)
   ============================================ */

.hero-section {
    background: var(--white);
    padding: 120px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 60px;
    color: var(--trust-blue);
    text-align: center;
    letter-spacing: -0.02em;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.hero-visual {
    width: 100%;
    max-width: 800px;
}

.ribbot-ui-preview {
    background: var(--soft-mint);
    border: 2px solid var(--mint-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.ui-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.ribbot-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.teal-avatar {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
}

.avatar-face {
    position: relative;
    width: 80px;
    height: 80px;
}

.eye {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50%;
    top: 30px;
}

.left-eye {
    left: 20px;
}

.right-eye {
    right: 20px;
}

.mouth {
    position: absolute;
    width: 30px;
    height: 20px;
    border: 3px solid var(--white);
    border-top: none;
    border-radius: 0 0 30px 30px;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

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

.voice-interaction {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.speech-bubble {
    background: var(--white);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 400px;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--white);
}

.speech-bubble p {
    margin: 0;
    color: var(--trust-blue);
    font-weight: 500;
}

.kid-voice-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--soft-mint);
    border-radius: 50px;
    border: 2px solid var(--mint-border);
}

.voice-wave {
    display: inline-block;
    width: 40px;
    height: 20px;
    background: linear-gradient(90deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    border-radius: 20px;
    position: relative;
    animation: pulse 1.5s ease-in-out infinite;
}

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

.voice-text {
    color: var(--gray-medium);
    font-size: 14px;
    font-weight: 500;
}

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

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-teal);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    background: var(--primary-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

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

/* ============================================
   Section Titles
   ============================================ */

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--trust-blue);
    letter-spacing: -0.01em;
}

/* ============================================
   Solution Section
   ============================================ */

.solution-section {
    background: var(--soft-mint);
    padding: 100px 0;
}

.comparison-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-box {
    flex: 1;
    min-width: 280px;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.comparison-box:hover {
    transform: translateY(-5px);
}

.gray-box {
    background: #E5E7EB;
    border: 2px solid #D1D5DB;
}

.teal-box {
    background: var(--primary-teal);
    color: var(--white);
    border: 2px solid var(--primary-teal-dark);
}

.box-icon, .speech-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.comparison-box h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.comparison-box p {
    font-size: 16px;
    opacity: 0.9;
}

.arrow {
    font-size: 48px;
    color: var(--primary-teal);
    font-weight: bold;
}

/* ============================================
   Secret Weapons Section
   ============================================ */

.secret-weapons-section {
    padding: 60px 0;
    background: var(--white);
}

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

.weapon-card {
    background: var(--white);
    border: 2px solid var(--mint-border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.weapon-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--trust-blue);
}

.weapon-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-teal);
    margin-bottom: 16px;
}

.weapon-description {
    color: var(--gray-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Flow Visual */
.flow-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 30px 0;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.flow-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: var(--soft-mint);
    border: 2px solid var(--mint-border);
}

.teal-bg {
    background: var(--primary-teal);
    border-color: var(--primary-teal-dark);
    color: var(--white);
}

.flow-arrow {
    font-size: 32px;
    color: var(--primary-teal);
    font-weight: bold;
}

.flow-label {
    font-size: 14px;
    color: var(--gray-medium);
    font-weight: 500;
}

/* Creations Gallery */
.creations-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 10px 0;
}

.creation-item {
    padding: 16px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid;
    transition: transform 0.3s ease;
}

.creation-item:hover {
    transform: translateY(-5px);
}

.coral-accent {
    background: rgba(255, 127, 127, 0.1);
    border-color: var(--coral-accent);
    color: var(--coral-accent);
}

.yellow-accent {
    background: rgba(255, 217, 61, 0.1);
    border-color: var(--yellow-accent);
    color: #B8860B;
}

.creation-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.creation-item span {
    font-weight: 600;
    font-size: 14px;
}

/* ============================================
   Leadership Section
   ============================================ */

.leadership-section {
    background: var(--soft-mint);
    padding: 100px 0;
}

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

.leadership-card {
    background: var(--white);
    border: 2px solid var(--mint-border);
    border-radius: 24px;
    padding: 40px;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-teal);
}

.tech-expertise:hover {
    border-color: var(--primary-teal);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.leadership-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--trust-blue);
    margin-bottom: 8px;
}

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

.card-link {
    color: var(--primary-teal);
    font-weight: 600;
    margin-top: 8px;
    font-size: 16px;
}

.need-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* ============================================
   Final Call Section
   ============================================ */

.final-call-section {
    padding: 100px 0;
    background: var(--white);
}

.final-call-content {
    text-align: center;
    margin-bottom: 60px;
}

.final-value-prop {
    font-size: 20px;
    color: var(--gray-medium);
    margin: 24px 0 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--soft-mint);
    border: 2px solid var(--mint-border);
    border-radius: 24px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--trust-blue);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--mint-border);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    color: var(--trust-blue);
    background: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
}

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

.contact-form .btn-primary {
    width: 100%;
    margin-top: 8px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: #F8F9FA;
    border-top: 1px solid #E5E7EB;
    padding: 24px 0;
    text-align: center;
}

.footer p {
    color: var(--gray-medium);
    font-size: 13px;
    margin: 0;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero-section {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .weapons-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .comparison-graphic {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .flow-visual {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .contact-form-container {
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .weapon-card,
    .leadership-card {
        padding: 30px 24px;
    }

    .ribbot-ui-preview {
        padding: 24px;
    }

    .creations-gallery {
        grid-template-columns: 1fr;
    }
}

