/* ==========================================================================
   GASTEI Landing Page Styles
   Based on Brand Guidelines v1.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables (Brand Colors & Typography)
   -------------------------------------------------------------------------- */
:root {
    /* Primary Colors */
    --verde-menta: #3ECFB2;
    --verde-menta-light: #8AE4D2;
    --verde-menta-dark: #2BA88E;
    --azul-noite: #1E2A38;

    /* Neutrals */
    --branco: #FFFFFF;
    --cinza-neve: #F5F7F9;
    --cinza-medio: #6B7280;
    --cinza-escuro: #374151;

    /* Dark Mode Text (for dark backgrounds) */
    --texto-claro-primario: #E8EAED;      /* Body text - high readability */
    --texto-claro-secundario: #D1D5DB;    /* Secondary text */
    --texto-claro-terciario: #9CA3AF;     /* Tertiary/muted text */

    /* Feedback Colors */
    --sucesso: #10B981;
    --atencao: #F59E0B;
    --erro: #EF4444;
    --info: #3B82F6;

    /* Typography */
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--azul-noite);
    background-color: var(--branco);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--azul-noite);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
}

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

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

h4 {
    font-size: 1.125rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--space-md);
    color: var(--cinza-escuro);
}

.highlight {
    color: var(--verde-menta);
}

.highlight-light {
    color: var(--verde-menta-light);
}

.highlight-subtle {
    position: relative;
}

.highlight-subtle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background-color: rgba(62, 207, 178, 0.3);
    z-index: -1;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

section {
    padding: var(--space-4xl) 0;
}

/* --------------------------------------------------------------------------
   Components: Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--verde-menta);
    color: var(--azul-noite);
}

.btn-primary:hover {
    background-color: var(--verde-menta-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--verde-menta);
    border-color: var(--verde-menta);
}

.btn-secondary:hover {
    background-color: var(--verde-menta);
    color: var(--azul-noite);
}

.btn-white {
    background-color: var(--branco);
    color: var(--azul-noite);
}

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

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Components: Section Tags
   -------------------------------------------------------------------------- */
.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background-color: rgba(62, 207, 178, 0.1);
    color: var(--verde-menta-dark);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--cinza-medio);
    max-width: 600px;
    margin-bottom: var(--space-2xl);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cinza-neve);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--verde-menta);
    letter-spacing: -0.02em;
}

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

.nav a {
    font-size: 0.9375rem;
    color: var(--cinza-escuro);
    position: relative;
    padding-bottom: 4px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--verde-menta);
    transition: width var(--transition-fast);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    padding-top: calc(72px + var(--space-4xl));
    padding-bottom: var(--space-4xl);
    background: linear-gradient(180deg, var(--cinza-neve) 0%, var(--branco) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content h1 {
    margin-bottom: var(--space-lg);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--cinza-medio);
    margin-bottom: var(--space-xl);
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

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

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--azul-noite);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--cinza-medio);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 400px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   iPhone Mockup Component
   -------------------------------------------------------------------------- */
.iphone-mockup {
    width: 280px;
    perspective: 1000px;
    position: relative;
}

.iphone-mockup::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.iphone-frame {
    position: relative;
    background: linear-gradient(145deg, #3a3a3a 0%, #1a1a1a 30%, #2a2a2a 70%, #1a1a1a 100%);
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.1),
        0 30px 60px -15px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255,255,255,0.1);
    transform: rotateY(-2deg) rotateX(2deg);
    transform-style: preserve-3d;
}

.iphone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.iphone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #2D2D2D;
    border-radius: 50%;
}

.iphone-screen {
    background: #F5F7F9;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 9 / 19.5;
    display: flex;
    flex-direction: column;
}

/* App Status Bar */
.app-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px 8px;
    background: white;
    flex-shrink: 0;
}

.status-time {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-signal,
.status-wifi,
.status-battery {
    height: 11px;
    color: #1a1a1a;
}

.status-signal { width: 17px; }
.status-wifi { width: 14px; }
.status-battery { width: 25px; }

/* App Header */
.app-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 16px 8px;
    background: white;
    flex-shrink: 0;
}

.app-logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--verde-menta);
    letter-spacing: -0.02em;
}

.app-avatar {
    width: 28px;
    height: 28px;
    background: #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-avatar svg {
    width: 16px;
    height: 16px;
    color: #9CA3AF;
}

/* App Content */
.app-content {
    padding: 12px 16px;
    background: white;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.app-greeting {
    font-size: 20px;
    font-weight: 600;
    color: #1E2A38;
    margin-bottom: 8px;
}

.app-streak-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--verde-menta);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.streak-icon {
    font-size: 11px;
}

