/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary brand colors based on logo and app design */
    --primary-brown: #3d2f25;   /* Dark brown from logo text */
    --primary-orange: #f4a261;  /* Warm orange from happy character */
    --accent-red: #c75b5b;      /* Red accent from star */
    --cream: #f5f1e8;           /* Cream background from logo */
    
    /* Supporting colors from app design */
    --light-cream: #faf7f0;     /* Lighter cream for backgrounds */
    --warm-beige: #f0e8d6;      /* Input field background */
    --soft-gray: #e8e4db;       /* Border colors */
    --text-dark: #2c2420;       /* Dark text */
    --text-medium: #5a4f42;     /* Medium text */
    --white: #ffffff;
    
    /* Gradients matching the warm, friendly tone */
    --hero-gradient: linear-gradient(135deg, #ffb347 0%, var(--primary-orange) 50%, var(--light-cream) 100%);
    --card-gradient: linear-gradient(145deg, var(--white) 0%, var(--light-cream) 100%);
    --button-gradient: linear-gradient(135deg, var(--primary-orange) 0%, #e09145 100%);
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-brand h1 {
    color: var(--primary-brown);
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: var(--hero-gradient);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
    z-index: 2;
}

.hero-characters {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-float {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.renovo-float {
    bottom: 20px;
    right: 20px;
    animation-delay: 0s;
}

.waruvo-float {
    top: 20px;
    left: 20px;
    animation-delay: 1.5s;
}

.character-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--cream);
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.character-img:hover {
    transform: scale(1.1) rotate(5deg);
}

.speech-bubble-hero {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--primary-brown);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    animation: bubbleAppear 4s ease-in-out infinite;
}

.renovo-bubble {
    border: 2px solid var(--primary-orange);
    animation-delay: 2s;
}

.waruvo-bubble {
    border: 2px solid var(--accent-red);
    animation-delay: 3.5s;
}

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

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

@keyframes bubbleAppear {
    0%, 80% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    85%, 95% { opacity: 1; transform: translateX(-50%) translateY(0px); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--button-gradient);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e09145 0%, var(--primary-orange) 100%);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-brown);
}

.btn-cta {
    background: linear-gradient(135deg, #ff6b35 0%, #e74c3c 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    font-weight: bold;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-brown);
}

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

.feature-card {
    background: var(--card-gradient);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--soft-gray);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-card h3 {
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-icon {
    margin-bottom: 1rem;
    position: relative;
}

.feature-character {
    width: 200px;
    height: 150px;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    object-fit: contain;
    background: var(--white);
    padding: 1rem;
}

.feature-card:hover .feature-character {
    transform: scale(1.05);
}

/* Special styles for counter demo */
.counter-card .feature-character {
    width: auto;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    background: none;
    padding: 0;
}

.feature-decoration {
    display: none;
}

.renovo-card {
    border-color: var(--primary-orange);
    background: linear-gradient(145deg, var(--white) 0%, var(--light-cream) 100%);
}

.timeline-card {
    border-color: var(--primary-orange);
    background: linear-gradient(145deg, var(--light-cream) 0%, var(--cream) 100%);
}

.counter-card {
    border-color: var(--accent-red);
    background: linear-gradient(145deg, var(--white) 0%, #fef7f7 100%);
}

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

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

/* Rinobo Counter Demo */
.rinobo-counter-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.rinobo-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: var(--cream);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    animation: bounce 2s ease-in-out infinite;
}

.rinobo-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.rinobo-button:active {
    transform: scale(0.95);
}

.rinobo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.counter-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-orange);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.counter-number.animate {
    transform: scale(1.3);
    color: #ff6b35;
}

@keyframes counterPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.rinobo-button.clicked {
    animation: counterPulse 0.3s ease;
}

.feature-card {
    background: var(--card-gradient);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border: 1px solid var(--soft-gray);
}

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

.feature-card h3 {
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--white);
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-brown);
}

.benefits-list {
    display: grid;
    gap: 2rem;
}

.benefit-item {
    padding: 2rem;
    border-left: 4px solid var(--primary-orange);
    background: var(--light-cream);
}

.benefit-item h3 {
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-cream);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

.contact p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--soft-gray);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--warm-beige);
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: var(--white);
}

