/* ============================================
   TRAKIVO LANDING PAGE - STYLES
   ============================================ */

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

:root {
    /* ==========================================
       PRIMARY COLORS - Turquesa (Identidade)
       ========================================== */
    --primary-color: #31D0C6;
    --primary-dark: #28b3aa;
    --primary-darker: #229089;
    --primary-light: #5eddd4;
    --primary-lighter: #8ce5de;
    --primary-lightest: #e6f9f7;

    /* ==========================================
       SECONDARY COLORS - Verde (Prosperidade)
       ========================================== */
    --secondary-color: #10B981;
    --secondary-dark: #059669;
    --secondary-darker: #047857;
    --secondary-light: #34D399;
    --secondary-lighter: #6EE7B7;
    --secondary-lightest: #D1FAE5;

    /* ==========================================
       SEMANTIC COLORS - Estados
       ========================================== */
    --success: #10B981;
    --success-dark: #059669;
    --success-light: #34D399;
    --success-bg: #D1FAE5;

    --warning: #F59E0B;
    --warning-dark: #D97706;
    --warning-light: #FBBF24;
    --warning-bg: #FEF3C7;

    --error: #EF4444;
    --error-dark: #DC2626;
    --error-light: #F87171;
    --error-bg: #FEE2E2;

    --info: #3B82F6;
    --info-dark: #2563EB;
    --info-light: #60A5FA;
    --info-bg: #DBEAFE;

    /* ==========================================
       NEUTRAL COLORS - Sistema de Cinzas
       ========================================== */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* ==========================================
       TEXT COLORS - Hierarquia
       ========================================== */
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-tertiary: #6B7280;
    --text-disabled: #9CA3AF;
    --text-inverse: #ffffff;

    /* Legacy support (manter compatibilidade) */
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6b6b6b;

    /* ==========================================
       BACKGROUND COLORS
       ========================================== */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --bg-hover: #F0FDFC;
    --bg-active: #CCFBF1;
    --bg-overlay: rgba(0, 0, 0, 0.6);

    /* Legacy support */
    --background: #ffffff;
    --background-light: #f9fafb;
    --background-gray: #f5f5f5;

    /* ==========================================
       BORDER COLORS
       ========================================== */
    --border-primary: #E5E7EB;
    --border-secondary: #D1D5DB;
    --border-focus: var(--primary-color);
    --border-error: var(--error);

    /* Legacy support */
    --border-color: #e5e7eb;

    /* ==========================================
       TYPOGRAPHY
       ========================================== */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-brand: 'Questrial', 'Inter', sans-serif;
    --font-family: var(--font-primary); /* Legacy support */
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* ==========================================
       SPACING
       ========================================== */
    --section-padding: 60px 32px;
    --container-max-width: 1400px;

    /* ==========================================
       TRANSITIONS
       ========================================== */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    /* ==========================================
       SHADOWS
       ========================================== */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 4px 15px rgba(49, 208, 198, 0.3);
    --shadow-primary-hover: 0 6px 20px rgba(49, 208, 198, 0.4);
    --shadow-secondary: 0 4px 15px rgba(16, 185, 129, 0.3);

    /* ==========================================
       SECTION BACKGROUNDS
       ========================================== */
    --bg-hero: linear-gradient(135deg, #8CE5DE 0%, #FFFFFF 50%, #D1FAE5 100%);
    --bg-why: linear-gradient(180deg, #FFFFFF 0%, #F0FDFC 100%);
    --bg-how: linear-gradient(180deg, #FFFFFF 0%, #F0FDFC 50%, #D1FAE5 100%);
    --bg-testimonials: linear-gradient(135deg, #D1FAE5 0%, #FFFFFF 50%, #E6F9F7 100%);
    --bg-waitlist: linear-gradient(135deg, #31D0C6 0%, #229089 100%);
    --bg-faq: linear-gradient(180deg, #FFFFFF 0%, #F0FDFC 100%);
    --bg-footer: linear-gradient(180deg, #1F2937 0%, #111827 100%);

    /* ==========================================
       DECORATIVE PATTERNS
       ========================================== */
    --pattern-dots: radial-gradient(circle, rgba(49, 208, 198, 0.05) 1px, transparent 1px);
    --pattern-grid:
        linear-gradient(rgba(49, 208, 198, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 208, 198, 0.03) 1px, transparent 1px);
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--text-medium);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    position: relative;
    width: 100%;
    background: transparent;
    margin-bottom: 3rem;
    z-index: 10;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    margin: 0;
}

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

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

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

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

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

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

.nav-link.active {
    color: var(--primary-color);
}

.nav-cta-button {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: var(--bg-footer);
    color: white;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.3);
}

.nav-cta-button:hover {
    background: linear-gradient(180deg, #111827, #1F2937);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.5);
}

/* Mobile Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger {
    position: relative;
    width: 26px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background-color: white;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
    background-color: white;
}

/* Mobile Styles */
@media (max-width: 968px) {
    .navbar {
        margin-bottom: 1rem;
        padding-top: 0.75rem;
    }

    .nav-container {
        padding: 0.75rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(80%, 400px);
        height: 100vh;
        background: linear-gradient(180deg, #1F2937, #111827);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 5rem 2rem 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-item.nav-cta {
        border-bottom: none;
        margin-top: 1rem;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 0;
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.9);
    }

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

    .nav-link::after {
        display: none;
    }

    .nav-cta-button {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        box-shadow: 0 2px 8px rgba(49, 208, 198, 0.3);
    }

    .nav-cta-button:hover {
        background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
        box-shadow: 0 4px 12px rgba(49, 208, 198, 0.5);
    }

    /* Overlay when menu is open */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
}

/* Tablet Styles */
@media (min-width: 641px) and (max-width: 968px) {
    .nav-container {
        padding: 1rem 0;
    }
}

/* Desktop Styles */
@media (min-width: 969px) {
    .nav-container {
        padding: 1rem 0;
    }

    .nav-menu {
        gap: 2.5rem;
    }
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Container responsive padding */
@media (min-width: 641px) {
    .container {
        padding: 0 24px;
    }
}

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

/* Typography */
h1, h2, h3 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-family: var(--font-brand);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--font-brand);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-brand);
    font-size: 1rem;
    font-weight: 400;
    color: white;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-primary);
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.01em;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-hover);
    background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    box-shadow: var(--shadow-secondary);
}

.cta-button-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-darker));
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.cta-button-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.button-icon {
    font-size: 1.25rem;
}

