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

:root {
    --beige: #F5F3F0;
    --english-red: #A0524F;
    --dark-navy: #2B2B3D;
    --white: #FFFFFF;
    --light-gray: #E8E6E3;
    --text-dark: #333333;
    --text-light: #666666;
    --accent-gold: #D4AF37;
    --accent-pink: #F8D7DA;
    --gradient-romantic: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    --gradient-social: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-discovery: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--beige);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(245, 243, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none !important;
}

a.nav-logo:hover {
    text-decoration: none;
    color: var(--text-dark);
}
.nav-logo span,
.footer-logo span {
    font-family: 'Fredoka', sans-serif;
    font-weight: 500;
    font-size: 2.3rem;
}
.app-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Style for image app icons */
img.app-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex: 1;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--english-red);
    transform: translateY(-1px);
}

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

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

.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.login-btn {
    background: transparent;
    color: var(--text-dark);
    padding: 0.4rem 1.25rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--text-dark);
    font-size: 0.9rem;
}

.login-btn:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-2px);
}

.become-merchant-btn {
    background: var(--english-red);
    color: white;
    padding: 0.4rem 1.25rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(160, 82, 79, 0.3);
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.become-merchant-btn:hover {
    background: #8B4340;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(160, 82, 79, 0.4);
}

/* Hero Section */
.hero2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-elements div {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0.08;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

/* More uniform distribution across the viewport */
.floating-heart { top: 12%; left: 8%; animation-delay: 0s; }
.floating-coffee { top: 8%; right: 12%; animation-delay: 1s; }
.floating-wine { top: 25%; left: 15%; animation-delay: 2s; }
.floating-dinner { top: 35%; right: 8%; animation-delay: 3s; }
.floating-spark { top: 45%; left: 5%; animation-delay: 4s; }
.floating-music { top: 55%; right: 18%; animation-delay: 5s; }
.floating-camera { top: 65%; left: 12%; animation-delay: 1.5s; }
.floating-gift { top: 75%; right: 6%; animation-delay: 2.5s; }
.floating-balloon { top: 85%; left: 20%; animation-delay: 3.5s; }
.floating-star { top: 18%; left: 85%; animation-delay: 4.5s; }
.floating-cocktail { top: 42%; left: 88%; animation-delay: 0.5s; }
.floating-cake { top: 78%; right: 25%; animation-delay: 5.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.3; }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.title-line {
    display: inline-block;
}

.title-highlight {
    background: var(--english-red);
    color: white;
    padding: 0.2em 0.4em;
    border-radius: 15px;
    display: inline-block;
    margin-top: 0.1em;
}
.title-line-container {
    display: inline-block;
}

.title-text {
    display: inline;
}
@keyframes pulse-highlight {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-primary {
    background: var(--english-red);
    color: white;
    box-shadow: 0 6px 20px rgba(160, 82, 79, 0.3);
}

.cta-primary:hover {
    background: #8B4340;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(160, 82, 79, 0.4);
}

.cta-secondary {
/*    background: transparent;*/
/*    color: var(--text-dark);*/
/*    border: 2px solid var(--text-dark);*/
    background: var(--text-dark);
    color: white;
}

.cta-secondary:hover {
/*    background: var(--text-dark);*/
/*    color: white;*/
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--text-dark);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: phoneFloat 3s ease-in-out infinite;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
}

.app-preview {
    padding: 30px 20px;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--text-dark);
}

.app-logo {
    font-size: 1.5rem;
}

.event-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mini-event-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--beige);
    border-radius: 15px;
    animation: slideInCard 2s ease-out infinite;
}

@keyframes slideInCard {
    0%, 90%, 100% { transform: translateX(0); }
    45% { transform: translateX(5px); }
}

.event-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.event-image.wine { background: var(--gradient-romantic); }
.event-image.dinner { background: var(--gradient-discovery); }
.event-image.happyhour { background: var(--gradient-social); }

.event-info h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.event-info p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Stats Section */
.stats-section {
    padding: 8rem 0;
    background: white;
    /* REMOVE OR CHANGE THESE: */
    margin-top: 0; /* No negative margins */
    position: static; /* Instead of relative */
    z-index: 99; /* Let natural stacking work */
    
    /* OR if you want to force separation: */
    transform: translateZ(0); /* Force new stacking context */
}

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

