/* ===== Home Page Styles ===== */

/* ===== HERO SECTION - PHASE 2 REDESIGN ===== */
.hero {
    padding: var(--spacing-20) 0 var(--spacing-16);
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(11, 61, 145, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 184, 168, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
}

.hero-headline {
    margin: 0;
    color: var(--color-text-primary);
}

.hero-subheadline {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-6);
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-8);
}

.bullet {
    display: flex;
    gap: var(--spacing-4);
    align-items: flex-start;
    color: var(--color-text-secondary);
    line-height: 1.6;
    animation: slideInLeft 0.6s ease-out both;
}

.bullet:nth-child(1) { animation-delay: 0.1s; }
.bullet:nth-child(2) { animation-delay: 0.2s; }
.bullet:nth-child(3) { animation-delay: 0.3s; }
.bullet:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bullet-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-success-light);
    color: var(--color-success);
    font-weight: 600;
    font-size: 0.875rem;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-4);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-10);
}

.trust-badges {
    display: flex;
    gap: var(--spacing-6);
    flex-wrap: wrap;
    align-items: center;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    font-weight: 500;
}

.hero-badge-icon {
    font-size: 1rem;
    color: var(--color-success);
}

/* ===== MOCKUP PLACEHOLDER ===== */
.mockup {
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.4) 0%, rgba(240, 232, 255, 0.4) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-lg);
    border: 1px solid rgba(11, 61, 145, 0.15);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.3s both;
    color: var(--color-text-tertiary);
    text-align: center;
    gap: var(--spacing-4);
}

/* Hero section mockup in grid context */
.mockup-grid .mockup {
    background: linear-gradient(135deg, #f0e8ff 0%, #e8f4f8 100%);
    border: 2px dashed rgba(11, 61, 145, 0.15);
    border-radius: 16px;
    height: 280px;
    min-height: 280px;
    padding: 32px;
    transition: all 0.25s ease;
}

.mockup-grid .mockup:hover {
    border-color: rgba(11, 61, 145, 0.3);
    background: linear-gradient(135deg, #f3e8ff 0%, #e8f7f8 100%);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mockup-icon {
    font-size: 3.5rem;
    opacity: 0.6;
}

.mockup-text {
    font-size: 0.95rem;
    opacity: 0.8;
}

.mockup-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement {
    background: linear-gradient(135deg, #E8F4F8 0%, #F0E8FF 100%);
    padding: 14px 0;
    text-align: center;
    border-bottom: 1px solid rgba(11, 61, 145, 0.15);
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 500;
}

/* ===== NAVIGATION ===== */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ===== DASHBOARD MOCKUP ===== */
.dashboard {
    background: linear-gradient(135deg, rgba(232, 244, 248, 0.4) 0%, rgba(240, 232, 255, 0.4) 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-lg);
    border: 1px solid rgba(11, 61, 145, 0.15);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.dashboard-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.dashboard-card:last-child {
    margin-bottom: 0;
}

.dashboard-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.dashboard-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.dashboard-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-text-primary);
}

.dashboard-subtitle {
    font-size: 13px;
    color: #9CA3AF;
    margin-top: 2px;
}

.dashboard-icon {
    font-size: 32px;
}

/* ===== SECTION STRUCTURE ===== */
section {
    padding: 100px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 60px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

/* ===== EMPATHY SECTION ===== */
.empathy {
    background: linear-gradient(135deg, #050B16 0%, #1a1f3a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.empathy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(11, 61, 145, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.empathy-content {
    position: relative;
    z-index: 2;
}

.empathy h2 {
    color: white;
}

.empathy-main {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
}

.empathy-accent {
    color: var(--color-accent);
}

.empathy-subtitle {
    font-size: 18px;
    color: #d1d5db;
    max-width: 700px;
    margin: 0 auto 60px;
}

.empathy-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 500px;
    margin: 0 auto;
}

.empathy-icon {
    font-size: 48px;
    animation: bounce 2s ease-in-out infinite;
}

.empathy-icon:nth-child(1) { animation-delay: 0s; }
.empathy-icon:nth-child(2) { animation-delay: 0.3s; }
.empathy-icon:nth-child(3) { animation-delay: 0.6s; }
.empathy-icon:nth-child(4) { animation-delay: 0.9s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 48px;
    margin-top: 60px;
}

.step {
    position: relative;
    animation: fadeInUp 0.6s ease both;
}

.step:nth-child(1) { animation-delay: 0s; }
.step:nth-child(2) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.2s; }
.step:nth-child(4) { animation-delay: 0.3s; }

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(11, 61, 145, 0.3);
}

.step h3 {
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.step p {
    color: #6b7280;
    font-size: 15px;
}

.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -36px;
    top: 18px;
    font-size: 32px;
    color: var(--color-secondary);
    font-weight: 800;
}

@media (max-width: 768px) {
    .step:not(:last-child)::after {
        display: none;
    }
}

/* ===== FEATURES SECTION ===== */
.features {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, white 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease both;
}

.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 61, 145, 0.3);
}

