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

:root {
    --primary-color: #7879FF;
    --primary-dark: #5A5BFF;
    --primary-light: #9B9CFF;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-light: #999999;
    --background: #FFFFFF;
    --background-dark: #0A0A0A;
    --background-light: #F8F9FA;
    --border-color: #E5E5E5;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 20px 80px rgba(0, 0, 0, 0.16);
    --gradient-primary: linear-gradient(135deg, #7879FF 0%, #9B9CFF 100%);
    --gradient-glow: linear-gradient(135deg, #7879FF 0%, #FF7879 50%, #7879FF 100%);
}

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

body,
html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo .logo-image {
    height: 80px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-logo .logo-image:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding-right: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    margin: 0;
}

.nav-links a:not(.btn-nav-login):not(.btn-nav-signup) {
    color: var(--text-primary);
}

.nav-links a:not(.btn-nav-login):not(.btn-nav-signup):hover {
    color: var(--primary-color);
}

/* Spacing before buttons */
.nav-links .nav-dropdown {
    margin-right: 0;
}

.nav-links .btn-nav-business {
    margin: 0;
    padding: 10px 20px;
}

.nav-links .btn-nav-login {
    margin: 0;
    padding: 10px 20px;
}

.nav-links .btn-nav-login + .btn-nav-signup {
    margin-left: 8px;
    padding: 10px 20px;
}

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

/* Active nav link state */
.nav-links a.active,
.mobile-nav a.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after,
.mobile-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.mobile-nav a.active::after {
    bottom: -4px;
}

/* Back Button */
.back-button-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px 20px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.back-button:hover {
    color: var(--primary-color);
    background: rgba(120, 121, 255, 0.1);
}

.back-button svg {
    transition: transform 0.3s ease;
}

.back-button:hover svg {
    transform: translateX(-4px);
}

@media (max-width: 900px) {
    .nav-links {
        display: none !important;
    }

    .burger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Mobile nav backdrop */
    .mobile-nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 1002;
        padding: 24px 24px 32px 24px;
        gap: 24px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .mobile-nav.open {
        right: 0;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Keep burger icon visible and on top when menu is open */
    .mobile-nav.open ~ .nav-container .burger,
    .mobile-nav-backdrop.active ~ .nav-container .burger {
        z-index: 1004;
        position: relative;
    }

    .mobile-nav-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-primary);
        margin: 0;
    }

    .mobile-nav-close {
        display: none; /* Hide separate close button - burger icon serves as close */
    }

    .mobile-nav a {
        color: var(--text-primary);
        font-size: 1.1rem;
        font-weight: 500;
        text-decoration: none;
        padding: 12px 0;
        transition: color 0.2s;
        width: 100%;
        text-align: left;
    }

    .mobile-nav a:not(.btn-nav-login):not(.btn-nav-signup):hover {
        color: var(--primary-color);
    }

    /* Mobile nav buttons - full width and wider */
    .mobile-nav .btn-nav-login,
    .mobile-nav .btn-nav-signup {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        border-radius: 12px;
        margin: 0;
        display: block;
    }

    .mobile-nav .btn-nav-login {
        background: var(--primary-color);
        color: white !important;
        border: none;
    }

    .mobile-nav .btn-nav-login:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(120, 121, 255, 0.3);
    }

    .mobile-nav .btn-nav-signup {
        background: white;
        color: var(--text-primary) !important;
        border: 1px solid #e0e0e0;
    }

    .mobile-nav .btn-nav-signup:hover {
        background: #f5f5f5;
        border-color: #d0d0d0;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

@media (min-width: 1201px) {
    .burger {
        display: none !important;
    }

    .mobile-nav {
        display: none !important;
    }

    .nav-links {
        display: flex !important;
    }
}

/* Additional mobile breakpoint for smaller devices */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .burger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: rgba(120, 121, 255, 0.15);
        border: 2px solid var(--primary-color);
    }
    
    .nav-links {
        display: none !important;
    }
}

/* Show burger menu for screens up to 1023px */
@media (max-width: 1023px) {
    .burger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-links {
        display: none !important;
    }
}

