/* Barkle Landing Page Styles */

/* Custom Font - Sophia Melanie */
@font-face {
    font-family: 'Sophia Melanie';
    src: url('Sophia_Melanie.woff') format('woff'),
         url('Sophia_Melanie.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --yellow-1: #FFF301;
    --yellow-2: #EEE419;
    --yellow-3: #CEC401;
    --yellow-4: #FFF980;
    --yellow-5: #FFFCC0;
    --yellow-6: #FFFEE0;
    --black: #0C0C0C;
    --neutral-1: #FFFFFF;
    --neutral-2: #F5F5F5;
    --neutral-3: #E4E2E2;
    --neutral-4: #C8C8C8;
    --neutral-5: #969696;
    --neutral-6: #676767;
    --neutral-7: #4C4B4B;
    --neutral-8: #2B2B2B;
    --neutral-9: #0C0C0C;
    --error-1: #C94A38;
    --error-2: #FFCBC4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter Tight', sans-serif;
    background: var(--neutral-1);
    color: var(--black);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
}

h1, h2, h3, h4, .title-font {
    font-family: 'Sophia Melanie', cursive;
    font-weight: normal;
}

/* Sophia Melanie script font for logos and special accents */
.logo-font, .script-font {
    font-family: 'Sophia Melanie', cursive;
    font-weight: normal;
}

/* =====================
   NAVBAR
   ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--yellow-1);
    padding: 1rem 2rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Sophia Melanie', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
}

.nav-logo.script-style {
    font-family: 'Sophia Melanie', cursive;
    font-size: 2.5rem;
    font-weight: normal;
}

.nav-logo svg {
    width: 50px;
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
    position: relative;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--black);
    color: var(--yellow-1);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 24px;
    height: 3px;
    background: var(--black);
    border-radius: 3px;
    transition: all 0.3s;
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
    min-height: 100vh;
    background: var(--yellow-1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--black);
    color: var(--yellow-1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--black);
    animation: bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--neutral-7);
    margin-bottom: 2.5rem;
    max-width: 500px;
    animation: bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.hero-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
    background: var(--black);
    color: var(--yellow-1);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--black);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: 2px solid var(--black);
    font-family: inherit;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--yellow-1);
}

/* =====================
   APP STORE BUTTONS
   ===================== */
.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--black);
    color: var(--neutral-1);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--black);
}

.app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.app-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.app-btn-text {
    text-align: left;
}

.app-btn-small {
    font-size: 0.7rem;
    opacity: 0.8;
    display: block;
}

.app-btn-large {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    line-height: 1.2;
}

/* =====================
   ANIMATIONS
   ===================== */
@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* =====================
   STATS SECTION
   ===================== */
.stats {
    background: var(--neutral-7);
    padding: 3rem 2rem;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.stat-number {
    font-family: 'Sophia Melanie', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--yellow-1);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--neutral-4);
    margin-top: 0.5rem;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--neutral-5);
}

/* =====================
   SECTION HEADERS
   ===================== */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    background: var(--yellow-2);
    color: var(--black);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--black);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--neutral-6);
    max-width: 550px;
    margin: 0 auto;
}

/* =====================
   FEATURES SECTION
   ===================== */
.features {
    padding: 8rem 2rem;
    background: var(--neutral-2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--neutral-1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s;
    border: 2px solid var(--yellow-4);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--yellow-2);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--yellow-2) 0%, var(--yellow-1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--black);
}

.feature-card p {
    color: var(--neutral-6);
    line-height: 1.7;
    font-size: 1rem;
}

/* =====================
   HOW IT WORKS SECTION
   ===================== */
.how-it-works {
    padding: 8rem 2rem;
    background: var(--yellow-4);
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
    position: relative;
}

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

.step::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 80px;
    width: 2px;
    height: calc(100% - 40px);
    background: var(--neutral-5);
}

.step:last-child::before {
    display: none;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sophia Melanie', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--yellow-1);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    background: var(--neutral-2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-left: 4px solid var(--yellow-2);
}

.step:nth-child(1) .step-content {
    border-left-color: var(--yellow-1);
}

.step:nth-child(2) .step-content {
    border-left-color: var(--yellow-2);
}

.step:nth-child(3) .step-content {
    border-left-color: var(--yellow-3);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.step-content p {
    color: var(--neutral-6);
    line-height: 1.6;
}

.step-image {
    width: 100%;
    max-width: 200px;
    margin-top: 1rem;
}

/* =====================
   TESTIMONIALS SECTION
   ===================== */
.testimonials {
    padding: 8rem 2rem;
    background: var(--neutral-1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--yellow-5);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s;
}

.testimonial-card:nth-child(1) {
    background: var(--yellow-5);
}

.testimonial-card:nth-child(2) {
    background: var(--yellow-6);
}

.testimonial-card:nth-child(3) {
    background: var(--yellow-4);
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: 'Sophia Melanie', cursive;
    font-size: 5rem;
    color: var(--yellow-3);
    line-height: 1;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--yellow-1);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    font-family: 'Sophia Melanie', cursive;
    font-size: 1.2rem;
    color: var(--black);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--neutral-5);
}

/* =====================
   SAFETY SECTION
   ===================== */
.safety {
    padding: 8rem 2rem;
    background: var(--neutral-3);
}

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

.safety-visual {
    position: relative;
}

