/* Finedge Bank - Design System Implementation */
/* Following Material UI aesthetic for elderly & young users */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   DESIGN TOKENS (From Design System)
   ============================================ */
:root {
    /* Primary Color Palette */
    --color-primary: #1A2E45;
    --color-accent: #339CFF;
    --color-bg: #FAFAFA;
    --color-surface: #E9EDF2;
    --color-text: #4A4A4A;
    --color-muted: #9A9A9A;
    --color-success: #B6D7B9;

    /* Support Colors */
    --color-error: #D9534F;
    --color-warning: #F0AD4E;
    --color-info: #5BC0DE;
    --color-disabled: #C5CBD3;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'IBM Plex Serif', serif;

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

    /* Component Tokens */
    --button-radius: 8px;
    --button-padding: 12px 20px;
    --input-height: 48px;
    --input-radius: 8px;
    --input-padding: 12px 16px;
    --card-radius: 12px;
    --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-primary);
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: 2.25rem;
    /* 36px */
    line-height: 1.25;
}

h2 {
    font-size: 1.75rem;
    /* 28px */
    line-height: 1.3;
}

h3 {
    font-size: 1.375rem;
    /* 22px */
    font-weight: 500;
    line-height: 1.4;
}

h4 {
    font-size: 1.125rem;
    /* 18px */
    font-weight: 500;
}

p {
    font-size: 1rem;
    /* 16px */
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.hero-description,
.section-description {
    font-size: 1.125rem;
    /* 18px - body-lg */
    line-height: 1.6;
    color: var(--color-text);
}

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

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 46, 69, 0.08);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
}

.nav-logo {
    height: 70px;
    width: auto;
    margin-left: var(--space-md);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    margin: 5px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: var(--space-xs) 0;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* ============================================
   BUTTONS (Design System Compliant)
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--button-padding);
    border: none;
    border-radius: var(--button-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 48px;
    /* Accessibility - Touch target */
}

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

.btn-primary:hover {
    background: #2B8BE0;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

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

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

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

.btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
    min-height: 52px;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: calc(var(--space-2xl) + 80px) 0 var(--space-2xl);
    background: linear-gradient(135deg, #FAFAFA 0%, #F0F4F8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(51, 156, 255, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    background: rgba(51, 156, 255, 0.1);
    color: var(--color-accent);
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}

.hero-description {
    margin-bottom: var(--space-xl);
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.trust-item {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: var(--button-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.trust-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.trust-text {
    font-size: 0.875rem;
    color: var(--color-muted);
    font-weight: 500;
}

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

.hero-card {
    position: relative;
    z-index: 2;
}

.hero-card-about {
    max-height: 20em;
    min-height: 10em;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--card-radius);

}

.floating-card {
    position: absolute;
    background: white;
    padding: var(--space-lg);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.balance-card {
    bottom: 20px;
    left: -40px;
    min-width: 220px;
}

.card-label {
    font-size: 0.875rem;
    color: var(--color-muted);
    display: block;
    margin-bottom: var(--space-xs);
}

.card-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.card-trend {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    color: var(--color-success);
    font-size: 0.875rem;
    font-weight: 500;
}

@keyframes float {

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

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

/* ============================================
   QUICK ACTIONS SECTION
   ============================================ */
.quick-actions {
    padding: var(--space-xl) 0;
    padding-top: 10px;
    background: white;
    margin-top: calc(-1 * var(--space-xl));
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.quick-action-card {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--card-radius);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.quick-action-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: white;
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.balance-icon {
    color: #5BC0DE;
}

.transfer-icon {
    color: var(--color-accent);
}

.bills-icon {
    color: #B6D7B9;
}

.quick-action-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.quick-action-card p {
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

.quick-action-link {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-action-link:hover {
    gap: var(--space-sm);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(51, 156, 255, 0.1);
    color: var(--color-accent);
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}

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

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--card-radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-lg);
    background: white;
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 32px;
    height: 32px;
}

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

.feature-card p {
    margin-bottom: var(--space-md);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
    font-size: 0.9375rem;
    color: var(--color-text);
}

.feature-list li::before {
    content: '✓';
    color: var(--color-success);
    font-weight: bold;
    flex-shrink: 0;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2A4A6E 100%);
    padding: var(--space-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-xl);
}

.stat-card {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--card-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
    margin: 0 auto var(--space-md);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: var(--space-2xs);
}

.stat-sublabel {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   ACCOUNTS SECTION
   ============================================ */
.accounts-section {
    background: var(--color-bg);
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.account-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.account-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.account-icon {
    width: 56px;
    height: 56px;
    background: var(--color-surface);
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.personal-icon {
    background: rgba(51, 156, 255, 0.1);
}

.savings-icon {
    background: rgba(182, 215, 185, 0.2);
    color: var(--color-success);
}

.business-icon {
    background: rgba(240, 173, 78, 0.1);
}

.account-icon img {
    width: 28px;
    height: 28px;
}

.account-badge {
    padding: var(--space-2xs) var(--space-sm);
    background: rgba(51, 156, 255, 0.1);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
}

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

.account-description {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
}

.account-features {
    margin-bottom: var(--space-lg);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-surface);
    border-bottom: 1px solid var(--color-surface);
}

.account-feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
}

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

/* ============================================
   SECURITY SECTION
   ============================================ */
.security-section {
    background: white;
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.security-image {
    position: relative;
}

.security-image img {
    width: 100%;
    height: auto;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
}

.security-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    color: var(--color-success);
}

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

.security-feature {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

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

.security-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-surface);
    border-radius: var(--button-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-feature h4 {
    margin-bottom: var(--space-2xs);
}

.security-feature p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    background: var(--color-bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: var(--space-lg);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #2B8BE0 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--space-md);
}

.step-content h3 {
    margin-bottom: var(--space-sm);
}

.step-content p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.step-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent), #2B8BE0);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-2xs);
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

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

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-2xs);
}

.author-title {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-bottom: 0;
}

/* ============================================
   MOBILE APP SECTION
   ============================================ */
.mobile-app-section {
    background: linear-gradient(135deg, #F0F4F8 0%, var(--color-bg) 100%);
}

.mobile-app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.mobile-app-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-xl);
}

.mobile-app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.mobile-feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9375rem;
    font-weight: 500;
}

.app-download-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-primary);
    color: white;
    border-radius: var(--button-radius);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.app-store-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-name {
    font-size: 1.0625rem;
    font-weight: 600;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: white;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-surface);
    border-radius: var(--card-radius);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    cursor: pointer;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover {
    background: rgba(51, 156, 255, 0.05);
}

.faq-question h4 {
    margin-bottom: 0;
    font-size: 1.0625rem;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-accent);
}

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

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--color-text);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2A4A6E 100%);
    padding: var(--space-2xl) 0;
    text-align: center;
}

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