/* Footer */
.footer {
    background: var(--primary-brown);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Additional styles for new pages */

/* Hero small for detail pages */
.hero-small {
    background: var(--hero-gradient);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.hero-small h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-small p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Navigation active state */
.nav-menu a.active {
    color: var(--primary-orange);
    font-weight: 600;
}

.nav-brand h1 a {
    text-decoration: none;
    color: inherit;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-cream);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--primary-brown);
}

.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.feature-detail.reverse {
    direction: rtl;
}

.feature-detail.reverse > * {
    direction: ltr;
}

.feature-detail-content h3 {
    font-size: 1.5rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.feature-detail-content ul {
    list-style: none;
    padding: 0;
}

.feature-detail-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-detail-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Tech specs section */
.tech-specs {
    padding: 80px 0;
    background: var(--light-cream);
}

.tech-specs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-brown);
}

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

.spec-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.spec-card h3 {
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Case studies section */
.case-studies {
    padding: 80px 0;
    background: var(--white);
}

.case-studies h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-brown);
}

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

.case-card {
    background: var(--light-cream);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
}

.case-card h3 {
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.case-type {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.case-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stat {
    background: var(--primary-orange);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Pricing section */
.pricing {
    padding: 80px 0;
    background: var(--white);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-brown);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary-orange);
    transform: scale(1.05);
}

.pricing-card h3 {
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-medium);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--soft-gray);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-notice {
    margin-bottom: 3rem;
    text-align: center;
    padding: 2rem;
    background: var(--light-cream);
    border-radius: 10px;
    border: 1px solid var(--soft-gray);
}

.pricing-notice p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin: 0;
    line-height: 1.6;
}

/* CTA section */
.cta-section {
    padding: 80px 0;
    background: var(--primary-brown);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Terms content */
.terms-content {
    padding: 80px 0;
    background: var(--white);
}

.terms-wrapper {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.terms-wrapper h2 {
    color: var(--primary-brown);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 0.5rem;
}

.terms-wrapper h2:first-child {
    margin-top: 0;
}

.terms-wrapper ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.terms-wrapper ul li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--light-cream);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
    text-align: center;
}

.contact-info h2 {
    border: none;
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--primary-orange);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.terms-dates {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.terms-dates p {
    margin: 0.25rem 0;
}

/* Footer links */
.footer a {
    color: var(--light-cream);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-orange);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    border: none;
    font-size: 1.2rem;
}

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

.scroll-to-top:hover {
    background: #e09145;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.scroll-to-top::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid white;
    margin-bottom: 2px;
}

/* Character page styles */
.characters-intro {
    padding: 80px 0;
    background: var(--white);
}

.characters-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-content h2 {
    color: var(--primary-brown);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Character profiles */
.character-profiles {
    padding: 80px 0;
    background: var(--light-cream);
}

.character-card {
    margin-bottom: 4rem;
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.character-card:last-child {
    margin-bottom: 0;
}

.renovo-card {
    border-left: 6px solid var(--primary-orange);
}

.waruvo-card {
    border-left: 6px solid var(--accent-red);
}

.character-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.character-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--cream);
    padding: 1rem;
}

.character-name h2 {
    color: var(--primary-brown);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.character-subtitle {
    color: var(--text-medium);
    font-size: 1.1rem;
    font-weight: 600;
}

.character-details h3 {
    color: var(--primary-brown);
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.character-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.character-details ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.renovo-card .character-details ul li:before {
    content: "✨";
    position: absolute;
    left: 0;
}

.waruvo-card .character-details ul li:before {
    content: "⚡";
    position: absolute;
    left: 0;
}

/* Speech bubbles */
.speech-bubbles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.speech-bubble {
    background: var(--light-cream);
    padding: 1rem;
    border-radius: 15px;
    position: relative;
    font-style: italic;
    border: 2px solid var(--soft-gray);
}

.speech-bubble:before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--soft-gray);
}

.renovo-card .speech-bubble {
    border-color: var(--primary-orange);
}

.renovo-card .speech-bubble:before {
    border-top-color: var(--primary-orange);
}

.waruvo-card .speech-bubble {
    border-color: var(--accent-red);
}

.waruvo-card .speech-bubble:before {
    border-top-color: var(--accent-red);
}

/* Character teamwork section */
.character-teamwork {
    padding: 80px 0;
    background: var(--white);
}