/* Forms */
input[type="text"],
input[type="email"] {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition-smooth);
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--primary-lightest);
}

input[type="text"]:invalid:not(:placeholder-shown),
input[type="email"]:invalid:not(:placeholder-shown) {
    border-color: var(--border-error);
}

input::placeholder {
    color: var(--gray-400);
}

.form-disclaimer {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: left;
}

/* Form field wrapper */
.form-field {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Error message styling */
.error-message {
    color: var(--gray-800);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    line-height: 1.4;
}

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

/* Invalid input state */
input.invalid {
    border-color: var(--gray-800) !important;
    border-width: 2px !important;
}

/* Valid input state */
input.valid {
    border-color: var(--secondary-color) !important;
}

/* Shake animation for invalid input on submit */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
    20%, 40%, 60%, 80% { transform: translateX(8px); }
}

input.shake {
    animation: shake 0.5s;
}

/* Pulse animation for error message */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.error-message.pulse {
    animation: pulse 0.5s;
    font-weight: 600;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-hero);
    padding: 0;
    overflow: hidden;
}

.hero > .container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 2rem 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
}

/* Elemento decorativo 1 - círculo turquesa */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(49, 208, 198, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float-slow 20s ease-in-out infinite;
}

/* Elemento decorativo 2 - círculo rosa coral */
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.20) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float-slow 25s ease-in-out infinite reverse;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-medium);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.desktop-mockup {
    display: none;
}

.mockup-placeholder {
    width: 100%;
    max-width: 300px;
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.mockup-placeholder svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

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

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1199px) {
    .hero {
        min-height: auto;
    }

    .hero > .container {
        padding: 0.5rem 24px 1rem 24px;
        justify-content: flex-start;
    }
}