.cta-content>p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

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

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 36px;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
}

.footer-brand p {
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--button-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.footer-links h4 {
    color: white;
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9375rem;
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.625rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    .step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }

    .header {
        height: auto;
        min-height: 70px;
        /* Increase minimum height on mobile */
    }

    .nav {
        padding: var(--space-md) 0;
        min-height: 50px;
        /* Ensure minimum height for the nav */
    }

    .nav-logo {
        height: 50px;
        /* Ensure logo has good size on mobile */
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px var(--space-lg) var(--space-lg);
        gap: var(--space-md);
        box-shadow: var(--shadow-xl);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .btn {
        width: 100%;
    }

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

    .hero-text h1 {
        font-size: 2rem;
    }

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

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

    .floating-card {
        display: none;
    }

    .quick-actions-grid,
    .features-grid,
    .accounts-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .security-content,
    .mobile-app-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .security-image,
    .mobile-app-image {
        order: -1;
    }

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

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

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

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

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

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .app-download-buttons {
        flex-direction: column;
    }

    .app-store-btn {
        width: 100%;
    }
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Focus States for Accessibility */
*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

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

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Methods Grid */
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.contact-method-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-method-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.contact-method-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: var(--color-surface);
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-icon {
    background: rgba(91, 192, 222, 0.1);
}

.email-icon {
    background: rgba(51, 156, 255, 0.1);
}

.location-icon {
    background: rgba(182, 215, 185, 0.1);
}

.chat-icon {
    color: var(--color-accent);
    background: rgba(51, 156, 255, 0.1);
}

.contact-method-icon img {
    width: 32px;
    height: 32px;
}

.contact-method-card h3 {
    text-align: center;
    margin-bottom: var(--space-md);
}

.contact-details {
    text-align: center;
    margin-bottom: var(--space-md);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-surface);
    border-bottom: 1px solid var(--color-surface);
}

.contact-label {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-bottom: var(--space-xs);
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    display: block;
    margin-bottom: var(--space-2xs);
}

.contact-value:hover {
    text-decoration: underline;
}

.contact-value-sub {
    font-size: 0.9375rem;
    color: var(--color-text);
    text-decoration: none;
    display: block;
}

.contact-description {
    text-align: center;
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.contact-action {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-action:hover {
    gap: var(--space-sm);
}

/* Business Hours Section */
.business-hours-section {
    background: var(--color-surface);
}

.business-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.business-hours-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
}

.hours-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-hours-card h3 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

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

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-surface);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 500;
    color: var(--color-primary);
}