/* Summary Card */
.app-summary-card {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.summary-title {
    font-size: 11px;
    color: #6B7280;
    margin-bottom: 4px;
}

.summary-amount {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: #1E2A38;
    margin-bottom: 4px;
}

.summary-comparison {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #10B981;
}

.comparison-arrow {
    font-weight: bold;
}

/* Chart Section */
.app-chart-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.chart-donut {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.chart-donut svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #6B7280;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Consciência Section */
.app-consciencia-section {
    margin-top: 12px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #F0FDF9 0%, #ECFDF5 100%);
    border-radius: 10px;
    border: 1px solid rgba(62, 207, 178, 0.2);
}

.consciencia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.consciencia-title {
    font-size: 11px;
    font-weight: 600;
    color: #1E2A38;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.consciencia-ratio {
    font-size: 11px;
    font-weight: 500;
    color: #3ECFB2;
}

.consciencia-bar {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: #E5E7EB;
}

.consciencia-fill {
    height: 100%;
    transition: width 0.5s ease;
}

.consciencia-fill--valeu {
    background: linear-gradient(90deg, #3ECFB2 0%, #10B981 100%);
}

.consciencia-fill--nao {
    background: linear-gradient(90deg, #F87171 0%, #EF4444 100%);
}

.consciencia-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
}

.consciencia-label {
    font-size: 9px;
    font-weight: 500;
}

.consciencia-label--valeu {
    color: #10B981;
}

.consciencia-label--nao {
    color: #EF4444;
}

/* Transaction with valeu/nao indicator */
.transaction-row--valeu {
    border-left: 3px solid #10B981;
}

.transaction-row--nao {
    border-left: 3px solid #EF4444;
    opacity: 0.7;
}

.transaction-category {
    font-size: 10px;
    color: #6B7280;
    margin-left: 8px;
}

/* Today Section */
.app-today-section {
    margin-top: 8px;
}

.today-title {
    font-size: 12px;
    font-weight: 600;
    color: #1E2A38;
    margin-bottom: 8px;
}

.today-transactions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.transaction-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: #F9FAFB;
    border-radius: 8px;
}

.transaction-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.transaction-name {
    font-size: 12px;
    font-weight: 500;
    color: #1E2A38;
    flex: 1;
    margin-left: 8px;
}

.transaction-amount {
    font-size: 12px;
    font-weight: 600;
    color: #1E2A38;
}

/* Bottom Navigation */
.app-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 8px 2px;
    background: #FAFAFA;
    border-top: 1px solid #E5E7EB;
    flex-shrink: 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #8E8E93;
    padding: 4px 12px;
}

.nav-item svg {
    width: 22px;
    height: 22px;
}

.nav-item span {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nav-item.active {
    color: var(--verde-menta);
}

.nav-item.active svg {
    fill: var(--verde-menta);
    stroke: var(--verde-menta);
}

/* Clickable nav items in interactive demo */
#demoBottomNav .nav-item {
    cursor: pointer;
    transition: opacity 0.2s ease, color 0.2s ease;
}

#demoBottomNav .nav-item:hover:not(.nav-disabled) {
    opacity: 0.7;
}

/* Disabled nav items during tutorial */
#demoBottomNav .nav-item.nav-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* Home Indicator */
.app-home-indicator {
    width: 100px;
    height: 4px;
    background: #1a1a1a;
    border-radius: 2px;
    margin: 6px auto 8px;
    flex-shrink: 0;
}

/* Small iPhone Mockup Variant */
.iphone-mockup--small {
    width: 220px;
    margin: 0 auto var(--space-lg);
}

/* Interactive Demo Mockup - Larger */
.iphone-mockup--interactive.iphone-mockup--small {
    width: 280px;
    margin: 0;
}

.iphone-mockup--small::before {
    width: 160px;
    height: 30px;
    bottom: -20px;
}

.iphone-mockup--small .iphone-frame {
    border-radius: 36px;
    padding: 10px;
    transform: none;
}

.iphone-mockup--small .iphone-notch {
    top: 10px;
    width: 70px;
    height: 20px;
    border-radius: 0 0 12px 12px;
}

.iphone-mockup--small .iphone-notch::before {
    top: 6px;
    width: 6px;
    height: 6px;
}

.iphone-mockup--small .iphone-screen {
    border-radius: 28px;
}

.iphone-mockup--small .app-status-bar {
    padding: 12px 18px 6px;
}

.iphone-mockup--small .status-time {
    font-size: 12px;
}

.iphone-mockup--small .status-signal { width: 14px; }
.iphone-mockup--small .status-wifi { width: 12px; }
.iphone-mockup--small .status-battery { width: 20px; }

.iphone-mockup--small .status-icons {
    gap: 4px;
}

.iphone-mockup--small .app-header {
    padding: 2px 12px 6px;
}

.iphone-mockup--small .app-logo {
    font-size: 16px;
}

.iphone-mockup--small .app-content {
    padding: 8px 12px;
    text-align: left;
}

.iphone-mockup--small .app-greeting {
    font-size: 13px;
}

.iphone-mockup--small .app-streak-badge {
    padding: 3px 8px;
    font-size: 10px;
}

.iphone-mockup--small .streak-icon {
    font-size: 10px;
}

.iphone-mockup--small .streak-text {
    font-size: 9px;
}