.stat-card {
    background: var(--beige);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(160, 82, 79, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--english-red);
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.stat-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Experience Categories */
.experiences-section {
    padding: 8rem 0;
    background: var(--beige);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.experience-card {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    transition: height 0.4s ease;
}

.experience-card.romantic::before { background: var(--gradient-romantic); }
.experience-card.social::before { background: var(--gradient-social); }
.experience-card.discovery::before { background: var(--gradient-discovery); }
.experience-card.business::before { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

.experience-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.experience-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.experience-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.experience-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.experience-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.experience-features {
    list-style: none;
}

.experience-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.experience-features li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* How It Works */
.how-it-works {
    padding: 8rem 0;
    background: white;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 5rem;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--english-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(160, 82, 79, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(160, 82, 79, 0); }
    100% { box-shadow: 0 0 0 0 rgba(160, 82, 79, 0); }
}

.step-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.step-visual {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mini {
    width: 60px;
    height: 120px;
    background: var(--text-dark);
    border-radius: 15px;
    position: relative;
    animation: phoneWiggle 3s ease-in-out infinite;
}

@keyframes phoneWiggle {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.app-interface {
    position: absolute;
    top: 10px;
    left: 5px;
    right: 5px;
    bottom: 10px;
    background: var(--beige);
    border-radius: 10px;
}

.connection-animation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: avatarPulse 2s ease-in-out infinite alternate;
}

@keyframes avatarPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.connection-line2{
    width: 40px;
    height: 3px;
    background: var(--english-red);
    position: relative;
    animation: lineGrow 2s ease-in-out infinite;
}

@keyframes lineGrow {
    0%, 100% { width: 20px; }
    50% { width: 60px; }
}

/*.experience-celebration {*/
/*    animation: celebrate 2s ease-in-out infinite;*/
/*}*/
/**/
/*@keyframes celebrate {*/
/*    0%, 100% { transform: scale(1) rotate(0deg); }*/
/*    25% { transform: scale(1.2) rotate(5deg); }*/
/*    50% { transform: scale(1.1) rotate(-5deg); }*/
/*    75% { transform: scale(1.3) rotate(3deg); }*/
/*}*/

.celebration-icon {
    font-size: 4rem;
    animation: subtleCelebrate 4s ease-in-out infinite;
}

@keyframes subtleCelebrate {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.08) rotate(4deg);
    }
    50% {
        transform: scale(1.10) rotate(-2deg);
    }
    75% {
        transform: scale(1.05) rotate(2deg);
    }
}
/*.celebration-icon {*/
/*    font-size: 4rem;*/
/*    animation: spin 4s linear infinite;*/
/*}*/
/**/
/*@keyframes spin {*/
/*    0% { transform: rotate(0deg); }*/
/*    100% { transform: rotate(360deg); }*/
/*}*/

.process-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--english-red), transparent, var(--english-red));
    position: relative;
    animation: flow 3s ease-in-out infinite;
}

@keyframes flow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Mission Section */
.mission-section {
    padding: 8rem 0;
    background: var(--beige);
}

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

.mission-description {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.mission-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
}

.mission-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.connections-artwork {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto;
}

.connection-node {
    position: absolute;
    width: 100px;
    height: 100px;
    background: white;
    border: 3px solid var(--english-red);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    box-shadow: 0 10px 25px rgba(160, 82, 79, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.connection-node:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(160, 82, 79, 0.3);
}

.main-node {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--english-red);
    color: white;
    border-color: var(--english-red);
    animation: mainPulse 3s ease-in-out infinite;
    z-index: 11;
}

@keyframes mainPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

/* Position nodes so they don't overlap and are evenly spaced */
.user-node {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: nodeFloat 4s ease-in-out infinite;
    animation-delay: 0s;
}

.merchant-node {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    animation: nodeFloat 4s ease-in-out infinite;
    animation-delay: 1s;
}

.experience-node {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: nodeFloat 4s ease-in-out infinite;
    animation-delay: 2s;
}

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

.user-node {
    animation: nodeFloatUp 4s ease-in-out infinite;
    animation-delay: 0s;
}

.merchant-node {
    animation: nodeFloatRight 4s ease-in-out infinite;
    animation-delay: 1s;
}

