/* ACH Alert Landing Page Styles */

/* CSS Variables */
:root {
    --primary-color: #1a56db;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #0f172a;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-gradient: linear-gradient(135deg, #1a56db 0%, #06b6d4 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

p {
    color: var(--text-secondary);
}

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

.header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Dashboard Preview */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    animation: float 6s ease-in-out infinite;
}

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

.dashboard-header {
    background: var(--secondary-color);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-dots {
    display: flex;
    gap: 8px;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
}

.dashboard-dots span:nth-child(1) {
    background: #ef4444;
}

.dashboard-dots span:nth-child(2) {
    background: #fbbf24;
}

.dashboard-dots span:nth-child(3) {
    background: #22c55e;
}

.dashboard-title {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.dashboard-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.account-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

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

.account-icon.checking {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.account-icon.savings {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.account-icon.business {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.account-status {
    font-size: 0.8125rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.account-status.active::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-color);
    animation: pulse 2s infinite;
}

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

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: var(--bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--bg-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
    stroke: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-content h3 {
    font-size: 1.375rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Statistics Section */
.stats {
    padding: 80px 0;
    background: var(--bg-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    display: inline;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: var(--bg-primary);
}

.benefits .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefits .section-title {
    text-align: left;
    margin-bottom: 40px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

.benefit-text h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.benefit-text p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.benefits-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-badge {
    width: 280px;
    height: 280px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    animation: rotate-border 20s linear infinite;
}

.security-badge::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--bg-gradient);
    z-index: -1;
    opacity: 0.3;
}

.security-badge svg {
    width: 80px;
    height: 80px;
    color: var(--primary-color);
}

.security-badge span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about .section-title {
    margin-bottom: 32px;
}

.about-content > p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

/* Footer */
.footer {
    padding: 60px 0 32px;
    background: var(--bg-dark);
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    color: white;
}

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

.footer-tagline {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.footer-info p {
    font-size: 0.9375rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.75rem;
    }

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

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

    .benefits .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .benefits .section-title {
        text-align: center;
    }

    .benefits-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

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

    .stat-number {
        font-size: 2.5rem;
    }

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

    .security-badge {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
    }

    .dashboard-preview {
        max-width: 100%;
    }

    .feature-card {
        padding: 24px;
    }

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

/* Print Styles */
@media print {
    .header {
        position: static;
    }

    .hero {
        padding-top: 40px;
        min-height: auto;
    }

    .dashboard-preview {
        animation: none;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}