/* Desktop mockup visibility and side-by-side layout (tablet and desktop) */
@media (min-width: 769px) {
    .hero {
        min-height: auto;
        padding: 0;
    }

    .hero > .container {
        padding: 0 40px 1rem 40px;
        justify-content: flex-start;
    }

    .hero-content {
        grid-template-columns: minmax(650px, 2fr) 1fr;
    }

    .hero-text {
        max-width: 800px;
    }

    .hero-image {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
    }

    .desktop-mockup {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: none;
        min-width: 900px;
        flex: 1;
        margin-left: -3rem;
        align-self: flex-start;
        margin-top: -8rem;
    }

    .desktop-mockup svg {
        width: 100%;
        height: auto;
        min-height: 680px;
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    }

    .desktop-mockup .mockup-disclaimer {
        margin-top: 1rem;
        width: 100%;
        text-align: left;
    }

    .mockup-placeholder {
        max-width: 250px;
        flex-shrink: 0;
        position: relative;
        left: 2rem;
        z-index: 10;
    }
}

/* Tablet-specific adjustments for mockups */
@media (min-width: 769px) and (max-width: 1199px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    .desktop-mockup {
        min-width: 600px;
        margin-left: 1rem;
        margin-top: -5rem;
    }

    .desktop-mockup svg {
        min-height: 450px;
    }

    .mockup-placeholder {
        left: 6rem;
    }
}

/* Adjust hero height when viewport height is reduced (zoom out) */
@media (max-height: 700px) {
    .hero {
        min-height: auto;
    }
}

@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
    z-index: 1;
}

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

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
    padding: var(--section-padding);
    background: var(--bg-why);
    position: relative;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-medium);
    line-height: 1.7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: 3rem;
}

@media (max-width: 968px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(49, 208, 198, 0.15);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #E6F9F7 0%, #FFFFFF 100%);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-section {
    padding: var(--section-padding);
    background: var(--bg-how);
    background-image: var(--pattern-grid);
    background-size: 50px 50px;
    position: relative;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.steps-content {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-brand);
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(49, 208, 198, 0.3);
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.steps-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 3rem;
}

.app-preview {
    width: 100%;
    max-width: 300px;
    animation: float 6s ease-in-out infinite;
}

.app-preview svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

.mockup-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.75rem;
    opacity: 0.7;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--bg-testimonials);
    position: relative;
    overflow: hidden;
}

/* Elemento decorativo - círculo rosa coral central */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.testimonials-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--secondary-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.12);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.2);
    border-left-width: 6px;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-text::before {
    content: '"';
}

.testimonial-text::after {
    content: '"';
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: normal;
}

/* ============================================
   WAITLIST SECTION
   ============================================ */
.waitlist-section {
    padding: var(--section-padding);
    background: var(--bg-waitlist);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Padrão de pontos decorativos */
.waitlist-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

/* Círculo decorativo turquesa claro */
.waitlist-section::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 30s ease-in-out infinite;
    z-index: 0;
}

.waitlist-section h2 {
    color: white;
}

.waitlist-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.waitlist-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.waitlist-section .form-disclaimer {
    color: rgba(255, 255, 255, 0.85);
}

.waitlist-section .cta-button {
    background: var(--bg-footer);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 15px rgba(31, 41, 55, 0.4);
}

.waitlist-section .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 41, 55, 0.6);
    background: linear-gradient(180deg, #111827, #1F2937);
}

.waitlist-section .button-icon {
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waitlist-section .button-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--section-padding);
    background: var(--bg-faq);
    position: relative;
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover:not([open]) {
    background: rgba(49, 208, 198, 0.02);
    border-color: var(--primary-light);
}

.faq-item[open] {
    background: linear-gradient(135deg, #E6F9F7 0%, #FFFFFF 100%);
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(49, 208, 198, 0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 400;
    transition: var(--transition-smooth);
}

.faq-item[open] .faq-question::after {
    content: '−';
}

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

.faq-answer {
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 2.5rem 20px 1.5rem;
    background: var(--bg-footer);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

/* Linha decorativa colorida no topo */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        var(--primary-color) 0%,
        var(--secondary-color) 50%,
        var(--primary-color) 100%
    );
    background-size: 200% 100%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Padrão sutil de grid no fundo */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(49, 208, 198, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 208, 198, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo-img {
    display: block;
    width: 192px;
    height: auto;
    margin-bottom: 1rem;
    opacity: 0.95;
    transition: var(--transition-smooth);
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(49, 208, 198, 0.3));
}

/* Responsive footer logo */
@media (max-width: 640px) {
    .footer-logo-img {
        width: 160px;
    }
}

.footer-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-nav-title,
.footer-links-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

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

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(49, 208, 198, 0.3);
    transform: translateX(4px);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(49, 208, 198, 0.3);
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-4px) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(49, 208, 198, 0.4);
}

