@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #070913;
    --bg-secondary: #0e1326;
    --bg-card: rgba(18, 24, 47, 0.7);
    --bg-card-hover: rgba(26, 34, 64, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 94, 19, 0.3);
    
    --color-orange: #FF5E13;
    --color-orange-glow: rgba(255, 94, 19, 0.15);
    --color-orange-hover: #ff7637;
    
    --color-green: #00D28A;
    --color-green-glow: rgba(0, 210, 138, 0.15);
    
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #94A3B8;
    --color-text-muted: #64748B;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Mobile variables */
    --bg-app: #0c0f1e;
    --bg-mob-card: rgba(25, 31, 58, 0.5);
    --bg-mob-card-active: rgba(255, 94, 19, 0.15);
    --border-active: rgba(255, 94, 19, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ======================================================== */
/* 1. DESKTOP VIEW STYLES                                  */
/* ======================================================== */
.desktop-view {
    display: block;
    position: relative;
    overflow-x: hidden;
}

.bg-glow-orange {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 94, 19, 0.08) 0%, rgba(7, 9, 19, 0) 70%);
    top: -200px;
    right: -100px;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-blue {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 210, 138, 0.04) 0%, rgba(7, 9, 19, 0) 70%);
    bottom: -100px;
    left: -200px;
    z-index: -1;
    pointer-events: none;
}

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

/* Header & Logo styling */
.d-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease;
}

.logo-container {
    height: 55px;
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 100%;
    object-fit: contain;
}

.proposal-badge {
    background: rgba(255, 94, 19, 0.1);
    border: 1px solid rgba(255, 94, 19, 0.25);
    color: var(--color-orange);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.hero-content {
    animation: fadeInLeft 0.8s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, #FF5E13 0%, #FFA877 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-pillars {
    display: flex;
    gap: 1.5rem;
}

.pillar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 170px;
    transition: var(--transition-normal);
}

.pillar:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: 0 10px 20px -10px var(--color-orange-glow);
}

.pillar-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
}

.pillar-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.pillar:nth-child(1) .pillar-value { color: var(--color-orange); }
.pillar:nth-child(2) .pillar-value { color: #FFA877; }
.pillar:nth-child(3) .pillar-value { color: var(--color-green); }

/* Features/Services Section */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-subtitle {
    color: var(--color-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.25rem 2rem;
    border-radius: 24px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), #FFA877);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Calculator & Investment Section */
.investment-container {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 3.5rem;
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.investment-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
}

.calc-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.calc-desc {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

/* Slider Customization */
.slider-group {
    margin-bottom: 2.5rem;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.slider-val-box {
    color: var(--color-orange);
    font-size: 1.5rem;
    font-weight: 800;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-orange);
    cursor: pointer;
    box-shadow: 0 0 15px var(--color-orange);
    transition: transform 0.15s ease-in-out;
}

.range-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.calc-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.metric-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: 16px;
    transition: var(--transition-normal);
}

.metric-title {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.metric-val {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.metric-box.highlighted {
    border-color: rgba(0, 210, 138, 0.25);
    background: rgba(0, 210, 138, 0.02);
}

.metric-box.highlighted .metric-val { color: var(--color-green); }

/* Pricing Display Card */
.pricing-card {
    background: rgba(18, 24, 47, 0.9);
    border: 1px solid rgba(255, 94, 19, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--color-orange);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-header { margin-bottom: 1.5rem; }

.price-title {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1.1;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-secondary);
}

.pricing-features {
    margin: 1.5rem 0 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    list-style: none;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}

.pricing-features li::before {
    content: "✓";
    color: var(--color-green);
    font-weight: bold;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-orange) 0%, #FFA877 100%);
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 1.1rem 2rem;
    border-radius: 16px;
    transition: var(--transition-normal);
    box-shadow: 0 10px 25px -5px rgba(255, 94, 19, 0.4);
    cursor: pointer;
    border: none;
    width: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 94, 19, 0.6);
}

.info-note {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.lead-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 2rem;
    text-align: center;
    line-height: 1.5;
}

/* Footer Section */
.d-footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

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

.footer-logo {
    height: 45px;
    margin-bottom: 1.5rem;
}

.footer-logo img { height: 100%; }

.footer-tagline {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    max-width: 380px;
}

.footer-tagline span {
    color: var(--color-green);
    font-weight: 600;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
}

.footer-contact .contact-item {
    display: flex;
    flex-direction: column;
}

.footer-contact .contact-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact .contact-value {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* ======================================================== */
/* 2. MOBILE APP VIEW STYLES (iOS/Android Native Emulator)   */
/* ======================================================== */
.mobile-app-view {
    display: none;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-app);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Header */
.app-header {
    background: rgba(12, 15, 30, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 90;
}

.app-logo { height: 28px; }
.app-logo img { height: 100%; }

.app-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 212, 138, 0.1);
    border: 1px solid rgba(0, 212, 138, 0.2);
    color: var(--color-green);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--color-green);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

/* Content Area */
.app-content {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.app-section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 1.25rem 1.25rem 90px 1.25rem;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.96) translateY(10px);
    transition: opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-section.active-section {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
    z-index: 10;
}

/* Screen 1: Dashboard */
.welcome-card {
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff854c 100%);
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px -5px rgba(255, 94, 19, 0.3);
}

.welcome-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.25rem;
}