.experience-node {
    animation: nodeFloatDown 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes nodeFloatUp {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes nodeFloatRight {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(8px); }
}

@keyframes nodeFloatDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.node-icon {
    font-size: 2rem;
    line-height: 1;
}

.node-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    line-height: 1;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.connection-line {
    position: absolute;
    background: var(--english-red);
    opacity: 0.7;
    animation: connectionPulse 3s ease-in-out infinite;
}

/* Line from center to top (People) - vertical line going up */
.line-1 {
    top: calc(50% - 60px); /* Start from edge of center circle */
    left: calc(50% - 2px);
    width: 4px;
    height: calc(35% - 60px); /* Go to edge of top circle */
    animation-delay: 0.5s;
}

/* Line from center to right (Places) - horizontal line going right */
.line-2 {
    top: calc(50% - 2px);
    left: calc(50% + 60px); /* Start from edge of center circle */
    width: calc(35% - 60px); /* Go to edge of right circle */
    height: 4px;
    animation-delay: 1.5s;
}

/* Line from center to bottom (Experiences) - vertical line going down */
.line-3 {
    top: calc(50% + 60px); /* Start from edge of center circle */
    left: calc(50% - 2px);
    width: 4px;
    height: calc(35% - 60px); /* Go to edge of bottom circle */
    animation-delay: 2.5s;
}
.line-4 {
    top: calc(15% + 45px);  /* Start from bottom edge of People circle */
    left: calc(50% - 2px);
    width: 4px;
    height: calc(35% - 45px);  /* Go down to top edge of Llama circle */
    animation-delay: 3.5s;
}
@keyframes connectionPulse {
    0%, 100% {
        opacity: 0.4;
        box-shadow: 0 0 0 rgba(160, 82, 79, 0);
    }
    50% {
        opacity: 0.9;
        box-shadow: 0 0 8px rgba(160, 82, 79, 0.4);
    }
}

.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
}

.mini-heart {
    position: absolute;
    font-size: 1rem;
    color: var(--english-red);
    opacity: 0.6;
    animation: heartFloat 5s ease-in-out infinite;
}

.mini-heart:nth-child(1) {
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.mini-heart:nth-child(2) {
    top: 70%;
    right: 20%;
    animation-delay: 1.5s;
}

.mini-heart:nth-child(3) {
    bottom: 65%;
    left: 70%;
    animation-delay: 3s;
}

@keyframes heartFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-15px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-5px) scale(1.1);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-20px) scale(1.3);
        opacity: 1;
    }
}

/* Testimonials */
.testimonials-section {
    padding: 8rem 0;
    background: white;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--beige);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.quote-icon {
    font-size: 4rem;
    color: var(--english-red);
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-social);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-dot.active {
    background: var(--english-red);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: var(--dark-navy);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-primary.large,
.cta-secondary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--beige);
    padding: 5rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-decoration: none;
}

a.footer-logo {
    text-decoration: none;
}

a.footer-logo:hover {
    text-decoration: none;
}

.brand-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.footer-address {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.footer-column a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.footer-column a:hover {
    color: var(--english-red);
    transform: translateX(5px);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icon {
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid var(--light-gray);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-bottom p {
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-btn:hover {
    background: var(--english-red);
    transform: translateY(-3px);
}

.social-icon-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(29%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(95%) contrast(86%);
}

.social-icon-btn:hover img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(100%) contrast(100%);
}

/* Hide mobile nav CTA on desktop */
.mobile-nav-cta {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: 0;
        right: 0;
        top: -400px;
        flex-direction: column;
        background: rgba(245, 243, 240, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: top 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
        z-index: 999;
    }

    .nav-menu.active {
        top: 80px;
    }

    .nav-menu-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--text-dark);
        margin: 3px 0;
        transition: 0.3s;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-cta {
        display: none;
    }

    .mobile-nav-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;
        border-top: 1px solid rgba(160, 82, 79, 0.1);
        margin-top: 1rem;
    }

    .mobile-nav-cta .login-btn,
    .mobile-nav-cta .become-merchant-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }


    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

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

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .process-flow {
        flex-direction: column;
        gap: 4rem;
    }

    .process-connector {
        width: 2px;
        height: 50px;
        background: linear-gradient(180deg, var(--english-red), transparent, var(--english-red));
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .container {
        padding: 0 1rem;
    }
    .process-connector {
        display: none;
    }
    .process-step{
        padding-bottom: 50px;
    }
    
    /* Fix experiences grid for mobile */
    .experiences-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .experience-card {
        padding: 2rem;
    }
    
    /* Fix horizontal overflow on mobile */
    * {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        word-wrap: break-word;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    /* Ensure all containers respect mobile width */
    .nav-container,
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Control floating elements on mobile */
    .floating-elements {
        display: none; /* Hide floating elements on mobile to prevent overflow */
    }
    
    /* Alternative: Keep them but ensure they don't overflow */
    .hero-background {
        overflow: hidden;
    }
    
    /* Fix connection animation on mobile */
    .connection-animation {
        transform: scale(0.8);
        margin: 0 auto;
    }
    
    /* Make user avatars larger on mobile */
    .user-avatar {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix any absolute positioned elements */
    [style*="position: absolute"] {
        max-width: 100vw !important;
    }
}