.iphone-mockup--small .app-summary-card {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.iphone-mockup--small .summary-title {
    font-size: 9px;
}

.iphone-mockup--small .summary-amount {
    font-size: 18px;
}

.iphone-mockup--small .summary-comparison {
    font-size: 9px;
}

.iphone-mockup--small .chart-donut {
    width: 50px;
    height: 50px;
}

.iphone-mockup--small .legend-item {
    font-size: 8px;
    gap: 4px;
}

.iphone-mockup--small .legend-dot {
    width: 6px;
    height: 6px;
}

.iphone-mockup--small .today-title {
    font-size: 10px;
    margin-bottom: 6px;
}

.iphone-mockup--small .transaction-row {
    padding: 6px 8px;
    border-radius: 6px;
}

.iphone-mockup--small .transaction-dot {
    width: 6px;
    height: 6px;
}

.iphone-mockup--small .transaction-name {
    font-size: 10px;
    margin-left: 6px;
}

.iphone-mockup--small .transaction-amount {
    font-size: 10px;
}

.iphone-mockup--small .app-bottom-nav {
    padding: 4px 6px 2px;
}

.iphone-mockup--small .nav-item {
    padding: 3px 8px;
}

.iphone-mockup--small .nav-item svg {
    width: 18px;
    height: 18px;
}

.iphone-mockup--small .nav-item span {
    font-size: 8px;
}

.iphone-mockup--small .app-home-indicator {
    width: 80px;
    height: 3px;
    margin: 4px auto 6px;
}

/* Swipe Screen Styles */
.swipe-screen-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-height: 0;
    justify-content: space-between;
}

.swipe-progress {
    width: 100%;
    flex-shrink: 0;
}

.swipe-progress-text {
    font-size: 11px;
    color: #6B7280;
    display: block;
    margin-bottom: 6px;
    text-align: center;
}

.swipe-progress-bar {
    width: 100%;
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    overflow: hidden;
}

.swipe-progress-fill {
    height: 100%;
    background: var(--verde-menta);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.swipe-screen-content .swipe-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    width: 100%;
    max-width: 180px;
}

.swipe-screen-content .swipe-card-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.swipe-screen-content .swipe-card-merchant {
    font-size: 16px;
    font-weight: 600;
    color: #1E2A38;
    margin-bottom: 4px;
}

.swipe-screen-content .swipe-card-category {
    font-size: 10px;
    color: #6B7280;
    margin-bottom: 12px;
}

.swipe-screen-content .swipe-card-amount {
    font-size: 20px;
    font-weight: 700;
    color: #1E2A38;
}

.swipe-screen-content .swipe-card-comment {
    display: none;
    font-size: 11px;
    color: #6B7280;
    background: #F3F4F6;
    padding: 6px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-style: italic;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
}

.swipe-screen-content .swipe-card-comment.has-comment {
    display: block;
}

.swipe-screen-content .swipe-card-comment.has-comment::before {
    content: '💬 ';
    font-style: normal;
}

/* Action Buttons - Inside mockup */
.swipe-action-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 4px;
    flex-shrink: 0;
    margin-top: 12px;
    gap: 8px;
    visibility: visible !important;
    opacity: 1 !important;
}

.swipe-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.3s ease;
    flex: 1;
}

.swipe-action-btn:hover:not(.inactive) {
    transform: scale(1.03);
}

.swipe-action-btn:active:not(.inactive) {
    transform: scale(0.97);
}

/* Inactive state - dimmed but same size */
.swipe-action-btn.inactive {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.swipe-action-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.swipe-action-btn--left {
    background: rgba(239, 68, 68, 0.1);
    color: var(--erro);
}

.swipe-action-btn--left:hover:not(.inactive) {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.swipe-action-btn--right {
    background: rgba(16, 185, 129, 0.1);
    color: var(--sucesso);
}

.swipe-action-btn--right:hover:not(.inactive) {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* Animation for first appearance */
.swipe-action-btn.animated:not(.inactive).swipe-action-btn--left {
    animation: action-btn-pulse-left 1.5s ease-in-out infinite;
}

.swipe-action-btn.animated:not(.inactive).swipe-action-btn--right {
    animation: action-btn-pulse-right 1.5s ease-in-out infinite;
}

@keyframes action-btn-pulse-left {
    0%, 100% {
        transform: translateX(0);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: translateX(-4px);
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.6);
    }
}

@keyframes action-btn-pulse-right {
    0%, 100% {
        transform: translateX(0);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: translateX(4px);
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6);
    }
}

/* Enhanced button styles when animated (tutorial highlight) */
.swipe-action-btn.animated:not(.inactive).swipe-action-btn--left {
    background: rgba(239, 68, 68, 0.95);
    color: #fff;
}

.swipe-action-btn.animated:not(.inactive).swipe-action-btn--right {
    background: rgba(16, 185, 129, 0.95);
    color: #fff;
}

.swipe-secondary-btn.animated:not(.inactive).swipe-secondary-btn--category {
    background: rgba(62, 207, 178, 0.95);
    color: #1E2A38;
}

.swipe-secondary-btn.animated:not(.inactive).swipe-secondary-btn--comment {
    background: rgba(59, 130, 246, 0.95);
    color: #fff;
}

/* Top Button Container - Comment (above card) */
.swipe-top-button {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 4px;
    flex-shrink: 0;
    margin-bottom: 8px;
}

/* Bottom Button Container - Category (below card) */
.swipe-bottom-button {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 4px;
    flex-shrink: 0;
    margin-top: 8px;
}

.swipe-secondary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.3s ease;
    width: 100%;
}