.hours-time {
    color: var(--color-text);
}

.emergency-card {
    background: linear-gradient(135deg, rgba(217, 83, 79, 0.05) 0%, rgba(217, 83, 79, 0.02) 100%);
    border: 2px solid rgba(217, 83, 79, 0.2);
}

.emergency-icon {
    background: rgba(217, 83, 79, 0.1);
}

.emergency-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #D9534F;
    text-decoration: none;
    text-align: center;
    margin: var(--space-md) 0;
}

.emergency-number:hover {
    text-decoration: underline;
}

.emergency-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-bottom: 0;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--color-bg);
    padding: var(--space-2xl) 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl);
}

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

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

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--color-text-dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--input-radius, 8px);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

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

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    font-size: 0.9375rem;
    color: var(--color-text);
}

.checkbox-label input {
    margin-top: 4px;
}

.checkbox-label a {
    color: var(--color-primary);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* Mission & Vision Section */
.mission-vision-section {
    background: var(--color-bg);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
}

.mission-card {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
}

.mission-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-card h2 {
    text-align: center;
    margin-bottom: var(--space-md);
}

.mission-card p {
    text-align: center;
}

/* Values Section */
.values-section {
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.value-card {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--card-radius);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: white;
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 32px;
    height: 32px;
}

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

.value-card p {
    margin-bottom: 0;
}

/* Story Section */
.story-section {
    background: var(--color-bg);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.story-text p {
    text-align: left;
}

.story-image {
    position: relative;
}

.story-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.badge-label {
    font-size: 0.75rem;
    color: var(--color-muted);
    margin-bottom: var(--space-2xs);
}

.badge-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0;
}

/* Leadership Section */
.leadership-section {
    background: white;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.leader-card {
    background: var(--color-surface);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.leader-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--color-surface);
}

.leader-info {
    padding: var(--space-xl);
}

.leader-info h3 {
    margin-bottom: var(--space-2xs);
}

.leader-title {
    font-size: 0.9375rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.leader-bio {
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.leader-social {
    display: flex;
    gap: var(--space-sm);
}

.leader-social a {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: var(--button-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.leader-social a:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-2px);
}

/* Timeline Section */
.timeline-section {
    background: var(--color-bg);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: var(--space-2xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent) 0%, #2B8BE0 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-2xl);
}

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

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.timeline-content {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    margin-bottom: 0;
}

/* Awards Section */
.awards-section {
    background: white;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-xl);
}

.award-card {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--card-radius);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.award-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: white;
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-card h4 {
    font-size: 1.0625rem;
    margin-bottom: var(--space-xs);
}

.award-card p {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVE UPDATES FOR NEW COMPONENTS
   ============================================ */
@media (max-width: 768px) {
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .story-image {
        order: -1;
    }

    .timeline {
        padding-left: var(--space-xl);
    }

    .timeline-dot {
        left: -30px;
    }
}

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

    .values-grid,
    .leadership-grid,
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TELEGRAM CHAT FLOATING BUTTON
   ============================================ */
.telegram-chat {
    position: fixed;
    bottom: var(--space-md);
    left: var(--space-md);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    z-index: 10050;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.telegram-chat:hover {
    background: #2B8BE0;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.telegram-chat:active {
    transform: scale(0.98);
}

.telegram-chat .telegram-icon {
    width: 26px;
    height: 26px;
}

/* Telegram Chat Box */
.telegram-chat-box {
    position: fixed;
    bottom: calc(var(--space-md) + 64px);
    left: var(--space-md);
    width: 320px;
    max-width: calc(100vw - (var(--space-md) * 2));
    background: #fff;
    color: var(--color-text);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26, 46, 69, 0.08);
    padding: var(--space-md);
    z-index: 10060;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.telegram-chat-box.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.telegram-chat-box__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.telegram-chat-box__title {
    font-weight: 600;
    color: var(--color-primary);
}

.telegram-chat-box__close {
    background: transparent;
    border: none;
    color: var(--color-muted);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.telegram-chat-box__content {
    font-size: 0.95rem;
    line-height: 1.5;
}

.telegram-chat-box__actions {
    margin-top: var(--space-md);
    display: flex;
    gap: var(--space-sm);
}

.telegram-chat-box .btn {
    min-height: 40px;
}

@media (max-width: 575px) {
    .telegram-chat {
        width: 48px;
        height: 48px;
        bottom: var(--space-sm);
        left: var(--space-sm);
    }
}

@media (max-width: 575px) {
    .telegram-chat-box {
        bottom: calc(var(--space-sm) + 56px);
        left: var(--space-sm);
        width: calc(100vw - (var(--space-sm) * 2));
        padding: var(--space-sm);
    }
}