.welcome-title {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.welcome-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.dashboard-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.kpi-card {
    background: var(--bg-mob-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.1rem;
    text-align: left;
}

.kpi-title {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-value {
    font-size: 1.2rem;
    font-weight: 800;
}

.kpi-accent-orange { color: var(--color-orange); }
.kpi-accent-green { color: var(--color-green); }

.home-pillars {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.home-pillar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 16px;
}

.pillar-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon-box.orange {
    background: rgba(255, 94, 19, 0.1);
    color: var(--color-orange);
}

.pillar-icon-box.green {
    background: rgba(0, 212, 138, 0.1);
    color: var(--color-green);
}

.pillar-row-text h5 {
    font-size: 0.9rem;
    font-weight: 700;
}

.pillar-row-text p {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* Screen 2: iOS Settings List */
.section-headline {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.section-tagline {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
}

.ios-list {
    background: var(--bg-mob-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.ios-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.ios-item:last-child { border-bottom: none; }
.ios-item:active { background: rgba(255, 255, 255, 0.03); }

.ios-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ios-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.ios-item:nth-child(1) .ios-icon { background: #FF3B30; }
.ios-item:nth-child(2) .ios-icon { background: #34C759; }
.ios-item:nth-child(3) .ios-icon { background: #007AFF; }
.ios-item:nth-child(4) .ios-icon { background: #5856D6; }
.ios-item:nth-child(5) .ios-icon { background: #FF9500; }
.ios-item:nth-child(6) .ios-icon { background: #8E8E93; }

.ios-label {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Native Bottom Sheet Drawer */
.app-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    z-index: 900;
    transition: opacity 0.3s ease;
}

.app-modal-backdrop.show-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.app-bottom-sheet {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #111424;
    border-top: 2px solid var(--color-orange);
    border-radius: 28px 28px 0 0;
    padding: 1.5rem;
    z-index: 901;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    box-shadow: 0 -15px 35px rgba(0,0,0,0.6);
}

.app-bottom-sheet.show-sheet {
    bottom: 0;
}

.sheet-handle {
    width: 40px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    margin: 0 auto 1.25rem auto;
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sheet-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-orange);
}

.sheet-close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #FFFFFF;
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.sheet-close-btn:active {
    background: rgba(255, 255, 255, 0.15);
}

.sheet-body {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    padding-bottom: 2rem;
}

/* Screen 3: Simulator */
.sim-card {
    background: var(--bg-mob-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.sim-slider-box { margin: 0.5rem 0 1.25rem 0; }

.sim-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.sim-slider-value {
    color: var(--color-orange);
    font-size: 1.25rem;
    font-weight: 800;
}

.sim-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-orange);
    cursor: pointer;
}

.sim-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.sim-metric-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.sim-metric-card.highlight {
    border-color: rgba(0, 212, 138, 0.25);
    background: rgba(0, 212, 138, 0.015);
}

.sim-metric-card.highlight .sim-metric-val { color: var(--color-green); }

.sim-metric-title {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
}

.sim-metric-val {
    font-size: 1.1rem;
    font-weight: 800;
}

/* Screen 4: Contrato */
.closing-card {
    background: rgba(25, 31, 58, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.closing-item {
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.closing-item:last-child {
    border-bottom: none;
    font-weight: 700;
}

.closing-label { color: var(--color-text-secondary); }
.closing-val { color: var(--color-text-primary); }
.closing-val.highlight { color: var(--color-orange); font-weight: 800; }

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, var(--color-orange) 0%, #ff854c 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 16px;
    padding: 1.1rem;
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(255, 94, 19, 0.4);
    text-decoration: none;
}

.action-btn:active { transform: scale(0.98); }

.closing-note-box {
    margin-top: 1rem;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.contact-app-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.contact-app-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

.contact-app-icon { color: var(--color-orange); }

/* Navigation footer */
.app-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(14, 19, 38, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 500;
    gap: 0.25rem;
    flex: 1;
    height: 100%;
}

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

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

/* ======================================================== */
/* 3. RESPONSIVE DESIGN & MEDIA QUERIES                    */
/* ======================================================== */

@media (max-width: 768px) {
    .desktop-view {
        display: none !important;
    }
    
    .mobile-app-view {
        display: flex !important;
        flex-direction: column;
        height: 100vh;
        width: 100vw;
        background: var(--bg-app);
    }
    
    .app-nav {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
    }
}

@media (max-width: 968px) and (min-width: 769px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .hero-desc { margin: 0 auto 2.5rem auto; }
    .hero-pillars { justify-content: center; }
    .investment-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .d-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand { align-items: center; }
}

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

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

/* Metrics Legend */
.metrics-legend {
    margin-top: 2.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.legend-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--color-orange);
}

.legend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.legend-item {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.legend-item strong {
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