.swipe-secondary-btn:hover:not(.inactive) {
    transform: scale(1.03);
}

.swipe-secondary-btn:active:not(.inactive) {
    transform: scale(0.97);
}

/* Inactive state - dimmed but same size */
.swipe-secondary-btn.inactive {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.swipe-secondary-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.swipe-secondary-btn--category {
    background: rgba(62, 207, 178, 0.1);
    color: var(--verde-menta);
}

.swipe-secondary-btn--category:hover:not(.inactive) {
    box-shadow: 0 4px 12px rgba(62, 207, 178, 0.25);
}

.swipe-secondary-btn--comment {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.swipe-secondary-btn--comment:hover:not(.inactive) {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Animation for first appearance */
.swipe-secondary-btn.animated:not(.inactive).swipe-secondary-btn--category {
    animation: secondary-btn-pulse-down 1.5s ease-in-out infinite;
}

.swipe-secondary-btn.animated:not(.inactive).swipe-secondary-btn--comment {
    animation: secondary-btn-pulse-tap 1.5s ease-in-out infinite;
}

@keyframes secondary-btn-pulse-down {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 12px rgba(62, 207, 178, 0.4);
    }
    50% {
        transform: translateY(4px) scale(1.03);
        box-shadow: 0 6px 24px rgba(62, 207, 178, 0.7);
    }
}

@keyframes secondary-btn-pulse-tap {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.6);
    }
}

/* Small mockup top/bottom button adjustments */
.iphone-mockup--small .swipe-top-button {
    margin-bottom: 6px;
    padding: 0 2px;
}

.iphone-mockup--small .swipe-bottom-button {
    margin-top: 6px;
    padding: 0 2px;
}

.iphone-mockup--small .swipe-secondary-btn {
    padding: 8px 12px;
    font-size: 9px;
    border-radius: 16px;
    gap: 4px;
}

.iphone-mockup--small .swipe-secondary-btn svg {
    width: 12px;
    height: 12px;
}

/* Small mockup swipe adjustments */
.iphone-mockup--small .swipe-screen-content {
    padding: 8px 10px;
}

.iphone-mockup--small .swipe-progress {
    margin-bottom: 12px;
}

.iphone-mockup--small .swipe-progress-text {
    font-size: 9px;
    margin-bottom: 4px;
}

.iphone-mockup--small .swipe-progress-bar {
    height: 3px;
}

.iphone-mockup--small .swipe-screen-content .swipe-card {
    padding: 16px 20px;
    border-radius: 12px;
    max-width: 85%;
    width: 85%;
}

.iphone-mockup--small .swipe-screen-content .swipe-card-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.iphone-mockup--small .swipe-screen-content .swipe-card-merchant {
    font-size: 13px;
    margin-bottom: 2px;
}

.iphone-mockup--small .swipe-screen-content .swipe-card-category {
    font-size: 8px;
    margin-bottom: 8px;
}

.iphone-mockup--small .swipe-screen-content .swipe-card-amount {
    font-size: 16px;
}

/* Action buttons for small mockup */
.iphone-mockup--small .swipe-action-buttons {
    margin-top: 8px;
    padding: 0 2px;
    gap: 6px;
}

.iphone-mockup--small .swipe-action-btn {
    padding: 8px 12px;
    font-size: 9px;
    border-radius: 16px;
    gap: 4px;
}

.iphone-mockup--small .swipe-action-btn svg {
    width: 12px;
    height: 12px;
}

/* Quote section mockup override */
.iphone-mockup--quote {
    width: 200px;
}

.iphone-mockup--quote::before {
    display: none;
}

.iphone-mockup--quote .iphone-frame {
    transform: none;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.2),
        0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   Problem Section
   -------------------------------------------------------------------------- */
.problem {
    background-color: var(--azul-noite);
    color: var(--branco);
}

.problem-centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.problem h2 {
    color: var(--branco);
    margin-bottom: var(--space-2xl);
}

.problem-items {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.problem-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    width: 200px;
    transition: all var(--transition-normal);
    text-align: center;
    box-sizing: border-box;
}

.problem-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.problem-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(62, 207, 178, 0.2);
    border-radius: 50%;
    margin: 0;
}

.problem-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--verde-menta);
    display: block;
}

.problem-item span {
    color: var(--texto-claro-primario);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    width: 100%;
    min-height: 44px; /* fixed height for 2 lines */
}