.footer-cta {
    margin-top: 3rem;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-cta-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(49, 208, 198, 0.3);
}

.footer-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 208, 198, 0.5);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.modal-close:hover {
    background-color: var(--background-gray);
    color: var(--text-dark);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.modal-content p {
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .hero {
        min-height: auto;
    }

    .hero > .container {
        padding: 0 20px 2rem;
        justify-content: flex-start;
    }

    .scroll-indicator {
        display: none;
    }

    .hero-content,
    .steps-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Hide hero phone mockup on mobile/tablet */
    .hero-image {
        display: none;
    }

    .steps-visual {
        order: -1;
    }

    .steps-content {
        margin-left: 0;
        margin-top: 0;
        gap: 2rem;
    }

    .hero-text,
    .waitlist-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-form {
        margin: 0 auto;
    }

    .form-disclaimer {
        text-align: center;
    }

    .mockup-placeholder,
    .app-preview {
        max-width: 250px;
    }

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

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

    .footer-brand {
        max-width: 100%;
    }

    .footer-cta {
        margin-top: 2rem;
        padding: 2rem 0;
    }

    .footer-cta-text {
        font-size: 1.1rem;
    }

    .footer-cta-button {
        width: 100%;
        max-width: 350px;
        padding: 1rem 2rem;
    }

    /* Reduzir elementos decorativos em mobile */
    .hero::before,
    .hero::after,
    .testimonials-section::before,
    .waitlist-section::after {
        width: 300px;
        height: 300px;
    }
}

/* Tablet breakpoint */
@media (max-width: 968px) {
    :root {
        --section-padding: 50px 24px;
    }
}

/* Mobile breakpoint */
@media (max-width: 640px) {
    :root {
        --section-padding: 40px 20px;
    }

    .steps-visual {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-button {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

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

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.5rem 1.25rem;
    }

    .scroll-indicator {
        font-size: 1.5rem;
    }
}

/* ============================================
   PRICING PAGE STYLES
   ============================================ */
.pricing-hero {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: clamp(4rem, 10vh, 8rem) 0 clamp(2rem, 5vh, 4rem);
    text-align: center;
}

.pricing-hero h1 {
    font-family: var(--font-brand);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: var(--section-padding);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(49, 208, 198, 0.03);
    border: 2px solid rgba(49, 208, 198, 0.2);
    border-radius: 16px;
    padding: clamp(2rem, 5vw, 3rem);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-tagline {
    font-size: 1.125rem;
    color: var(--text-medium);
}

.features-list {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

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

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item span {
    font-size: 1rem;
    line-height: 1.6;
}

.launch-offer {
    background: linear-gradient(135deg, rgba(49, 208, 198, 0.1), rgba(16, 185, 129, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.launch-offer h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.offer-list li {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

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

.pricing-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.pricing-card > .cta-button {
    display: inline-block;
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(49, 208, 198, 0.3);
}

.pricing-card {
    text-align: center;
}

.pricing-card .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 208, 198, 0.5);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Responsive */
@media (max-width: 640px) {
    .pricing-card {
        padding: 1.5rem;
    }

    .launch-offer {
        padding: 1.5rem;
    }

    .feature-item {
        gap: 0.75rem;
    }
}

/* ============================================
   ACCESSIBILITY & PERFORMANCE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    .hero-image,
    .steps-visual,
    .scroll-indicator,
    .modal {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    h1 {
        font-size: 24pt;
    }

    h2 {
        font-size: 20pt;
    }

    h3 {
        font-size: 16pt;
    }
}

/* ============================================
   ANTI-SPAM: HONEYPOT FIELDS
   ============================================ */

/*
 * Honeypot fields are invisible to users but visible to bots
 * Bots tend to fill all fields, so if these are filled, it's spam
 * Multiple hiding techniques to avoid detection by smarter bots
 */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