/* Show regular nav for 1024px and above (like 1440px view) */
@media (min-width: 1024px) and (max-width: 1200px) {
    .burger {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
    }
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(120, 121, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1004;
    margin-left: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.burger:hover {
    background: rgba(120, 121, 255, 0.2);
    transform: scale(1.05);
}

.burger-bar {
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 4px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transform-origin: center;
    position: relative;
}

.burger[aria-expanded="true"] {
    background: rgba(120, 121, 255, 0.2);
}

.burger[aria-expanded="true"] .burger-bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
    width: 0;
}

.burger[aria-expanded="true"] .burger-bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

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

.hero-title {
    margin-bottom: 32px;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.sorry-text {
    font-size: 0.2em;
    font-weight: 700;
    color: #000;
    margin-left: 0.5em;
    vertical-align: baseline;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 48px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

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

.project-image {
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.campaigns-img {
    top: 10%;
    right: 5%;
    width: 280px;
    height: auto;
    transform: rotate(8deg);
}

.homepage-img {
    top: 45%;
    right: 25%;
    width: 260px;
    height: auto;
    transform: rotate(-5deg);
}

.receipt-img {
    bottom: 15%;
    right: 45%;
    width: 240px;
    height: auto;
    transform: rotate(3deg);
}

.project-image:hover {
    transform: scale(1.05) rotate(0deg);
    opacity: 1;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.16);
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.floating-avatar {
    position: absolute;
    font-size: 4rem;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(120, 121, 255, 0.3));
    transition: all 0.3s ease;
}

.floating-avatar:nth-child(1) {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.floating-avatar:nth-child(2) {
    top: 65%;
    left: 65%;
    animation-delay: 1.5s;
}

.floating-avatar:nth-child(3) {
    top: 35%;
    left: 85%;
    animation-delay: 3s;
}

.floating-avatar:nth-child(4) {
    top: 85%;
    left: 5%;
    animation-delay: 4.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, 200px);
    gap: 24px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-item {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.bento-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.bento-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Grid Layout */
.delta-old {
    grid-column: 1 / 13;
    grid-row: 1 / 3;
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

.delta-new {
    grid-column: 1 / 13;
    grid-row: 3 / 5;
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

.who-its-for-intro {
    grid-column: 1 / 13;
    grid-row: 5 / 6;
    text-align: center;
    background: white;
}

.who-its-for-intro h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
    white-space: nowrap;
}

.who-its-for-intro p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    white-space: nowrap;
}

.who-tile-1 {
    grid-column: 1 / 7;
    grid-row: 6 / 8;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.who-tile-2 {
    grid-column: 7 / 13;
    grid-row: 6 / 8;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.who-tile-2 .bento-content {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    height: 100%;
}

.freelancer-text-content {
    flex: 0 1 58%;
    display: flex;
    flex-direction: column;
}

.freelancer-image-content {
    flex: 0 1 42%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-bottom: 165px !important;
}

.who-tile-2 p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.3;
    margin-bottom: 12px;
    word-wrap: break-word;
}

.welcome-rayv-image,
.map-pins-image,
.rewards-notification {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(120, 121, 255, 0.10);
    background: #fff;
}

@media (max-width: 1200px) {

    .welcome-rayv-image,
    .map-pins-image,
    .rewards-notification {
        max-height: 220px;
    }
}

@media (max-width: 768px) {

    .welcome-rayv-image,
    .map-pins-image,
    .rewards-notification {
        max-height: 160px;
    }
}

.who-its-for-intro h2,
.who-its-for-intro p {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center;
    margin: 0 auto 8px auto;
    max-width: 95vw;
}

.who-its-for-intro h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.who-tile-3 {
    grid-column: 1 / 9;
    grid-row: 8 / 9;
    padding: 20px 20px 40px 20px;
    display: flex;
    flex-direction: column;
}

.who-tile-3 .bento-content {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    height: 100%;
}

.multilocation-text-content {
    flex: 0 1 50%;
    display: flex;
    flex-direction: column;
    margin-top: -20px;
}

.multilocation-image-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140%;
    border-radius: 20px;
    overflow: hidden;
    margin-top: -18px;
    margin-right: 70px;
    padding: 0;
}

.map-pins-image {
    width: 140% !important;
    height: auto !important;
    max-width: 140%;
    max-height: 140%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(120, 121, 255, 0.10);
    background: #fff;
}

.who-tile-4 {
    grid-column: 9 / 13;
    grid-row: 7 / 9;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.who-tile-1 h3,
.who-tile-2 h3,
.who-tile-3 h3,
.who-tile-4 h3 {
    font-size: clamp(1.4rem, 2.8vw, 1.6rem);
    margin-bottom: 6px;
    line-height: 1.2;
}

.who-tile-1 h4,
.who-tile-2 h4,
.who-tile-3 h4,
.who-tile-4 h4 {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    margin-bottom: 6px;
    line-height: 1.2;
}

.who-tile-1 p,
.who-tile-2 p,
.who-tile-3 p,
.who-tile-4 p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.3;
    margin-bottom: 12px;
    flex-grow: 1;
}

.who-tile-1 .persona-icon,
.who-tile-2 .persona-icon,
.who-tile-3 .persona-icon,
.who-tile-4 .persona-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.who-tile-1 .image-placeholder,
.who-tile-2 .image-placeholder,
.who-tile-3 .image-placeholder,
.who-tile-4 .image-placeholder {
    padding: 12px 8px;
    margin-top: auto;
    min-height: 40px;
}

.who-tile-1 .placeholder-text,
.who-tile-2 .placeholder-text,
.who-tile-3 .placeholder-text,
.who-tile-4 .placeholder-text {
    font-size: 0.7rem;
}

.who-tile-4 h3 {
    font-size: clamp(1.4rem, 2.8vw, 1.6rem);
    margin-bottom: 6px;
    line-height: 1.2;
}

.who-tile-4 h4 {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    margin-bottom: 6px;
    line-height: 1.2;
}

.who-tile-4 p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.3;
    margin-bottom: 12px;
    flex-grow: 1;
}

.who-tile-4 .persona-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.rewards-notification {
    width: 100%;
    height: auto;
    max-height: 320px !important;
    object-fit: contain;
    margin-top: 0 !important;
    margin-bottom: 60px !important;
    border-radius: 20px;
}

.final-cta {
    grid-column: 1 / 13;
    grid-row: 9 / 11;
    background: var(--background-dark);
    color: white;
    text-align: center;
}

.final-cta .cta-buttons {
    justify-content: center;
    display: flex;
    gap: 20px;
    margin-top: 32px;
}

/* Bento Content Styles */
.bento-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.bento-item h2 {
    margin-bottom: 16px;
}

.bento-item h3 {
    margin-bottom: 16px;
}

.bento-item p {
    margin-bottom: 20px;
}

.bento-item ul {
    list-style: none;
}

.bento-item li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.bento-item li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Background Text Styles */
.background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(16rem, 35vw, 16rem);
    font-weight: 900;
    color: rgba(120, 121, 255, 0.5);
    white-space: nowrap;
    z-index: 1;
    letter-spacing: -0.05em;
}

/* Content Overlay Styles */
.content-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.content-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px;
    padding-top: 60px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 900px;
    text-align: center;
    width: 100%;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 24px;
    pointer-events: none;
}

.content-box h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.content-box p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.content-box ul {
    list-style: none;
    text-align: left;
}

.content-box li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.content-box li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Flow Styles */
.flow-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 20px;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.flow-container::-webkit-scrollbar {
    height: 6px;
}

.flow-container::-webkit-scrollbar-track {
    background: transparent;
}

.flow-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.flow-step {
    background: rgba(120, 121, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid rgba(120, 121, 255, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 80px;
}

.flow-arrow {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
    margin: 0 4px;
    flex-shrink: 0;
}

/* Apple Notification Stack Styles */
.notification-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.notification-stack::-webkit-scrollbar {
    width: 6px;
}

.notification-stack::-webkit-scrollbar-track {
    background: transparent;
}

.notification-stack::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.notification-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.notification-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.notification-item:hover {
    transform: translateX(8px) translateY(-2px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 16px;
    min-width: 70px;
    text-align: center;
    flex-shrink: 0;
    box-shadow:
        0 4px 16px rgba(120, 121, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.notification-content {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Image Placeholders */
.image-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    border: 2px dashed rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.placeholder-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.phone-frame {
    width: 280px;
    height: 500px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 32px;
    padding: 20px;
    box-shadow: var(--shadow-heavy);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.phone-screen {
    background: white;
    border-radius: 24px;
    height: 100%;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.app-ui {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ui-header {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.ui-item {
    padding: 12px;
    background: var(--background-light);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Rust Animation */
@keyframes rust {
    0% {
        color: #000;
        text-shadow: none;
        opacity: 1;
    }

    30% {
        color: #b87333;
        text-shadow: 0 2px 8px #b87333, 0 0px 0px #fff;
        opacity: 0.9;
    }

    60% {
        color: #a0522d;
        text-shadow: 0 4px 16px #a0522d, 0 0px 0px #fff;
        opacity: 0.7;
    }

    80% {
        color: #8b5c2a;
        text-shadow: 0 6px 24px #8b5c2a, 0 0px 0px #fff;
        opacity: 0.5;
    }

    100% {
        color: #7c482b;
        text-shadow: 0 8px 32px #7c482b, 0 0px 0px #fff;
        opacity: 0.4;
    }
}

.rust-text {
    display: inline-block;
    animation: rust 2.5s infinite alternate;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 16px;
}

.footer-section p {
    color: #CCCCCC;
}

.footer-section a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    padding: 8px 16px;
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: #999;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-image {
    height: 100px;
    width: auto;
    display: inline-block;
}

.footer-legal-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 0.98rem;
}

.footer-legal-link {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal-link:hover {
    color: var(--primary-color);
}

.footer-legal-separator {
    color: #666;
    margin: 0 4px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: repeat(20, 180px);
        gap: 20px;
        padding: 30px 20px;
    }

    .delta-old {
        display: flex;
        grid-column: 1 / 9;
        grid-row: 1 / 3;
    }

    .delta-new {
        display: flex;
        grid-column: 1 / 9;
        grid-row: 3 / 5;
    }

    .who-its-for-intro {
        grid-column: 1 / 9;
        grid-row: 5 / 6;
    }

    .who-tile-1 {
        grid-column: 1 / 9;
        grid-row: 6 / 8;
    }

    .who-tile-2 {
        grid-column: 1 / 5;
        grid-row: 8 / 9;
    }

    .who-tile-3 {
        grid-column: 5 / 9;
        grid-row: 8 / 9;
    }

    .who-tile-4 {
        grid-column: 1 / 9;
        grid-row: 9 / 10;
    }

    .final-cta {
        grid-column: 1 / 9;
        grid-row: 9 / 11;
    }

    .background-text {
        font-size: clamp(6rem, 12vw, 8rem);
    }

    .content-overlay {
        /* padding: 10px !important; */
        height: 440px !important;
        width: 100vw !important;
    }

    .content-box {
        max-width: 475px !important;
        padding: 30px;
    }

    .content-box h3 {
        font-size: 20px !important;
    }

    .step-number {
        padding: 4px !important;
        font-size: smaller !important;
    }

    .notification-content {
        font-weight: bold !important;
        font-size: 0.8rem !important;
    }

    .bento-content h2 {
        font-size: 25px !important;
    }

    .bento-content p {
        margin-bottom: 0px !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 8px 40px;
        min-height: unset;
    }

    .hero-content-homepage,
    .hero-title-homepage,
    .hero-subtitle-homepage {
        text-align: center;
    }

    .hero-cta-homepage {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
    }

    .hero-cta-homepage a {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        max-width: 100vw;
        padding: 0;
    }

    .hero-text {
        display: flex !important;
        align-items: center !important;
        padding: 25px 8px !important;
    }

    .hero-visual {
        height: auto;
        /* min-height: 180px;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center; */
        width: 100%;
        margin: 0 auto;
    }

    .project-images {
        position: relative;
        width: 100vw;
        /* height: 180px; */
        left: 0;
        top: 0;
        /* display: flex;
        justify-content: center;
        align-items: center; */
        gap: 8px;
    }

    .project-image {
        position: relative;
        width: 100vw !important;
        /* height: 120px !important; */
        margin: 0 2px;
        left: 0;
        top: 0;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(120, 121, 255, 0.10);
    }

    .code-input {
        padding: 0px !important;
        width: 120px !important;
        letter-spacing: 0rem !important;
    }

    .campaigns-img,
    .homepage-img,
    .receipt-img {
        width: 100vw !important;
        /* height: 110px !important; */
        transform: none !important;
    }

    .floating-elements {
        display: none;
    }

    .bento-grid {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        padding: 0 0 24px 0;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .bento-item {
        max-width: 98vw;
        margin: 0 auto 14px auto;
        box-sizing: border-box;
        overflow-x: hidden;
        border-radius: 14px;
        padding: 14px 6px;
        position: relative !important;
        z-index: 1 !important;
    }

    .bento-content {
        padding: 0;
        box-sizing: border-box;
    }

    .business-owner-content,
    .who-tile-2 .bento-content,
    .who-tile-3 .bento-content {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .business-owner-text,
    .freelancer-text-content,
    .multilocation-text-content {
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .business-owner-image,
    .freelancer-image-content,
    .multilocation-image-content {
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        padding: 0 !important;
        height: auto !important;
    }

    .create-campaign-image,
    .welcome-rayv-image,
    .map-pins-image,
    .rewards-notification {
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        max-height: 180px !important;
        margin: 0 auto !important;
        display: block;
        border-radius: 16px;
    }

    .content-overlay {
        padding: 10px !important;
        height: 360px !important;
        width: 100vw !important;
    }

    .content-box {
        padding: 8px !important;
        max-width: 380px !important;
    }

    .content-box h3 {
        font-size: 20px !important;
    }

    .step-number {
        padding: 4px !important;
        font-size: smaller !important;
    }

    .notification-content {
        font-weight: bold !important;
        font-size: 0.8rem !important;
    }

    .bento-content h2 {
        font-size: 25px !important;
    }

    .bento-content p {
        margin-bottom: 0px !important;
    }

    .final-cta {
        padding: 18px 8px;
        border-radius: 16px;
    }

    .footer {
        padding: 20px !important;
    }

    .footer-content {
        margin-bottom: 0px !important;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 8px;
    }

    .footer-logo-image {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 2px 30px;
    }

    .hero-title {
        font-size: 2.1rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .project-image {
        width: 100vw !important;
        /* height: 90px !important; */
    }

    .campaigns-img,
    .homepage-img,
    .receipt-img {
        width: 100vw !important;
        /* height: 80px !important; */
    }

    .bento-item {
        padding: 8px 2px;
        min-height: 90px;
        border-radius: 10px;
    }

    .content-overlay {
        padding: 10px !important;
        height: 360px !important;
        width: 100vw !important;
    }


    .content-box {
        padding: 10px !important;
        height: 350px !important;
    }

    .notification-stack {
        gap: 3px !important;
    }

    .notification-item {
        padding: 0px 20px !important;
    }

    .content-box h3 {
        font-size: 15px !important;
    }

    .content-box p {
        font-size: smaller !important;
        line-height: 1.2;
    }

    .step-number {
        padding: 4px !important;
        font-size: smaller !important;
    }

    .notification-content {
        font-weight: bold !important;
        font-size: 0.5rem !important;
    }

    .bento-content h2 {
        font-size: 20px !important;
        margin-bottom: 0px !important;
    }

    .bento-content p {
        margin-bottom: 0px !important;
    }

    .bento-content .btn-secondary {
        padding: 5px 10px !important;
    }

    .create-campaign-image,
    .welcome-rayv-image,
    .map-pins-image,
    .rewards-notification {
        max-width: 98vw !important;
        max-height: 120px !important;
        border-radius: 12px;
    }

    .footer {
        padding: 20px !important;
    }

    .footer-content {
        margin-bottom: 0px !important;
    }

    .footer-logo-image {
        height: 32px;
    }

}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

.beta-access {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(120, 121, 255, 0.08);
    padding: 32px 24px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
    backdrop-filter: blur(12px);
}

.beta-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.beta-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 24px;
}

.access-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.code-input-group {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.code-input {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--primary-color);
    outline: none;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(120, 121, 255, 0.04);
    width: 160px;
    letter-spacing: 0.18em;
    text-align: center;
    transition: border 0.2s;
}

.code-input:focus {
    border: 1.5px solid var(--primary-dark);
}

.error-message {
    color: #e53935;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 4px;
    margin-bottom: 0;
    min-height: 24px;
    transition: opacity 0.2s;
}

.or-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 8px 0 0 0;
}

.or-divider span {
    background: rgba(120, 121, 255, 0.08);
    padding: 2px 12px;
    border-radius: 8px;
}

.secret-backdoor {
    border: 2px dashed var(--primary-color);
    background: linear-gradient(90deg, rgba(120, 121, 255, 0.08) 0%, rgba(120, 121, 255, 0.02) 100%);
    color: var(--primary-color);
    font-weight: 600;
    opacity: 0.85;
    box-shadow: 0 2px 12px rgba(120, 121, 255, 0.06);
    transition: all 0.2s;
}

.secret-backdoor:hover {
    opacity: 1;
    background: linear-gradient(90deg, rgba(120, 121, 255, 0.15) 0%, rgba(120, 121, 255, 0.05) 100%);
    box-shadow: 0 4px 24px rgba(120, 121, 255, 0.12);
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 32, 70, 0.25);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.popup-content {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(120, 121, 255, 0.15);
    padding: 36px 28px 28px 28px;
    max-width: 400px;
    width: 100%;
    text-align: left;
    position: relative;
    animation: popup-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes popup-in {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.popup-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.popup-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 18px;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.form-group label {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--primary-light);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 4px rgba(120, 121, 255, 0.04);
    transition: border 0.2s;
}

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

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 32, 70, 0.25);
    backdrop-filter: blur(8px);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(120, 121, 255, 0.15);
    padding: 36px 32px 28px 32px;
    max-width: 350px;
    width: 100%;
    text-align: center;
    animation: popup-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

@media (max-width: 600px) {

    .popup-content,
    .success-content {
        max-width: 95vw;
        padding: 18px 6vw 18px 6vw;
    }
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-8px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(6px);
    }

    100% {
        transform: translateX(0);
    }
}

.code-input.shake {
    animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
    border-color: #e53935;
}

/* Business Owners Card Two-Column Layout */
.business-owner-content {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    height: 100%;
}

.business-owner-text {
    flex: 0 1 25%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 25%;
    min-width: 180px;
}

.business-owner-image {
    flex: 0 1 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.create-campaign-image {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(120, 121, 255, 0.10);
    background: #fff;
}

@media (max-width: 1200px) {
    .business-owner-content {
        flex-direction: column;
        gap: 1rem;
    }

    .business-owner-text,
    .business-owner-image {
        max-width: 100%;
        min-width: 0;
        flex: 1 1 100%;
    }

    .create-campaign-image {
        max-height: 220px;
    }
}

@media (max-width: 768px) {

    /* .business-owner-content {
        flex-direction: column;
        gap: 1rem;
    }

    .business-owner-text,
    .business-owner-image {
        max-width: 100%;
        min-width: 0;
        flex: 1 1 100%;
    }

    .create-campaign-image {
        max-height: 160px;
    } */


    .who-tile-1,
    .who-tile-2,
    .who-tile-3,
    .who-tile-4 {
        width: 100vw !important;
        min-height: 380px !important;
        height: auto !important;
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        padding: 16px !important;
        margin-bottom: 20px !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .who-its-for-intro {
        order: 1 !important;
        margin-bottom: 20px !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .who-tile-1 {
        order: 2 !important;
        margin-bottom: 24px !important;
    }

    .who-tile-2 {
        order: 3 !important;
        margin-bottom: 24px !important;
    }

    .who-tile-3 {
        order: 4 !important;
        margin-bottom: 24px !important;
    }

    .who-tile-4 {
        order: 5 !important;
        margin-bottom: 30px !important;
    }

    .final-cta {
        height: 200px !important;
        order: 6 !important;
        margin-top: 20px !important;
        position: relative !important;
        z-index: 2 !important;
    }
}

.bento-item {
    opacity: 1 !important;
    transform: none !important;
}

/* Old Way - color-only overrides */
.delta-old .background-text {
    color: rgba(255, 154, 35, 0.5) !important; /* Change from purple to amber */
}

.delta-old .step-number {
    background: linear-gradient(135deg, #FF9A23 0%, #FF7A45 100%) !important; /* Change from purple to amber */
    box-shadow: 0 4px 16px rgba(255, 154, 35, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.delta-old .notification-stack::-webkit-scrollbar-thumb {
    background: #FF9A23 !important; /* Change scrollbar from purple to amber */
}

.delta-old .notification-stack {
    scrollbar-color: #FF9A23 transparent !important; /* Change scrollbar from purple to amber */
}

/* ============================================
   HOMEPAGE STYLES (Pinterest-style)
   ============================================ */

/* Homepage Hero */
.hero-homepage {
    padding: 140px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f0f4ff 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-homepage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(120, 121, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(120, 121, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content-homepage {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title-homepage {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle-homepage {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta-homepage {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-homepage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(120, 121, 255, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary-homepage:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(120, 121, 255, 0.4);
}

.btn-secondary-homepage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary-homepage:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Navigation Updates for Homepage */
.btn-nav-login {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0;
}

.btn-nav-login:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(120, 121, 255, 0.3);
}

.btn-nav-signup {
    background: white;
    color: var(--text-primary) !important;
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0;
}

.btn-nav-signup:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Business Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.btn-nav-business {
    background: white;
    color: var(--text-primary) !important;
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
}

.btn-nav-business:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-nav-business .dropdown-arrow {
    transition: transform 0.3s ease;
}

.btn-nav-business[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    white-space: nowrap;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.nav-logo a {
    display: inline-block;
    text-decoration: none;
}

/* Pricing Section */
.pricing-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-container {
    width: 100%;
    text-align: center;
}

.pricing-headline {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.pricing-subheadline {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 500;
}

.pricing-primary {
    margin-bottom: 32px;
}

.pricing-statement {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0;
}

.pricing-clarifier {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-outcome {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-primary);
    margin-bottom: 48px;
    line-height: 1.6;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-minimum {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 48px;
    font-weight: 400;
}

.pricing-cta {
    margin-top: 48px;
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 100px 24px 60px;
    }
    
    .pricing-headline {
        margin-bottom: 12px;
    }
    
    .pricing-subheadline {
        margin-bottom: 40px;
    }
    
    .pricing-primary {
        margin-bottom: 24px;
    }
    
    .pricing-clarifier,
    .pricing-outcome {
        margin-bottom: 24px;
    }
    
    .pricing-minimum {
        margin-bottom: 40px;
    }
}

/* Who Rayv is for Section */
.who-rayv-section {
    min-height: calc(100vh - 80px);
    padding: 120px 40px 80px;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 50%, #ffffff 100%);
}

.who-rayv-container {
    width: 100%;
    position: relative;
}

.who-rayv-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: center;
}

.who-rayv-subheading {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 64px;
    font-weight: 500;
    text-align: center;
}

.who-rayv-section-block {
    margin-bottom: 56px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(120, 121, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.who-rayv-section-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(120, 121, 255, 0.12);
}

.who-rayv-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 32px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 12px;
}

.who-rayv-section-title::before {
    content: '';
    width: 4px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.who-rayv-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.who-rayv-item {
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(120, 121, 255, 0.03) 0%, rgba(120, 121, 255, 0.01) 100%);
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.who-rayv-item:hover {
    background: linear-gradient(135deg, rgba(120, 121, 255, 0.08) 0%, rgba(120, 121, 255, 0.03) 100%);
    transform: translateX(4px);
}

.who-rayv-item-title {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.who-rayv-item-title::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2em;
}

.who-rayv-item-desc {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.who-rayv-not-for-intro {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.who-rayv-not-for-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.who-rayv-not-for-list li {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    padding: 12px 16px;
    padding-left: 40px;
    position: relative;
    background: rgba(255, 120, 121, 0.05);
    border-radius: 8px;
    border-left: 3px solid rgba(255, 120, 121, 0.3);
}

.who-rayv-not-for-list li::before {
    content: '×';
    position: absolute;
    left: 12px;
    color: rgba(255, 120, 121, 0.6);
    font-weight: 700;
    font-size: 1.2em;
}

.who-rayv-not-for-list li:last-child {
    margin-bottom: 0;
}

.who-rayv-closing {
    margin: 64px 0 48px;
    text-align: center;
}

.who-rayv-closing-statement {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

.who-rayv-cta {
    text-align: center;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .who-rayv-section {
        padding: 100px 24px 60px;
    }
    
    .who-rayv-title {
        margin-bottom: 12px;
    }
    
    .who-rayv-subheading {
        margin-bottom: 48px;
    }
    
    .who-rayv-section-block {
        margin-bottom: 48px;
        padding: 24px;
    }
    
    .who-rayv-section-title {
        margin-bottom: 24px;
    }
    
    .who-rayv-list {
        gap: 20px;
    }
    
    .who-rayv-item {
        padding: 16px;
    }
    
    .who-rayv-closing {
        margin: 48px 0 40px;
        padding: 32px 24px;
    }
}

/* Talk to Us Section */
.talk-to-us-section {
    min-height: calc(100vh - 80px);
    padding: 120px 40px 80px;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.talk-to-us-container {
    width: 100%;
}

.talk-to-us-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: center;
}

.talk-to-us-subheading {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
    text-align: center;
    line-height: 1.6;
}

.talk-to-us-location {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
}

.talk-to-us-reassurance {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 48px;
}

.talk-to-us-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(120, 121, 255, 0.1);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group:last-of-type {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group .optional {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

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

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

.talk-to-us-form .btn-primary-homepage {
    width: 100%;
    margin-top: 8px;
}

.talk-to-us-alternate {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.talk-to-us-alternate p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.talk-to-us-alternate a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.talk-to-us-alternate a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .talk-to-us-section {
        padding: 100px 24px 60px;
    }
    
    .talk-to-us-form {
        padding: 32px 24px;
    }
    
    .talk-to-us-title {
        margin-bottom: 12px;
    }
    
    .talk-to-us-subheading {
        margin-bottom: 24px;
    }
    
    .talk-to-us-reassurance {
        margin-bottom: 40px;
    }
}

/* About Section */
.about-section {
    min-height: calc(100vh - 80px);
    padding: 120px 40px 80px;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 50%, #ffffff 100%);
}

.about-container {
    width: 100%;
    position: relative;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 64px;
    line-height: 1.2;
}

.about-block {
    margin-bottom: 56px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(120, 121, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(120, 121, 255, 0.12);
}

.about-block:last-of-type {
    margin-bottom: 48px;
}

.about-block-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-block-title::before {
    content: '';
    width: 4px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.about-block-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.about-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

.about-column {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(120, 121, 255, 0.03) 0%, rgba(120, 121, 255, 0.01) 100%);
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.about-column:hover {
    background: linear-gradient(135deg, rgba(120, 121, 255, 0.08) 0%, rgba(120, 121, 255, 0.03) 100%);
    transform: translateX(4px);
}

.about-column-title {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-column-title::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2em;
}

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

.about-list li {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    transition: color 0.2s ease;
}

.about-list li:hover {
    color: var(--text-primary);
}

.about-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3em;
}

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

.about-beliefs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-beliefs li {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 500;
    padding: 16px 20px;
    padding-left: 48px;
    position: relative;
    background: linear-gradient(135deg, rgba(120, 121, 255, 0.05) 0%, rgba(120, 121, 255, 0.02) 100%);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.about-beliefs li:hover {
    background: linear-gradient(135deg, rgba(120, 121, 255, 0.1) 0%, rgba(120, 121, 255, 0.05) 100%);
    transform: translateX(4px);
}

.about-beliefs li::before {
    content: '→';
    position: absolute;
    left: 16px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2em;
}

.about-cta {
    text-align: center;
    margin-top: 64px;
}

@media (max-width: 768px) {
    .about-section {
        padding: 100px 24px 60px;
    }
    
    .about-title {
        margin-bottom: 48px;
    }
    
    .about-block {
        margin-bottom: 48px;
    }
    
    .about-two-column {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .about-cta {
        margin-top: 48px;
    }
}

/* FAQ Section */
.faq-section {
    min-height: calc(100vh - 80px);
    padding: 120px 40px 80px;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 50%, #ffffff 100%);
}

.faq-container {
    width: 100%;
    position: relative;
}

.faq-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.faq-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 64px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 64px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(120, 121, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(120, 121, 255, 0.12);
    border-color: rgba(120, 121, 255, 0.2);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(120, 121, 255, 0.15);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
    border-radius: 16px;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    padding: 0 28px 24px;
}

.faq-answer p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    padding-top: 8px;
}

.faq-cta {
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
}

.faq-cta-text {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 100px 24px 60px;
    }
    
    .faq-title {
        margin-bottom: 12px;
    }
    
    .faq-subtitle {
        margin-bottom: 48px;
    }
    
    .faq-list {
        gap: 12px;
        margin-bottom: 48px;
    }
    
    .faq-question {
        padding: 20px 20px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .faq-cta {
        padding-top: 40px;
    }
}

/* Minimal Showcase Section */
.minimal-showcase {
    padding: 120px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 50%, #ffffff 100%);
    max-width: 1400px;
    margin: 0 auto;
}

.minimal-item:nth-child(odd) {
    background: linear-gradient(90deg, rgba(120, 121, 255, 0.02) 0%, transparent 100%);
    padding: 40px;
    margin-left: -40px;
    margin-right: -40px;
    border-radius: 24px;
}

.minimal-item:nth-child(even) {
    background: linear-gradient(90deg, transparent 0%, rgba(120, 121, 255, 0.02) 100%);
    padding: 40px;
    margin-left: -40px;
    margin-right: -40px;
    border-radius: 24px;
}

.minimal-item {
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.minimal-item[data-scroll="true"] {
    opacity: 1;
    transform: translateY(0);
}

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

.minimal-item-right .minimal-content-wrapper {
    grid-template-columns: 1fr 1fr;
}

.minimal-item-right .minimal-text {
    order: 2;
}

.minimal-item-right .minimal-image {
    order: 1;
}

.minimal-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.minimal-item[data-scroll="true"] .minimal-image {
    transform: scale(1);
}

.minimal-image img,
.minimal-image video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.minimal-text {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

/* Scroll animations for hero */
.hero-homepage {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hero-homepage[data-scroll="true"] {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 10;
}

.scroll-indicator.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
    pointer-events: none;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    animation: bounce-arrow 2s infinite;
}

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

.scroll-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: fade-pulse 2s infinite;
}

@keyframes fade-pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* For Businesses Section */
.for-businesses-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f0f4ff 100%);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.for-businesses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(120, 121, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.for-businesses-section[data-scroll="true"] {
    opacity: 1;
    transform: translateY(0);
}

.for-businesses-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.for-businesses-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.for-businesses-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Locals-first homepage customizations */
.hero-locals .hero-subtitle-homepage {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-punchline {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.hero-inline-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.hero-inline-link {
    color: #2563eb;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-weight: 600;
}

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

.inline-title-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px 20px 0;
}

.hero-secondary-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(120, 121, 255, 0.08);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(120, 121, 255, 0.2);
}

/* Hero text entrance animation (locals hero, always on load) */
.hero-locals .hero-title-homepage {
    animation: hero-text-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-locals .hero-subtitle-homepage {
    animation: hero-text-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.12s forwards;
}

.hero-locals .hero-punchline {
    animation: hero-text-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.24s forwards;
}

.hero-locals .hero-cta-homepage {
    animation: hero-text-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.36s forwards;
}

@keyframes hero-text-up {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }
    60% {
        opacity: 1;
        transform: translateY(-2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating hero hashtags */
.hero-tags {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-tag {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0.9;
    animation: float-tag 16s ease-in-out infinite;
}

/* Individual tag placement + gradient/angle */
.hero-tag:nth-child(1) {
    top: 18%;
    left: 8%;
    background: linear-gradient(135deg, #7879FF, #9B9CFF);
    transform: rotate(-14deg);
    animation-delay: 0s;
}

.hero-tag:nth-child(2) {
    top: 30%;
    right: 6%;
    background: linear-gradient(210deg, #FF7879, #FFB199);
    transform: rotate(9deg);
    animation-delay: 2s;
}

.hero-tag:nth-child(3) {
    bottom: 24%;
    left: 12%;
    background: linear-gradient(160deg, #5A5BFF, #7879FF);
    transform: rotate(6deg);
    animation-delay: 3.5s;
}

.hero-tag:nth-child(4) {
    bottom: 18%;
    right: 14%;
    background: linear-gradient(300deg, #7879FF, #FF7879);
    transform: rotate(-10deg);
    animation-delay: 5s;
}

.hero-tag:nth-child(5) {
    top: 12%;
    right: 22%;
    background: linear-gradient(250deg, #9B9CFF, #7879FF);
    transform: rotate(4deg);
    animation-delay: 6.5s;
}

.hero-tag:nth-child(6) {
    bottom: 10%;
    left: 22%;
    background: linear-gradient(195deg, #FF7879, #7879FF);
    transform: rotate(2deg);
    animation-delay: 8s;
}

@keyframes float-tag {
    0% {
        transform: translate3d(0, 0, 0) rotate(var(--tag-rotation, 0deg));
        opacity: 0.9;
    }
    25% {
        transform: translate3d(4px, -10px, 0) rotate(calc(var(--tag-rotation, 0deg) + 2deg));
        opacity: 1;
    }
    50% {
        transform: translate3d(0, 0, 0) rotate(var(--tag-rotation, 0deg));
        opacity: 0.95;
    }
    75% {
        transform: translate3d(-4px, 8px, 0) rotate(calc(var(--tag-rotation, 0deg) - 2deg));
        opacity: 1;
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(var(--tag-rotation, 0deg));
        opacity: 0.9;
    }
}

/* Benefits section */
.benefits-section {
    padding: 40px 20px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.benefit-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
    border-color: rgba(120, 121, 255, 0.5);
}

.benefit-card h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* How it works */
.how-it-works-section {
    padding: 40px 20px 80px;
    max-width: 1100px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-it-works-section[data-scroll="true"] {
    opacity: 1;
    transform: translateY(0);
}

.how-it-works-container h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 32px;
    text-align: center;
    color: var(--text-primary);
}

.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.how-step {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 20px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.how-step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(120, 121, 255, 0.1), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.how-step:hover::before {
    opacity: 1;
}

.how-step-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.how-step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.how-step-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Video encouragement section */
.video-encouragement-section {
    padding: 40px 20px 20px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-encouragement-section[data-scroll="true"] {
    opacity: 1;
    transform: translateY(0);
}

.video-encouragement-container {
    text-align: center;
}

.video-encouragement-text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

/* Locals trust section */
.locals-trust-section {
    padding: 40px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.locals-trust-section[data-scroll="true"] {
    opacity: 1;
    transform: translateY(0);
}

.locals-trust-container h2 {
    font-size: clamp(2rem, 4vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
}

.locals-trust-grid {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 40px;
    row-gap: 16px;
    justify-content: center;
}

.locals-trust-list {
    list-style: none;
    padding-left: 0;
}

.locals-trust-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 0.98rem;
    color: var(--text-secondary);
}

.locals-trust-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

/* Closing hook */
.closing-hook-section {
    padding: 40px 20px 100px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.closing-hook-section[data-scroll="true"] {
    opacity: 1;
    transform: translateY(0);
}

.closing-hook-container h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.closing-hook-container p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.closing-cta .btn-primary-homepage {
    min-width: 180px;
}

@media (max-width: 900px) {
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .how-it-works-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hero-tags {
        display: none;
    }
    
    .how-it-works-steps {
        grid-template-columns: 1fr;
    }
    
    .locals-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage Footer */
.footer-homepage {
    background: #000000;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content-homepage {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-homepage .footer-section h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-homepage .footer-section a {
    display: block;
    color: #CCCCCC;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-homepage .footer-section a:hover {
    color: var(--primary-color);
}

.footer-homepage .footer-logo-image {
    height: 80px;
    width: auto;
}

/* Responsive Minimal Section */
@media (max-width: 768px) {
    .minimal-showcase {
        padding: 80px 16px;
    }
    
    .minimal-item {
        margin-bottom: 80px;
        padding: 30px 20px !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
    }
    
    .minimal-content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    .minimal-item-right .minimal-text,
    .minimal-item-right .minimal-image {
        order: unset !important;
    }
    
    .minimal-image {
        margin-bottom: 0;
    }
    
    .minimal-text {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .hero-homepage {
        padding: 120px 16px 60px;
        min-height: 50vh;
    }
    
    .hero-cta-homepage {
        flex-direction: column;
    }
    
    .btn-primary-homepage,
    .btn-secondary-homepage {
        width: 100%;
        max-width: 300px;
    }
    
    .for-businesses-section {
        padding: 60px 16px;
    }
}

/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* WCAG 2.2 Compliance: Enhanced Focus Indicators */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
[tabindex]:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Ensure focus is visible even with custom styles */
.btn-primary:focus,
.btn-secondary:focus,
.btn-primary-homepage:focus,
.btn-secondary-homepage:focus,
.btn-nav-login:focus,
.btn-nav-signup:focus,
.btn-nav-business:focus,
.cookie-btn:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* WCAG 2.2 Compliance: Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .minimal-item,
    .hero-homepage,
    .for-businesses-section {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .scroll-indicator {
        animation: none !important;
    }
    
    .scroll-arrow {
        animation: none !important;
    }
    
    .scroll-text {
        animation: none !important;
    }
}

/* WCAG 2.2 Compliance: Form Error Messages */
.form-error {
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: #d32f2f;
    border-width: 2px;
}

.form-group input[aria-invalid="true"]:focus,
.form-group textarea[aria-invalid="true"]:focus {
    outline-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
}

.form-success {
    color: #2e7d32;
    font-size: 0.875rem;
    margin-top: 4px;
    display: block;
    font-weight: 500;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.cookie-btn-accept {
    background: var(--gradient-primary);
    color: white;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(120, 121, 255, 0.3);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.cookie-btn-reject:hover {
    background: var(--background-light);
    border-color: var(--text-secondary);
}

.cookie-btn-reject:focus,
.cookie-btn-accept:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .scroll-indicator {
        bottom: 5px;
    }
    
    .scroll-arrow {
        width: 32px;
        height: 32px;
    }
    
    .scroll-text {
        font-size: 0.75rem;
    }
}