.problem-conclusion {
    color: var(--texto-claro-primario);
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
}

.problem-conclusion strong {
    color: var(--branco);
    font-weight: 600;
    display: block;
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

/* --------------------------------------------------------------------------
   How It Works Section
   -------------------------------------------------------------------------- */
.how-it-works {
    text-align: center;
    background-color: var(--cinza-neve);
}

.how-it-works h2 {
    margin-bottom: var(--space-md);
}

.how-it-works .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.swipe-demo {
    max-width: 400px;
    margin: 0 auto var(--space-3xl);
}

.swipe-demo .swipe-card {
    background-color: var(--branco);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    max-width: none;
    width: 100%;
    text-align: left;
    overflow: hidden;
}

.swipe-demo .swipe-card-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 0;
}

.swipe-demo .swipe-info {
    flex: 1;
    min-width: 0;
}

.swipe-demo .swipe-amount {
    flex-shrink: 0;
}

@keyframes swipe-hint {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(10px) rotate(1deg); }
    75% { transform: translateX(-10px) rotate(-1deg); }
}

.swipe-card-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.swipe-merchant-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cinza-neve);
    border-radius: var(--radius-md);
    color: var(--verde-menta);
}

.swipe-merchant-icon.ifood-icon {
    background-color: #EA1D2C;
    color: var(--branco);
    border-radius: var(--radius-sm);
}

.swipe-merchant-icon.ifood-icon span {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.swipe-merchant-icon svg {
    width: 24px;
    height: 24px;
}

.swipe-info {
    flex: 1;
    text-align: left;
}

.swipe-info h4 {
    margin-bottom: var(--space-xs);
}

.swipe-category {
    font-size: 0.875rem;
    color: var(--cinza-medio);
}

.swipe-amount {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: #EA1D2C;
}

.swipe-divider {
    height: 1px;
    background-color: var(--cinza-neve);
    margin: var(--space-md) 0;
}

.swipe-hints {
    display: flex;
    justify-content: space-between;
}

.hint-left {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--erro);
    font-size: 0.875rem;
    font-weight: 500;
}

.hint-right {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--sucesso);
    font-size: 0.875rem;
    font-weight: 500;
}

.hint-left svg,
.hint-right svg {
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Interactive Swipe Demo
   -------------------------------------------------------------------------- */
.swipe-demo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: var(--space-md) auto;
    max-width: 900px;
    position: relative;
}

.swipe-demo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swipe-instruction {
    text-align: center;
    color: var(--cinza-medio);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

/* Tutorial Cards - Floating with overlap */
.tutorial-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
    user-select: none;
}

.tutorial-card.active {
    opacity: 1;
    visibility: visible;
}

.tutorial-card:hover .tutorial-card-arrow {
    transform: scale(1.1);
}

.tutorial-card:active .tutorial-card-arrow {
    transform: scale(0.95);
}

.tutorial-card-arrow {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: var(--space-xs);
    transition: transform 0.15s ease;
}

.tutorial-card-arrow svg {
    color: var(--verde-menta);
    width: 24px;
    height: 24px;
}

.tutorial-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--cinza-escuro);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    background: white;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tutorial-card-desc {
    font-size: 0.65rem;
    color: var(--cinza-medio);
    margin: 0;
    line-height: 1.3;
    max-width: 100px;
}

/* Tutorial Card Positions - Overlap mockup */
.tutorial-card--left {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.tutorial-card--right {
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.tutorial-card--top {
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
}

.tutorial-card--bottom {
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
}

/* Tutorial Card Colors */
.tutorial-card--left .tutorial-card-arrow svg {
    color: var(--erro);
}

.tutorial-card--right .tutorial-card-arrow svg {
    color: var(--sucesso);
}

.tutorial-card--top .tutorial-card-arrow svg {
    color: var(--verde-menta);
}

.tutorial-card--bottom .tutorial-card-arrow svg {
    color: var(--verde-menta);
}

/* Tutorial Card Animations */
.tutorial-card--left .tutorial-card-arrow {
    animation: arrow-move-left 1.5s ease-in-out infinite;
}

.tutorial-card--right .tutorial-card-arrow {
    animation: arrow-move-right 1.5s ease-in-out infinite;
}

.tutorial-card--top .tutorial-card-arrow {
    animation: arrow-move-up 1.5s ease-in-out infinite;
}

.tutorial-card--bottom .tutorial-card-arrow {
    animation: arrow-pulse-tap 1.5s ease-in-out infinite;
}

@keyframes arrow-move-left {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-8px); }
}

@keyframes arrow-move-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

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

