/* ===== MaCho Test Font Family ===== */
@font-face {
    font-family: 'MaCho Test';
    src: url('../fonts/machotest-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MaCho Test';
    src: url('../fonts/machotest-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MaCho Test';
    src: url('../fonts/machotest-semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MaCho Test';
    src: url('../fonts/machotest-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MaCho Test';
    src: url('../fonts/machotest-extrabold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS Variables ===== */
:root {
    /* Color Palette */
    --primary: #5C3B20;
    --primary-dark: #3A2A1E;
    --footer-bg: #000;
    --accent: #A06A3A;
    --secondary: #7A4E26;
    --background: #F2E9DD;
    --surface: #D8C2A8;

    /* Additional Colors */
    --white: #FFFFFF;
    --text-light: #D8C2A8;
    --text-muted: #7A4E26;

    /* Mastercard Colors */
    --mc-red: #EB001B;
    --mc-orange: #FF5F00;
    --mc-yellow: #F79E1B;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ===== Typography - MaCho Test for Headers ===== */
h1, h2, h3, h4, h5, h6,
.section-title,
.section-title-light,
.section-title-white,
.logo-text,
.footer-logo span,
.auth-logo span {
    font-family: 'MaCho Test', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Utility Classes ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

.hidden {
    display: none !important;
}

.text-accent {
    color: var(--accent);
}

.text-cream {
    color: var(--background);
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.625rem 1.25rem;
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--secondary);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.btn-accent:hover {
    background: var(--secondary);
    box-shadow: var(--shadow-xl);
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: transparent;
    backdrop-filter: blur(8px);
    color: var(--primary);
    font-weight: 600;
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
}

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

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem var(--space-lg);
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.btn-white:hover {
    background: var(--background);
}

.btn-text {
    color: var(--white);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.btn-text:hover {
    color: var(--accent);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
}

.btn-full {
    width: 100%;
}

/* ===== Badges ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
}

.badge-beige {
    background: var(--surface);
    color: var(--primary);
}

.badge-dark {
    background: var(--primary);
    color: var(--text-light);
}

.badge-secondary {
    background: var(--secondary);
    color: var(--text-light);
}

.badge-glass {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent);
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

.badge-dot-white {
    background: var(--white);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: #000;
    transition: all var(--transition-slow);
}

.header.scrolled {
    background: #000;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 768px) {
    .header-container {
        height: 5rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.logo-icon-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent);
}

.auth-buttons {
    display: none;
    align-items: center;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .auth-buttons {
        display: flex;
    }
}

.mobile-menu-btn {
    display: flex;
    padding: var(--space-sm);
    color: var(--white);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    background: var(--background);
    border-top: 1px solid var(--surface);
    padding: var(--space-md);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.mobile-nav-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--primary);
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
}

.mobile-nav-link:hover {
    background: var(--surface);
}

.mobile-menu-divider {
    height: 1px;
    background: var(--surface);
    margin: var(--space-sm) 0;
}

.mobile-auth-btn {
    margin: 0 var(--space-md);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--white);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--white);
    filter: blur(48px);
}

.hero-bg-circle-1 {
    top: 5rem;
    left: 2.5rem;
    width: 16rem;
    height: 16rem;
}

.hero-bg-circle-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
}

.hero-chart {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 33%;
    height: 50%;
    opacity: 0.3;
    display: none;
}

@media (min-width: 768px) {
    .hero-chart {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        gap: var(--space-sm);
        padding-right: var(--space-xl);
        padding-bottom: var(--space-xl);
    }
}

.chart-bar {
    width: 2rem;
    background: linear-gradient(to top, var(--accent), var(--secondary));
    border-radius: 2px 2px 0 0;
}

@media (min-width: 768px) {
    .chart-bar {
        width: 3rem;
    }
}

.hero-arrow {
    position: absolute;
    bottom: 25%;
    right: 25%;
    opacity: 0.15;
    color: var(--accent);
    display: none;
}

@media (min-width: 1024px) {
    .hero-arrow {
        display: block;
    }
}

.hero-container {
    position: relative;
    padding-top: 6rem;
    padding-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .hero-container {
        padding-top: 2rem;
    }
}

.hero-grid {
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
    min-height: 80vh;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .hero-content {
        padding-top: 3rem;
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}


@media (min-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-title-highlight {
    color: var(--accent);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 36rem;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .hero-features {
        gap: var(--space-lg);
    }
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background: rgba(160, 106, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.hero-feature span {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-feature span {
        font-size: 1rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.scroll-indicator {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: var(--space-xl);
    transition: color var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--primary);
}

@media (min-width: 768px) {
    .scroll-indicator {
        display: flex;
    }
}

.bounce {
    animation: bounce 1s infinite;
}

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

/* Hero Illustration */
.hero-illustration {
    position: relative;
    display: none;
}

@media (min-width: 1024px) {
    .hero-illustration {
        display: block;
    }
}

.hero-globe {
    position: absolute;
    top: 0;
    right: 0;
    width: 20rem;
    height: 20rem;
    opacity: 0.8;
}

.hero-globe img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.domain-bubble {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

.domain-bubble-1 {
    top: 2rem;
    left: 25%;
    width: 4rem;
    height: 4rem;
}

.domain-bubble-2 {
    top: 1rem;
    right: 25%;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 0.875rem;
    animation-delay: 0.1s;
}

.domain-bubble-3 {
    top: 33%;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 0.875rem;
    animation-delay: 0.2s;
}

.domain-bubble-4 {
    bottom: 33%;
    right: 25%;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 0.875rem;
    animation-delay: 0.3s;
}

.domain-bubble-5 {
    bottom: 50%;
    left: 33%;
    width: 4rem;
    height: 4rem;
    animation-delay: 0.4s;
}

.hero-merchant {
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 18rem;
}

.hero-merchant img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-title-light {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .section-title-light {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title-light {
        font-size: 3rem;
    }
}

.section-title-white {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .section-title-white {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title-white {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 48rem;
    margin: 0 auto;
}

.section-description-light {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 48rem;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about-section {
    padding: 5rem 0;
    background: var(--background);
}

@media (min-width: 768px) {
    .about-section {
        padding: 8rem 0;
    }
}

.about-grid {
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    padding-top: var(--space-md);
}

.about-feature-card {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--surface);
}

.about-feature-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(160, 106, 58, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.about-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.about-feature-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* About Stats */
.about-stats {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.stat-card {
    padding: var(--space-lg);
    border-radius: var(--radius-2xl);
    color: var(--white);
    transition: transform var(--transition-slow);
}

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

.stat-card-primary {
    background: var(--primary);
}

.stat-card-accent {
    background: var(--accent);
}

.stat-card-secondary {
    background: var(--secondary);
}

.stat-card-dark {
    background: var(--primary-dark);
}

.offset-top {
    margin-top: var(--space-xl);
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.stat-sublabel {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: var(--space-xs);
}

.stats-bg-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24rem;
    height: 24rem;
    background: rgba(160, 106, 58, 0.1);
    border-radius: 50%;
    filter: blur(48px);
    z-index: -1;
}

/* ===== Impact Section ===== */
.impact-section {
    padding: 5rem 0;
    background: var(--primary-dark);
}

@media (min-width: 768px) {
    .impact-section {
        padding: 8rem 0;
    }
}

.impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .impact-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.impact-stat {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(92, 59, 32, 0.5);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--secondary);
}

.impact-stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--accent);
    display: inline;
}

@media (min-width: 768px) {
    .impact-stat-value {
        font-size: 2.25rem;
    }
}

.impact-stat-prefix,
.impact-stat-suffix {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--accent);
    display: inline;
}

@media (min-width: 768px) {
    .impact-stat-prefix,
    .impact-stat-suffix {
        font-size: 2.25rem;
    }
}

.impact-stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: var(--space-sm);
}

/* Challenge Cards */
.challenge-grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .challenge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .challenge-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.challenge-card {
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--secondary);
    transition: all var(--transition-slow);
}

.challenge-card:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.challenge-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.challenge-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(160, 106, 58, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.challenge-card:hover .challenge-icon {
    background: var(--accent);
    color: var(--white);
}

.challenge-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.challenge-impact {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.challenge-impact-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.challenge-impact-desc {
    font-size: 0.875rem;
    color: var(--text-light);
}

.challenge-source {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    color: rgba(216, 194, 168, 0.7);
}

/* Solution Card */
.solution-card {
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--accent);
}

@media (min-width: 768px) {
    .solution-card {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .solution-card {
        grid-column: span 1;
    }
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
}

.solution-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.solution-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.solution-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
}

/* ===== Partnership Section ===== */
.partnership-section {
    padding: 5rem 0;
    background: var(--background);
}

@media (min-width: 768px) {
    .partnership-section {
        padding: 8rem 0;
    }
}

.partnership-grid {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .partnership-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.partnership-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--surface);
    transition: all var(--transition-slow);
}

.partnership-card-gradient {
    height: 0.5rem;
}

.gradient-mastercard-1 {
    background: linear-gradient(90deg, var(--mc-orange), var(--mc-red));
}

.gradient-mastercard-2 {
    background: linear-gradient(90deg, var(--mc-yellow), var(--mc-orange));
}

.gradient-brown {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.partnership-card-content {
    padding: var(--space-xl);
}

.partnership-card-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.partnership-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.partnership-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.partnership-short-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.partnership-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: var(--space-lg);
}

.partnership-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-check {
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(160, 106, 58, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.partnership-benefit span {
    font-size: 0.875rem;
    color: var(--primary);
}

.partnership-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--accent);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.partnership-toggle:hover {
    color: var(--secondary);
}

.partnership-toggle svg {
    transition: transform var(--transition-normal);
}

.partnership-toggle.expanded svg {
    transform: rotate(180deg);
}

/* Programs Card */
.programs-card {
    background: var(--white);
    border-radius: var(--radius-3xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--surface);
}

@media (min-width: 768px) {
    .programs-card {
        padding: var(--space-2xl);
    }
}

.programs-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.programs-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.programs-header p {
    color: var(--text-muted);
}

.programs-grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.program-item {
    padding: var(--space-lg);
    background: var(--background);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: background var(--transition-normal);
    cursor: pointer;
}

.program-item:hover {
    background: var(--surface);
}

.program-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.program-item h4 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.program-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== Product Section ===== */
.product-section {
    padding: 5rem 0;
    background: var(--primary);
}

@media (min-width: 768px) {
    .product-section {
        padding: 8rem 0;
    }
}

.product-grid {
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-item {
    width: 100%;
    text-align: left;
    padding: var(--space-lg);
    background: rgba(122, 78, 38, 0.5);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-slow);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.feature-item:hover,
.feature-item.active {
    background: var(--accent);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(160, 106, 58, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.feature-item.active .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.feature-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--space-xs);
    transition: color var(--transition-normal);
}

.feature-item.active h3 {
    color: var(--white);
}

.feature-item p {
    font-size: 0.875rem;
    color: rgba(216, 194, 168, 0.7);
    transition: color var(--transition-normal);
}

.feature-item.active p {
    color: rgba(255, 255, 255, 0.8);
}

/* Phone Mockups */
.phone-mockups {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
}

.phone {
    position: relative;
}

.phone-frame {
    background: var(--primary-dark);
    border-radius: var(--radius-3xl);
    padding: var(--space-sm);
    box-shadow: var(--shadow-2xl);
}

.phone-screen {
    background: #000;
    border-radius: calc(var(--radius-3xl) - 0.25rem);
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: auto;
}

.phone-left {
    width: 10rem;
    transform: rotate(-6deg) translateY(2rem);
}

@media (min-width: 768px) {
    .phone-left {
        width: 12rem;
    }
}

.phone-center {
    width: 12rem;
    z-index: 10;
}

@media (min-width: 768px) {
    .phone-center {
        width: 14rem;
    }
}

.phone-right {
    width: 10rem;
    transform: rotate(6deg) translateY(2rem);
}

@media (min-width: 768px) {
    .phone-right {
        width: 12rem;
    }
}

.phone-bg-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24rem;
    height: 24rem;
    background: rgba(160, 106, 58, 0.2);
    border-radius: 50%;
    filter: blur(48px);
    z-index: -1;
}

/* Tech Specs */
.tech-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: 5rem;
}

@media (min-width: 768px) {
    .tech-specs {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tech-spec {
    padding: var(--space-lg);
    background: rgba(122, 78, 38, 0.5);
    border-radius: var(--radius-2xl);
    text-align: center;
}

.tech-spec-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.tech-spec-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 5rem 0;
    background: var(--primary);
}

@media (min-width: 768px) {
    .testimonials-section {
        padding: 8rem 0;
    }
}

.testimonial-main {
    background: var(--white);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .testimonial-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.testimonial-image {
    position: relative;
    height: 16rem;
}

@media (min-width: 768px) {
    .testimonial-image {
        height: auto;
    }
}

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

.testimonial-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(58, 42, 30, 0.8), transparent);
}

@media (min-width: 768px) {
    .testimonial-image-overlay {
        background: linear-gradient(to right, rgba(58, 42, 30, 0.8), transparent);
    }
}

.testimonial-image-info {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
}

@media (min-width: 768px) {
    .testimonial-image-info {
        display: none;
    }
}

.testimonial-image-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.testimonial-image-info p {
    color: var(--text-light);
}

.testimonial-content {
    padding: var(--space-xl);
}

@media (min-width: 768px) {
    .testimonial-content {
        padding: var(--space-2xl);
    }
}

.testimonial-info {
    display: none;
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .testimonial-info {
        display: block;
    }
}

.testimonial-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-info p {
    color: var(--text-muted);
}

.testimonial-location {
    color: var(--accent);
    font-size: 0.875rem;
}

.quote-icon {
    color: rgba(160, 106, 58, 0.2);
    margin-bottom: var(--space-md);
}

.testimonial-quote {
    font-size: 1.125rem;
    color: var(--primary);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

.testimonial-stats {
    display: flex;
    gap: var(--space-xl);
}

.testimonial-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.testimonial-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Testimonial Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.testimonial-nav-btn {
    position: relative;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 4px solid transparent;
    transition: all var(--transition-slow);
    opacity: 0.6;
}

.testimonial-nav-btn:hover {
    opacity: 1;
}

.testimonial-nav-btn.active {
    border-color: var(--accent);
    transform: scale(1.1);
    opacity: 1;
}

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

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
}

@media (min-width: 768px) {
    .trust-indicators {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-indicator {
    text-align: center;
}

.trust-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
}

.trust-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ===== Why Now Section ===== */
.why-now-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .why-now-section {
        padding: 8rem 0;
    }
}

.why-now-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.why-now-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--white);
    filter: blur(48px);
}

.why-now-bg-circle-1 {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
}

.why-now-bg-circle-2 {
    bottom: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
}

.why-now-grid {
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .why-now-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-now-content {
    position: relative;
}

.why-now-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

.why-now-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.why-now-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(8px);
}

.why-now-feature-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.why-now-feature h3 {
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.why-now-feature p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Why Now Image */
.why-now-image-wrapper {
    position: relative;
}

.why-now-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-2xl);
}

.why-now-stat {
    position: absolute;
    padding: var(--space-lg);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.why-now-stat-bottom {
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--white);
}

.why-now-stat-top {
    top: -1.5rem;
    right: -1.5rem;
    background: var(--primary-dark);
}

.why-now-stat-value {
    font-size: 1.875rem;
    font-weight: 700;
}

.why-now-stat-bottom .why-now-stat-value {
    color: var(--primary);
}

.why-now-stat-top .why-now-stat-value {
    color: var(--accent);
}

.why-now-stat-label {
    font-size: 0.875rem;
}

.why-now-stat-bottom .why-now-stat-label {
    color: var(--text-muted);
}

.why-now-stat-top .why-now-stat-label {
    color: var(--text-light);
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 5rem 0;
    background: #F2E9DD;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 8rem 0;
    }
}

.contact-grid {
    display: grid;
    gap: var(--space-2xl);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-description {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.contact-interests h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.contact-interests ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-interests li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.interest-check {
    width: 1.5rem;
    height: 1.5rem;
    background: var(--accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-interests li span {
    color: var(--text-muted);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.contact-detail-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-detail-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-detail-value {
    font-weight: 500;
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--primary);
    border-radius: var(--radius-3xl);
    padding: var(--space-xl);
}

@media (min-width: 768px) {
    .contact-form-wrapper {
        padding: var(--space-2xl);
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem var(--space-md);
    background: var(--primary-dark);
    border: 1px solid var(--secondary);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(160, 106, 58, 0.3);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.form-error {
    font-size: 0.875rem;
    color: #fca5a5;
}

.form-group textarea {
    resize: none;
}

/* reCAPTCHA Wrapper */
.recaptcha-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
}

.recaptcha-wrapper .g-recaptcha {
    transform: scale(0.9);
    transform-origin: 0 0;
}

@media (min-width: 400px) {
    .recaptcha-wrapper .g-recaptcha {
        transform: scale(1);
    }
}

/* Interest Tags */
.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.interest-tag {
    padding: var(--space-sm) var(--space-md);
    background: var(--primary-dark);
    border: 1px solid var(--secondary);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.interest-tag:hover {
    border-color: var(--accent);
}

.interest-tag.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* Submit Button */
.btn-text {
    display: inline;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spinner-circle {
    opacity: 0.25;
}

.spinner-path {
    opacity: 0.75;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: var(--space-2xl);
}

.success-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto var(--space-lg);
    background: var(--accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.form-success h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.form-success p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    padding: var(--space-3xl) 0;
    background: var(--surface);
}

.newsletter-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

@media (min-width: 768px) {
    .newsletter-card {
        flex-direction: row;
        align-items: center;
        padding: var(--space-3xl);
    }
}

.newsletter-left {
    flex: 1;
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
    .newsletter-title {
        font-size: 1.75rem;
    }
}

.newsletter-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-right {
    flex: 1;
    max-width: 400px;
    width: 100%;
}

@media (min-width: 768px) {
    .newsletter-right {
        max-width: 360px;
    }
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.newsletter-input-wrapper {
    position: relative;
}

.newsletter-input-icon {
    position: absolute;
    left: 1.125rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    width: 20px;
    height: 20px;
}

.newsletter-input {
    width: 100%;
    padding: var(--space-md) var(--space-md) var(--space-md) 3.5rem;
    font-size: 1rem;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    background: var(--white);
    color: var(--primary);
    outline: none;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-input:focus {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.newsletter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--accent);
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 14px rgba(160, 106, 58, 0.4);
}

.newsletter-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(160, 106, 58, 0.5);
}

.newsletter-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.newsletter-btn .btn-arrow {
    transition: transform var(--transition-normal);
}

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.newsletter-btn .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    color: var(--white);
}

.newsletter-success .success-check {
    width: 3.5rem;
    height: 3.5rem;
    background: #22c55e;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.newsletter-success span {
    font-size: 1rem;
    font-weight: 500;
}

.newsletter-success.hidden,
.newsletter-form.hidden {
    display: none;
}

/* ===== Footer ===== */
.footer {
    /* padding-top: var(--space-3xl); */
    padding-bottom: var(--space-xl);
    background: var(--footer-bg);
}

.footer-grid {
    display: grid;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-company {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.footer-logo-icon-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-company p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent);
    color: var(--white);
}

.footer-links h3 {
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-xl);
    /* border-top: 1px solid var(--secondary); */
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--text-light);
    transition: color var(--transition-fast);
}

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

/* ===== Modals ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-3xl);
    padding: var(--space-xl);
    max-width: 56rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.modal-close {
    padding: var(--space-sm);
    border-radius: var(--radius-full);
    color: var(--primary);
    transition: background var(--transition-fast);
}

.modal-close:hover {
    background: var(--background);
}

/* Demo Modal */
.demo-screenshots {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .demo-screenshots {
        grid-template-columns: repeat(3, 1fr);
    }
}

.demo-screenshot {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.demo-screenshot img {
    width: 100%;
    height: auto;
}

.demo-screenshot-info {
    padding: var(--space-md);
    background: var(--background);
}

.demo-screenshot-info h4 {
    font-weight: 700;
    color: var(--primary);
}

.demo-screenshot-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.demo-features {
    background: var(--background);
    border-radius: var(--radius-2xl);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.demo-features h4 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.demo-features-grid {
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .demo-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.demo-feature svg {
    color: var(--accent);
    flex-shrink: 0;
}

.demo-feature span {
    color: var(--primary);
}

/* Auth Modal */
.modal-auth {
    max-width: 28rem;
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.auth-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background);
}

.auth-logo-icon-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

.auth-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.auth-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.auth-header p {
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.auth-form .form-group label {
    color: var(--primary);
}

.auth-form .form-group input {
    background: var(--background);
    border-color: var(--surface);
    color: var(--primary);
}

.auth-form .form-group input::placeholder {
    color: var(--text-muted);
}

.auth-form .form-group input:focus {
    border-color: var(--accent);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--surface);
}

.auth-divider span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem var(--space-md);
    background: var(--background);
    border: 1px solid var(--surface);
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.auth-social-btn:hover {
    background: var(--surface);
}

.auth-toggle {
    text-align: center;
    margin-top: var(--space-lg);
    color: var(--text-muted);
}

.auth-toggle button {
    color: var(--accent);
    font-weight: 600;
    margin-left: var(--space-xs);
}

.auth-toggle button:hover {
    text-decoration: underline;
}

/* ===== 5th Stat Card - Features Card ===== */
.stat-card-features {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    cursor: pointer;
    transition: all var(--transition-slow);
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
}

.stat-card-features:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(160, 106, 58, 0.3);
}

.stat-card-features .stat-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.stat-card-features .stat-value {
    font-size: 1.5rem;
}

.stat-card-features .stat-sublabel {
    margin-top: var(--space-sm);
    opacity: 0.9;
}

.stat-cta-btn {
    display: inline-block;
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.stat-cta-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* ===== Features Modal ===== */
.modal-features {
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
}

.features-modal-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-modal-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--background);
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast);
}

.feature-modal-item:hover {
    background: var(--surface);
}

.feature-modal-item--soon {
    opacity: 0.7;
    position: relative;
}

.feature-modal-item--soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: rgba(160, 106, 58, 0.1);
    padding: 4px 8px;
    border-radius: var(--radius-full);
}

.feature-modal-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.feature-modal-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.feature-modal-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== Features Table (Modern) ===== */
.features-table-wrap {
    margin-top: 32px;
    overflow-x: auto;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

table.features-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.features-table thead th {
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #5C3B20;
    padding: 18px 24px;
    border-bottom: 2px solid #F2E9DD;
    white-space: nowrap;
    background: #FDFCFA;
}

.features-table td {
    padding: 22px 24px;
    border-bottom: 1px solid #F2E9DD;
    vertical-align: middle;
    color: #3A2A1E;
    font-size: 14px;
}

.features-table tr:last-child td {
    border-bottom: none;
}

.features-table tbody tr:hover {
    background: #FDFCFA;
}

.feature-cell {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-cell h3 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: #3A2A1E;
}

.feature-cell p {
    margin: 0;
    color: #7A4E26;
    line-height: 1.5;
    font-size: 13px;
}

.features-table .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #A06A3A 0%, #7A4E26 100%);
    color: var(--white);
    flex: 0 0 auto;
}

.feature-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    background: #E8F5E9;
    color: #2E7D32;
}

.feature-status.soon {
    background: #FFF3E0;
    color: #E65100;
}

/* ===== Sign In Dropdown ===== */
.signin-dropdown {
    position: relative;
}

.signin-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.signin-trigger svg {
    transition: transform var(--transition-fast);
}

.signin-dropdown.active .signin-trigger svg {
    transform: rotate(180deg);
}

.signin-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
}

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

.signin-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--primary);
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
    text-decoration: none;
}

.signin-option:hover {
    background: var(--background);
}

.signin-option svg {
    color: var(--accent);
    flex-shrink: 0;
}

.signin-option span {
    font-size: 14px;
    font-weight: 500;
}

/* ===== TraderPadi Hero (Squad-Style) ===== */
.tp-hero {
    position: relative;
    min-height: 100vh;
    background: var(--white);
    overflow: visible; /* Allow cards to show */
    display: flex;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .tp-hero {
        padding-top: 5rem;
        padding-bottom: 0;
    }
}

/* Prevent horizontal scroll from card overflow */
body {
    overflow-x: hidden;
}

.tp-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(242, 233, 221, 0.3) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

.tp-hero__container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 640px) {
    .tp-hero__container {
        padding: 0 var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .tp-hero__container {
        padding: 0 var(--space-xl);
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

/* Hero Copy (Left Side) */
.tp-hero__copy {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .tp-hero__copy {
        gap: var(--space-xl);
    }
}

.tp-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 16px;
    background: var(--background);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    max-width: 100%;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

@media (min-width: 640px) {
    .tp-badge {
        padding: 10px 18px;
        font-size: 0.75125rem;
        border-radius: var(--radius-full);
    }
}

.tp-badge__dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-green 2s infinite;
}

.tp-hero__copy h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .tp-hero__copy h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .tp-hero__copy h1 {
        font-size: 3.5rem;
    }
}

.tp-accent {
    color: var(--accent);
    display: block;
}

.tp-hero__copy > p {
    font-size: 1.0625rem;
    color: #5a5a5a;
    line-height: 1.7;
    max-width: 480px;
}

@media (min-width: 768px) {
    .tp-hero__copy > p {
        font-size: 1.125rem;
    }
}

/* Hero Buttons */
.tp-hero__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (min-width: 480px) {
    .tp-hero__actions {
        flex-direction: row;
        align-items: center;
    }
}

.tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 16px 32px;
    font-size: 0.77rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    text-decoration: none;
    cursor: pointer;
}

.tp-btn--primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(160, 106, 58, 0.35);
}

.tp-btn--primary:hover {
    background: var(--secondary);
    box-shadow: 0 6px 20px rgba(160, 106, 58, 0.45);
    transform: translateY(-2px);
}

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

.tp-btn--ghost:hover {
    background: var(--primary);
    color: var(--white);
}

/* Trust Indicator */
.tp-hero__trust {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: #6b7280;
}

.tp-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

/* Hero Visual (Right Side) */
.tp-hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    margin-top: var(--space-xl);
    overflow: visible; /* Allow cards to extend outside */
    padding: 0px; /* Space for cards to extend into */
}