.safety-image-container {
    background: var(--yellow-4);
    border-radius: 30px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.safety-image {
    width: 100%;
    max-width: 300px;
}

.safety-badge {
    position: absolute;
    background: var(--neutral-1);
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 4s ease-in-out infinite;
}

.safety-badge:nth-child(2) {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.safety-badge:nth-child(3) {
    top: 30%;
    right: -15%;
    animation-delay: -1s;
}

.safety-badge:nth-child(4) {
    bottom: 20%;
    left: -5%;
    animation-delay: -2s;
}

.safety-badge:nth-child(5) {
    bottom: 5%;
    right: -10%;
    animation-delay: -3s;
}

.safety-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--black);
    margin-bottom: 1.5rem;
}

.safety-content > p {
    font-size: 1.1rem;
    color: var(--neutral-6);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.safety-list {
    list-style: none;
}

.safety-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.safety-check {
    width: 28px;
    height: 28px;
    background: var(--yellow-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.safety-list h4 {
    font-family: 'Sophia Melanie', cursive;
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 0.2rem;
}

.safety-list p {
    color: var(--neutral-6);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =====================
   CONTACT SECTION
   ===================== */
.contact {
    padding: 8rem 2rem;
    background: var(--neutral-2);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--neutral-6);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--neutral-7);
}

.contact-details li span {
    font-size: 1.5rem;
}

.contact-form {
    background: var(--neutral-2);
    border-radius: 24px;
    padding: 2.5rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--neutral-3);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: var(--neutral-1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow-1);
    box-shadow: 0 0 0 3px rgba(255, 243, 1, 0.1);
}

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

.form-submit {
    width: 100%;
    background: var(--black);
    color: var(--yellow-1);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* =====================
   CTA SECTION
   ===================== */
.cta-section {
    padding: 6rem 2rem;
    background: var(--black);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--neutral-1);
    margin-bottom: 1rem;
}

.cta-section > p {
    font-size: 1.2rem;
    color: var(--neutral-4);
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--neutral-1);
    color: var(--black);
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-app-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.cta-app-btn svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.cta-app-btn-text {
    text-align: left;
}

.cta-app-btn-small {
    font-size: 0.75rem;
    opacity: 0.7;
    display: block;
}

.cta-app-btn-large {
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.cta-deco {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.cta-deco-1 {
    top: -50px;
    left: -50px;
    width: 200px;
}

.cta-deco-2 {
    bottom: -50px;
    right: -50px;
    width: 200px;
}

/* =====================
   FOOTER
   ===================== */
footer {
    background: var(--yellow-1);
    color: var(--black);
    padding: 5rem 2rem 2rem;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-top .footer-brand {
    grid-column: 1;
}

.footer-top .footer-links {
    grid-column: 4;
}

.footer-brand h3 {
    font-family: 'Sophia Melanie', cursive;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand p {
    color: var(--neutral-7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-1);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: 'Sophia Melanie', cursive;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--neutral-7);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--black);
}

.footer-bottom {
    border-top: 2px solid var(--black);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--neutral-7);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--neutral-7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--black);
}

/* =====================
   MODAL
   ===================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 12, 0.9);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--neutral-1);
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    animation: modal-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--yellow-1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--black);
    color: var(--yellow-1);
}

.modal-content h2 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    font-size: 1.3rem;
    color: var(--black);
    margin: 2rem 0 1rem;
}

.modal-content p {
    color: var(--neutral-6);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-content ul {
    color: var(--neutral-6);
    line-height: 1.8;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* =====================
   RESPONSIVE STYLES
   ===================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-image {
        max-width: 400px;
    }

    .app-buttons {
        justify-content: center;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .safety-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .safety-visual {
        max-width: 450px;
        margin: 0 auto;
    }

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--yellow-1);
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stat-divider {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .safety-badge {
        display: none;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-app-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* =====================
   MOBILE & TABLET OVERFLOW FIX
   ===================== */
@media (max-width: 1024px) {
    /* Prevent any horizontal overflow on all mobile devices */
    * {
        max-width: 100%;
    }
    
    /* Hide decorative elements that might overflow */
    .cta-deco,
    .safety-badge {
        display: none;
    }
    
    /* Ensure all sections don't overflow */
    section {
        overflow-x: hidden;
    }
    
    /* Ensure containers don't overflow */
    .hero-container,
    .nav-container,
    .stats-container,
    .features-grid,
    .steps-container,
    .testimonials-grid,
    .safety-container,
    .contact-grid,
    .footer-container,
    .contact-form,
    .contact-info {
        padding-left: 1rem;
        padding-right: 1rem;
        overflow-x: hidden;
    }
    
    /* Fix images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix grid gaps on mobile */
    .features-grid,
    .testimonials-grid {
        gap: 1.5rem;
    }
    
    /* Prevent text from overflowing */
    h1, h2, h3, h4, h5, h6, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Ensure hero doesn't overflow */
    .hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Fix CTA section */
    .cta-section {
        overflow: hidden;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Ensure buttons don't cause overflow */
    .app-buttons,
    .cta-app-buttons,
    .hero-buttons {
        max-width: 100%;
        flex-wrap: wrap;
    }
}

/* iPad and larger tablets specific */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .cta-app-buttons,
    .app-buttons {
        flex-direction: row;
        justify-content: center;
    }
}