@keyframes arrow-pulse-tap {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Category Selector Overlay */
.category-selector {
    position: absolute;
    bottom: 56px; /* Above the bottom nav */
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 20;
    max-height: calc(100% - 100px); /* Leave space for top bar */
    overflow-y: auto;
}

.category-selector.show {
    display: flex;
    flex-direction: column;
    animation: bottom-sheet-up 0.3s ease;
}

@keyframes bottom-sheet-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.category-selector-handle {
    width: 36px;
    height: 4px;
    background: #E0E0E0;
    border-radius: 2px;
    margin: 10px auto 6px;
    flex-shrink: 0;
}

.category-selector-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--texto-escuro, #1E2A38);
    margin: 0 0 12px 0;
    text-align: center;
    padding: 0 16px;
}

.category-options {
    display: flex;
    flex-direction: column;
    padding: 0 12px 16px;
    gap: 4px;
    max-height: 280px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for category options */
.category-options::-webkit-scrollbar {
    width: 4px;
}

.category-options::-webkit-scrollbar-track {
    background: transparent;
}

.category-options::-webkit-scrollbar-thumb {
    background: #E0E0E0;
    border-radius: 2px;
}

.category-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    color: var(--texto-escuro, #1E2A38);
    position: relative;
    flex-shrink: 0;
}

.category-option:hover {
    background: var(--cinza-neve);
}

.category-option.selected {
    background: rgba(62, 207, 178, 0.15);
    border: 2px solid var(--verde-menta);
}

.category-option.selected::after {
    content: '✓';
    position: absolute;
    right: 16px;
    color: var(--verde-menta);
    font-weight: 700;
    font-size: 1rem;
}

.category-emoji {
    font-size: 1.25rem;
}

/* Comment Input Overlay */
.comment-input-overlay {
    position: absolute;
    bottom: 56px; /* Above the bottom nav */
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 20;
}

.comment-input-overlay.show {
    display: flex;
    flex-direction: column;
    animation: bottom-sheet-up 0.3s ease;
}

.comment-input-handle {
    width: 36px;
    height: 4px;
    background: #E0E0E0;
    border-radius: 2px;
    margin: 10px auto 6px;
    flex-shrink: 0;
}

.comment-input-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--texto-escuro, #1E2A38);
    margin: 0 0 12px 0;
    text-align: center;
    padding: 0 16px;
}

.comment-input-content {
    padding: 0 16px 16px;
}

.comment-textarea {
    width: 100%;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    resize: none;
    height: 100px;
    margin-bottom: 12px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.comment-textarea::placeholder {
    color: #9CA3AF;
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--verde-menta);
}