@media (min-width: 768px) {
    .tp-hero__visual {
        min-height: 500px;
        margin-top: 0;
        padding: 0px;
    }
}

@media (min-width: 1024px) {
    .tp-hero__visual {
        min-height: 560px;
        padding: 0px;
    }
}

/* Photo Frame - This is the positioning anchor for cards */
.tp-photoFrame {
    position: relative;
    width: 100%;
    max-width: 300px;
    border-radius: var(--radius-3xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    overflow: visible; /* Cards can extend outside */
}

@media (min-width: 768px) {
    .tp-photoFrame {
        max-width: 340px;
    }
}

@media (min-width: 1024px) {
    .tp-photoFrame {
        max-width: 380px;
    }
}

.tp-photoFrame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-3xl);
}

.tp-glow {
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at center, rgba(160, 106, 58, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Floating UI Cards - Positioned relative to photo frame */
.tp-card {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .tp-card {
        padding: 14px 18px;
    }
}

/* Speech bubble - Top right, near trader's head */
.tp-card--top {
    top: 5%;
    right: -20px;
    animation: none;
    white-space: normal;
    width: 140px;
}

@media (min-width: 768px) {
    .tp-card--top {
        top: 8%;
        right: -40px;
        width: 160px;
    }
}

@media (min-width: 1024px) {
    .tp-card--top {
        top: 5%;
        right: -60px;
        width: 180px;
    }
}

/* Credit Card - Left side, upper area */
.tp-card--mid {
    left: -20px;
    top: 22%;
    animation-delay: 1s;
}

@media (min-width: 768px) {
    .tp-card--mid {
        left: -40px;
        top: 20%;
    }
}

@media (min-width: 1024px) {
    .tp-card--mid {
        left: -60px;
        top: 18%;
    }
}

/* New Sale Card - Bottom right */
.tp-card--bottom {
    bottom: 12%;
    right: -20px;
    animation-delay: 2s;
}

@media (min-width: 768px) {
    .tp-card--bottom {
        bottom: 15%;
        right: -40px;
    }
}

@media (min-width: 1024px) {
    .tp-card--bottom {
        bottom: 18%;
        right: -60px;
    }
}

/* Today Sales Card - Bottom left */
.tp-card--bottom-left {
    bottom: 5%;
    left: -20px;
    animation-delay: 3s;
}

@media (min-width: 768px) {
    .tp-card--bottom-left {
        bottom: 8%;
        left: -40px;
    }
}

@media (min-width: 1024px) {
    .tp-card--bottom-left {
        bottom: 10%;
        left: -60px;
    }
}

/* Speech bubble style */
.tp-card--speech {
    background: var(--primary);
    color: var(--white);
    position: relative;
}

.tp-card--speech::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: var(--primary);
    border-left: 0;
}

.tp-card__quote {
    font-size: 0.75rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    color: var(--white);
}

@media (min-width: 768px) {
    .tp-card__quote {
        font-size: 0.8125rem;
    }
}

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

/* Card Typography */
.tp-card__title {
    font-size: 0.625rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

@media (min-width: 768px) {
    .tp-card__title {
        font-size: 0.6875rem;
    }
}

.tp-card__big {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .tp-card__big {
        font-size: 1.375rem;
    }
}

.tp-card__sub {
    font-size: 0.6875rem;
    color: #6b7280;
    margin-top: 2px;
}

@media (min-width: 768px) {
    .tp-card__sub {
        font-size: 0.75rem;
    }
}

/* Card Row Layout */
.tp-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp-row--muted {
    margin-top: 4px;
    font-size: 0.625rem;
    color: #9ca3af;
    gap: 12px;
}

@media (min-width: 768px) {
    .tp-row--muted {
        font-size: 0.6875rem;
    }
}

/* Pill Badge */
.tp-pill {
    display: inline-flex;
    padding: 2px 6px;
    background: #fef3c7;
    color: #d97706;
    font-size: 0.5625rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (min-width: 768px) {
    .tp-pill {
        padding: 3px 8px;
        font-size: 0.625rem;
    }
}

.tp-kpi {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
}

@media (min-width: 768px) {
    .tp-kpi {
        font-size: 0.9375rem;
    }
}

/* Green accent for positive values */
.tp-green {
    color: #16a34a;
}

/* Avatar */
.tp-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .tp-avatar {
        width: 40px;
        height: 40px;
    }
}

/* Green positive amount */
.tp-green {
    color: #16a34a !important;
}

.tp-photoFrame{
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 380px;
  isolation: isolate; /* prevents weird z-index issues */
}

.tp-photoFrame img{
  display:block;
  width:100%;
  height:auto;
  border-radius: var(--radius-3xl);
  position: relative;
  z-index: 1;
}

.tp-glow{
  z-index: 0;
}

.tp-card{
  position: absolute;
  z-index: 3;
}

/* one responsive “push-out” value instead of -30, -50, -70 */
.tp-photoFrame{
  --push: clamp(10px, 2.2vw, 28px);
  --cardW: clamp(150px, 18vw, 210px);
}

/* Speech bubble: top-right near face */
.tp-card--top{
  top: 10%;
  left: 82%;
  width: var(--cardW);
  transform: translate(calc(var(--push)), 0);
}

/* Credit: left side upper-mid */
.tp-card--mid{
  top: 26%;
  left: 0%;
  width: var(--cardW);
  transform: translate(calc(-1 * var(--push)), 0);
}

/* New sale: bottom-right */
.tp-card--bottom{
  top: 72%;
  left: 80%;
  width: var(--cardW);
  transform: translate(calc(var(--push)), -50%);
}

/* Today: bottom-left */
.tp-card--bottom-left{
  top: 88%;
  left: 0%;
  width: var(--cardW);
  transform: translate(calc(-1 * var(--push)), -50%);
}
.tp-card{
  --x: 0px;
  --y: 0px;
  transform: translate(var(--x), var(--y));
}
.tp-card--top{ top:10%; left:82%; --x: var(--push); --y: 0px; }
.tp-card--mid{ top:26%; left:0%;  --x: calc(-1 * var(--push)); --y: 0px; }
.tp-card--bottom{ top:72%; left:80%; --x: var(--push); --y: -50%; }
.tp-card--bottom-left{ top:88%; left:0%; --x: calc(-1 * var(--push)); --y: -50%; }
.tp-card{ animation: none; }
.tp-photoStage{
  position: relative;
  padding: 70px 90px; /* space for cards on all sides */
  overflow: visible;
}

/* reduce padding on small screens so it does not look weird */
@media (max-width: 640px){
  .tp-photoStage{ padding: 40px 28px; }
}
.tp-photoFrame{
  position: relative;
  width: 100%;
  max-width: 380px;
  overflow: visible;
}

.tp-card{
  position: absolute;
  z-index: 10;
  max-width: 220px;
  transform: translate(0,0);
}

/* Speech bubble */
.tp-card--top{
  top: 10%;
  left: 78%;
  transform: translate(0, -50%);
  max-width: 210px;
}

/* Credit */
.tp-card--mid{
  top: 33%;
  left: 0%;
  transform: translate(-35%, -50%);
  min-width: 190px;
}

/* New sale */
.tp-card--bottom{
  top: 78%;
  left: 82%;
  transform: translate(0, -50%);
  min-width: 210px;
  height: 85px;
}

/* Today */
.tp-card--bottom-left{
  top: 86%;
  left: 6%;
  transform: translate(-25%, -50%);
  max-width: 190px;
}
.tp-hero__visual{
  padding-right: 60px;
  padding-left: 20px;
}

@media (max-width: 1024px){
  .tp-hero__visual{
    padding-right: 20px;
    padding-left: 20px;
  }
}
.tp-card{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}
.tp-card--speech{
  background: var(--primary);
  color: var(--white);
}
.tp-card--bottom-left{
  padding: 12px 16px;
  height: 80px;
}

/* ===== Contact Modal ===== */
.modal-contact {
  max-width: 600px;
}

.contact-modal-content {
  padding-top: var(--space-md);
}

/* Single column form in modal */
.modal-contact .contact-form {
  background: transparent;
  padding: 0;
}

.modal-contact .form-row {
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.modal-contact .form-group label {
  color: var(--primary);
}

.modal-contact .form-group input,
.modal-contact .form-group textarea {
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--primary);
}

.modal-contact .form-group input::placeholder,
.modal-contact .form-group textarea::placeholder {
  color: var(--text-muted);
}

.modal-contact .form-group input:focus,
.modal-contact .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(160, 106, 58, 0.1);
}

.modal-contact .form-error {
  color: #ef4444;
}

.modal-contact .form-success {
  text-align: center;
  padding: var(--space-2xl);
}

.modal-contact .success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.modal-contact .form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.modal-contact .form-success p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}