.character-teamwork h2 {
    text-align: center;
    color: var(--primary-brown);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.teamwork-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.teamwork-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.teamwork-text h3 {
    color: var(--primary-brown);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.teamwork-features {
    margin-top: 2rem;
}

.teamwork-feature {
    margin-bottom: 1.5rem;
}

.teamwork-feature h4 {
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Character scenarios */
.character-scenarios {
    padding: 80px 0;
    background: var(--light-cream);
}

.character-scenarios h2 {
    text-align: center;
    color: var(--primary-brown);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.scenario-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.scenario-card h3 {
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.scenario-dialogue {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dialogue {
    padding: 1rem;
    border-radius: 10px;
    position: relative;
}

.dialogue.renovo {
    background: linear-gradient(135deg, var(--primary-orange), #f4a261);
    color: var(--white);
    margin-left: 2rem;
}

.dialogue.waruvo {
    background: linear-gradient(135deg, var(--accent-red), #e07575);
    color: var(--white);
    margin-right: 2rem;
}

.dialogue strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Feature detail section styles */
.detailed-features {
    padding: 80px 0;
    background: var(--white);
}

.detailed-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--primary-brown);
}

.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.feature-detail.reverse {
    direction: rtl;
}

.feature-detail.reverse > * {
    direction: ltr;
}

.feature-detail-content h3 {
    font-size: 1.5rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.feature-detail-content ul {
    list-style: none;
    padding: 0;
}

.feature-detail-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-detail-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Special counter demo for detail section */
.rinobo-counter-demo-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--light-cream);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.rinobo-button-detail {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: none;
    background: var(--cream);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: bounce 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.rinobo-button-detail:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.rinobo-button-detail:active {
    transform: scale(0.95);
}

.rinobo-button-detail.clicked {
    animation: counterPulse 0.3s ease;
}

.rinobo-img-detail {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.counter-number-detail {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-orange);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.counter-number-detail.animate {
    transform: scale(1.3);
    color: #ff6b35;
}

/* Responsive styles for character pages */
@media (max-width: 768px) {
    .characters-intro .container,
    .teamwork-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .character-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .character-avatar {
        width: 100px;
        height: 100px;
    }
    
    .character-name h2 {
        font-size: 2rem;
    }
    
    .speech-bubbles {
        grid-template-columns: 1fr;
    }
    
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    
    .dialogue.renovo {
        margin-left: 0;
    }
    
    .dialogue.waruvo {
        margin-right: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-text h2 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .hero-characters {
        height: 250px;
        margin-top: 0;
        order: 1;
    }
    
    .character-img {
        width: 80px;
        height: 80px;
        padding: 0.8rem;
    }
    
    .character-float {
        position: absolute;
    }
    
    .renovo-float {
        top: 50%;
        right: 60px;
        transform: translateY(-50%);
        animation-delay: 0s;
    }
    
    .waruvo-float {
        top: 50%;
        left: 60px;
        transform: translateY(-50%);
        animation-delay: 1.5s;
    }
    
    .speech-bubble-hero {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        bottom: -40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 60px 0 60px;
    }
    
    .hero-small {
        padding: 100px 0 60px;
    }
    
    .hero-small h1 {
        font-size: 2rem;
    }
    
    .feature-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-detail.reverse {
        direction: ltr;
    }
    
    .rinobo-counter-demo-detail {
        flex-direction: column;
        gap: 1rem;
    }
    
    .rinobo-button-detail {
        width: 100px;
        height: 100px;
    }
    
    .rinobo-img-detail {
        width: 70px;
        height: 70px;
    }
    
    .counter-number-detail {
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .case-stats {
        justify-content: center;
    }
}

/* Notification Popup */
.notification-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.notification-popup.hidden {
    opacity: 0;
    pointer-events: none;
}

.notification-content {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.notification-popup.hidden .notification-content {
    transform: scale(0.9);
}

.notification-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    flex-shrink: 0;
}

.notification-icon.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.notification-icon.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.notification-icon.warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.notification-message {
    flex-grow: 1;
}

.notification-message h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-brown);
    font-size: 1.2rem;
}

.notification-message p {
    margin: 0;
    color: var(--text-medium);
    line-height: 1.4;
}

.notification-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-medium);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background-color: var(--soft-gray);
}

@media (max-width: 768px) {
    .notification-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .notification-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .notification-message h3 {
        font-size: 1.1rem;
    }
}