.comment-send-btn {
    width: 100%;
    background: var(--verde-menta);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-send-btn:hover {
    background: var(--verde-menta-dark);
}

@keyframes slide-up {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Cards Container */
.swipe-cards-container {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swipe-cards-container .swipe-card {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.swipe-cards-container .swipe-card.swipe-card--active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Card Exit Animations */
.swipe-card.swipe-exit-left {
    animation: swipe-out-left 0.4s ease-out forwards;
}

.swipe-card.swipe-exit-right {
    animation: swipe-out-right 0.4s ease-out forwards;
}

.swipe-card.swipe-exit-up {
    animation: swipe-out-up 0.4s ease-out forwards;
}

.swipe-card.swipe-tap-feedback {
    animation: tap-feedback 0.3s ease-out;
}

@keyframes swipe-out-left {
    0% { transform: translateX(0) rotate(0); opacity: 1; }
    100% { transform: translateX(-150%) rotate(-15deg); opacity: 0; }
}

@keyframes swipe-out-right {
    0% { transform: translateX(0) rotate(0); opacity: 1; }
    100% { transform: translateX(150%) rotate(15deg); opacity: 0; }
}

@keyframes swipe-out-up {
    0% { transform: translateX(0) translateY(0); opacity: 1; }
    100% { transform: translateX(0) translateY(-100%); opacity: 0; }
}

@keyframes tap-feedback {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
    100% { transform: scale(1); }
}

/* Card Enter Animation */
.swipe-card.swipe-enter {
    animation: swipe-enter 0.3s ease-out forwards;
}

@keyframes swipe-enter {
    0% { transform: translateX(0) scale(0.9); opacity: 0; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}

/* Draggable Card Cursor */
.swipe-cards-container {
    cursor: grab;
}

.swipe-cards-container:active {
    cursor: grabbing;
}

.swipe-card {
    transition: transform 0.3s ease-out;
}

/* Feedback Overlay */
.swipe-feedback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.swipe-feedback.show {
    animation: feedback-show 0.8s ease-out forwards;
}

.swipe-feedback.feedback-left {
    background-color: var(--erro);
    color: white;
}

.swipe-feedback.feedback-right {
    background-color: var(--sucesso);
    color: white;
}

.swipe-feedback.feedback-up {
    background-color: var(--verde-menta);
    color: white;
}

.swipe-feedback.feedback-tap {
    background-color: var(--alerta);
    color: var(--cinza-escuro);
}

@keyframes feedback-show {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

/* Summary Card */
.swipe-card--summary {
    text-align: center;
}

.summary-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.summary-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--cinza-escuro);
    margin-bottom: var(--space-md);
}

.summary-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-md);
}

.summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-value--green {
    color: var(--sucesso);
}

.stat-value--red {
    color: var(--erro);
}

.stat-label {
    font-size: 0.625rem;
    color: var(--cinza-medio);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-total {
    font-size: 0.875rem;
    color: var(--cinza-medio);
    margin-bottom: var(--space-md);
}

.summary-restart {
    background-color: var(--verde-menta);
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.summary-restart:hover {
    background-color: var(--verde-menta-dark);
    transform: scale(1.05);
}

/* Summary card in small mockup */
.iphone-mockup--small .swipe-card--summary {
    padding: 12px 10px !important;
}

.iphone-mockup--small .summary-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.iphone-mockup--small .summary-title {
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.iphone-mockup--small .summary-stats {
    gap: var(--space-lg);
    margin-bottom: 8px;
}

.iphone-mockup--small .stat-value {
    font-size: 1.2rem;
}

.iphone-mockup--small .stat-label {
    font-size: 0.5rem;
}

.iphone-mockup--small .summary-total {
    font-size: 0.7rem;
    margin-bottom: 8px;
}

.iphone-mockup--small .summary-restart {
    padding: 6px 12px;
    font-size: 0.65rem;
}

/* Mobile Responsive for Tutorial Cards */
@media (max-width: 900px) {
    .swipe-demo-row {
        gap: var(--space-lg);
    }

    .tutorial-card {
        min-width: 100px;
        max-width: 120px;
        padding: var(--space-sm);
    }

    .tutorial-card-arrow {
        width: 40px;
        height: 40px;
    }

    .tutorial-card-arrow svg {
        width: 20px;
        height: 20px;
    }

    .tutorial-card-desc {
        display: none;
    }
}

@media (max-width: 768px) {
    .swipe-demo-wrapper {
        gap: var(--space-md);
    }

    .swipe-demo-row {
        flex-direction: column;
        gap: var(--space-lg);
    }

    /* Reorganize cards in mobile: show as 2x2 grid below mockup */
    .tutorial-card--top,
    .tutorial-card--bottom {
        display: none;
    }

    .tutorial-card--left,
    .tutorial-card--right {
        flex-direction: row;
        gap: var(--space-sm);
        min-width: unset;
        max-width: unset;
    }

    .tutorial-card--left {
        order: 1;
    }

    .iphone-mockup--interactive {
        order: 0;
    }

    .tutorial-card--right {
        order: 2;
    }

    .tutorial-card-arrow {
        margin-bottom: 0;
    }

    .tutorial-card-label {
        margin-bottom: 0;
    }

    /* Show horizontal layout for side cards */
    .swipe-demo-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .swipe-demo-row .iphone-mockup--interactive {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .tutorial-card--left,
    .tutorial-card--right {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .tutorial-card-label {
        font-size: 0.625rem;
    }

    .tutorial-card-arrow svg {
        width: 18px;
        height: 18px;
    }

    /* Scale down interactive mockup to fit mobile screen */
    .iphone-mockup--interactive.iphone-mockup--small {
        transform: scale(0.75);
        transform-origin: top center;
        margin-bottom: -80px;
    }
}

/* --------------------------------------------------------------------------
   Features Section
   -------------------------------------------------------------------------- */
.features {
    text-align: center;
}

.features h2 {
    margin-bottom: var(--space-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    text-align: left;
}

.feature-card {
    padding: var(--space-xl);
    background-color: var(--cinza-neve);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    background-color: rgba(62, 207, 178, 0.1);
    border-radius: var(--radius-md);
    color: var(--verde-menta);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--cinza-medio);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Screenshots Section
   -------------------------------------------------------------------------- */
.screenshots {
    text-align: center;
    background-color: var(--cinza-neve);
}

.screenshots h2 {
    margin-bottom: var(--space-md);
}

.screenshots .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.screenshots-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    max-width: 900px;
    margin: 0 auto;
}

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

.screenshot-item img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-lg);
    transition: transform var(--transition-normal);
}

.screenshot-item:hover img {
    transform: scale(1.02);
}

.screenshot-item .iphone-mockup {
    transition: transform var(--transition-normal);
}

.screenshot-item:hover .iphone-mockup {
    transform: scale(1.02);
}

.screenshot-item h4 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.screenshot-item p {
    font-size: 0.9375rem;
    color: var(--cinza-medio);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Quote Section
   -------------------------------------------------------------------------- */
.quote-section {
    background: linear-gradient(135deg, var(--verde-menta), var(--verde-menta-dark));
    padding: var(--space-3xl) 0;
}

.quote-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-content {
    text-align: center;
    max-width: 700px;
}

.quote-section blockquote {
    margin: 0 0 var(--space-xl);
}

.quote-section blockquote p {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    color: var(--azul-noite);
    font-style: italic;
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

.quote-highlight {
    background-color: rgba(30, 42, 56, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
}

.quote-section cite {
    font-size: 1rem;
    color: var(--azul-noite);
    opacity: 0.7;
    font-style: normal;
}

.quote-response {
    font-size: 1.25rem;
    color: var(--azul-noite);
    margin: 0;
    line-height: 1.6;
}

.quote-response strong {
    display: block;
    font-size: 1.5rem;
    margin-top: var(--space-sm);
}

.quote-visual {
    display: flex;
    justify-content: center;
}

.quote-visual img {
    max-width: 280px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: rotate(3deg);
}

.quote-visual .iphone-mockup {
    transform: rotate(3deg);
    transition: transform var(--transition-normal);
}

.quote-visual .iphone-mockup:hover {
    transform: rotate(0deg);
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about h2 {
    margin-bottom: var(--space-lg);
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.7;
}

.about-tagline {
    font-size: 1.25rem;
    color: var(--azul-noite);
    margin-top: var(--space-lg);
}

.about-tagline strong {
    color: var(--verde-menta-dark);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.value {
    padding: var(--space-lg);
    background-color: var(--cinza-neve);
    border-radius: var(--radius-md);
}

.value-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--branco);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    color: var(--verde-menta);
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value h4 {
    color: var(--verde-menta-dark);
    margin-bottom: var(--space-sm);
}

.value p {
    font-size: 0.9375rem;
    color: var(--cinza-medio);
    margin: 0;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
    background-color: var(--azul-noite);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--branco);
    margin-bottom: var(--space-md);
}

.cta > .container > .cta-content > p {
    color: var(--texto-claro-primario);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.cta-coming-soon {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--verde-menta);
    margin-bottom: var(--space-md);
}

.cta-store-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
}

.store-badge--disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: default;
}

.store-badge svg {
    opacity: 0.7;
}

.cta-subtitle {
    color: var(--texto-claro-secundario);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
}

.early-access-form {
    max-width: 450px;
    margin: 0 auto;
}

.email-input-wrapper {
    display: flex;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xs);
}

.email-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--branco);
    outline: none;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.email-input:focus {
    background: rgba(255, 255, 255, 0.05);
}

.early-access-form .btn {
    white-space: nowrap;
    padding: var(--space-md) var(--space-lg);
}

.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.5s ease-out;
}

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

.success-text {
    color: white;
    font-size: 1.125rem;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.waitlist-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 400px;
    margin: 0 auto;
}

.waitlist-form input {
    flex: 1;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--branco);
    transition: all var(--transition-fast);
}

.waitlist-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--verde-menta);
    background-color: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--cinza-neve);
    padding: var(--space-md) 0 var(--space-sm);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-sm);
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--cinza-medio);
    font-size: 0.9375rem;
    max-width: 250px;
}