.feature-icon {
    font-size: 48px;
    display: inline-block;
    padding: 14px;
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.08), rgba(77, 184, 168, 0.08));
    border-radius: 14px;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.feature-card p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
}

/* ===== PERSONAS SECTION ===== */
.personas {
    background: white;
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.persona {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, white 100%);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease both;
}

.persona:nth-child(1) { animation-delay: 0s; }
.persona:nth-child(2) { animation-delay: 0.1s; }
.persona:nth-child(3) { animation-delay: 0.2s; }
.persona:nth-child(4) { animation-delay: 0.3s; }

.persona:hover {
    border-color: rgba(11, 61, 145, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.persona-emoji {
    font-size: 56px;
    margin-bottom: 16px;
}

.persona h3 {
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.persona p {
    font-size: 15px;
    margin-bottom: 20px;
}

.persona-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.persona-benefit {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 600;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, white 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.testimonial {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease both;
}

.testimonial:nth-child(1) { animation-delay: 0s; }
.testimonial:nth-child(2) { animation-delay: 0.1s; }
.testimonial:nth-child(3) { animation-delay: 0.2s; }

.stars {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    align-items: center;
}

.stars svg {
    width: 18px;
    height: 18px;
    color: #fbbf24;
    fill: currentColor;
}

.testimonial-quote {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    border-top: 1px solid var(--card-border);
    padding-top: 16px;
}

.author-name {
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.author-role {
    font-size: 13px;
    color: #9CA3AF;
}

/* ===== ROADMAP ===== */
.roadmap {
    background: white;
}

.roadmap-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.roadmap-column h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--color-text-primary);
}

.roadmap-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    animation: slideInLeft 0.6s ease-out both;
}

.roadmap-column:first-child .roadmap-item:nth-child(1) { animation-delay: 0s; }
.roadmap-column:first-child .roadmap-item:nth-child(2) { animation-delay: 0.1s; }
.roadmap-column:first-child .roadmap-item:nth-child(3) { animation-delay: 0.2s; }
.roadmap-column:first-child .roadmap-item:nth-child(4) { animation-delay: 0.3s; }
.roadmap-column:last-child .roadmap-item:nth-child(1) { animation-delay: 0.1s; }
.roadmap-column:last-child .roadmap-item:nth-child(2) { animation-delay: 0.2s; }
.roadmap-column:last-child .roadmap-item:nth-child(3) { animation-delay: 0.3s; }
.roadmap-column:last-child .roadmap-item:nth-child(4) { animation-delay: 0.4s; }

.roadmap-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.roadmap-item h4 {
    margin-bottom: 6px;
    color: var(--color-text-primary);
}

.roadmap-item p {
    font-size: 14px;
    color: #6b7280;
}

/* ===== FINAL CTA ===== */
.final-cta {
    background: linear-gradient(135deg, #050B16 0%, #1a1f3a 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(11, 61, 145, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    color: white;
    margin-bottom: 20px;
}

.final-cta p {
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 18px;
}

/* ===== FOOTER ===== */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 30px;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-link {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.25s;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
}

.footer-copyright {
    opacity: 0.8;
}

.footer-mission {
    opacity: 0.7;
    font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .roadmap-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 640px) {
    .empathy-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .roadmap-content {
        grid-template-columns: 1fr;
    }
}