/* Simplified footer layout */
.footer-content--simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    grid-template-columns: none;
    gap: 8px;
}

.footer-content--simple .footer-brand {
    margin-bottom: 0;
}

.footer-content--simple .footer-brand p {
    margin-bottom: 4px;
    max-width: none;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cinza-neve);
    color: var(--azul-noite);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--verde-menta);
    transform: translateY(-2px);
}

.social-link svg {
    width: 36px;
    height: 36px;
}

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

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--azul-noite);
    margin-bottom: var(--space-md);
}

.footer-column a {
    display: block;
    font-size: 0.9375rem;
    color: var(--cinza-medio);
    margin-bottom: var(--space-sm);
}

.footer-column a:hover {
    color: var(--verde-menta);
}

.footer-bottom {
    padding-top: var(--space-sm);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--cinza-medio);
    margin: 0;
}

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

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
        margin-bottom: var(--space-xl);
    }

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

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .problem-items {
        gap: var(--space-lg);
    }

    .problem-item {
        min-width: 160px;
    }

    .quote-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .quote-content {
        text-align: center;
    }

    .quote-visual {
        order: -1;
    }

    .quote-visual img {
        max-width: 220px;
        transform: rotate(0deg);
    }

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

    .about .container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--space-3xl) 0;
    }

    .nav {
        display: none;
    }

    .hero-image img {
        max-width: 300px;
    }

    .iphone-mockup {
        width: 240px;
    }

    .iphone-frame {
        border-radius: 38px;
        padding: 10px;
    }

    .iphone-notch {
        width: 75px;
        height: 20px;
        top: 10px;
    }

    .iphone-screen {
        border-radius: 30px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-lg);
    }

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

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

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

    .about-values {
        grid-template-columns: 1fr;
    }

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

    .waitlist-form {
        flex-direction: column;
    }

    .email-input-wrapper {
        flex-direction: column;
        padding: var(--space-sm);
    }

    .email-input {
        text-align: center;
    }

    .early-access-form .btn {
        width: 100%;
    }

    .footer-content--simple {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

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

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

    .problem-item {
        width: 100%;
        max-width: 260px;
        height: auto;
        padding: var(--space-lg);
    }
}

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

.hero-content,
.hero-image {
    animation: fadeInUp 0.6s ease-out;
}

.hero-image {
    animation-delay: 0.2s;
}

/* Scroll animations (optional - add IntersectionObserver in JS) */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}
