/* Home Page V2 - Sophisticated Light Design */

/* ================================
   Font Import
   ================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ================================
   CSS Variables
   ================================ */
:root {
    --home-bg: #ffffff;
    --home-bg-subtle: #f8fafc;
    --home-surface: #ffffff;
    --home-border: #e2e8f0;
    --home-text: #0f172a;
    --home-text-secondary: #475569;
    --home-text-muted: #64748b;
    --home-accent: #3b82f6;
    --home-accent-light: #eff6ff;
    --home-gradient-1: #3b82f6;
    --home-gradient-2: #8b5cf6;
    --home-gradient-3: #ec4899;
}

/* ================================
   Base Styles
   ================================ */
.home-page {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.home-page * {
    font-family: inherit;
}

/* ================================
   Hero Section
   ================================ */
.hero-v2 {
    position: relative;
    padding: 2.5rem 1.5rem 2rem;
    margin-top: 70px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--home-bg-subtle) 0%, var(--home-bg) 100%);
}

.hero-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 20% 30%, rgba(236, 72, 153, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

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

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--home-text-secondary);
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    animation: fadeInUp 0.6s ease;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--home-accent);
}

/* Title */
.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--home-text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--home-gradient-1) 0%, var(--home-gradient-2) 50%, var(--home-gradient-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--home-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* CTA Buttons */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--home-gradient-1) 0%, var(--home-gradient-2) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.hero-btn-secondary {
    background: var(--home-surface);
    color: var(--home-text);
    border-color: var(--home-border);
}

.hero-btn-secondary:hover {
    background: var(--home-bg-subtle);
    border-color: var(--home-accent);
    color: var(--home-accent);
}

/* Trust Indicators */
.hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--home-text-muted);
}

.hero-trust-item svg {
    width: 18px;
    height: 18px;
    color: #10b981;
}

@media (max-width: 640px) {
    .hero-trust {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ================================
   Section Headers
   ================================ */
.section-header-v2 {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    background: var(--home-accent-light);
    color: var(--home-accent);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.section-title-v2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--home-text);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title-v2 .gradient-text {
    background: linear-gradient(135deg, var(--home-gradient-1) 0%, var(--home-gradient-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle-v2 {
    font-size: 1.125rem;
    color: var(--home-text-muted);
    line-height: 1.6;
}

/* ================================
   Stats Section
   ================================ */
.stats-v2 {
    background: linear-gradient(135deg, var(--home-gradient-1) 0%, var(--home-gradient-2) 100%);
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.stats-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stats-container-v2 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .stats-container-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item-v2 {
    text-align: center;
    color: white;
}

.stat-value-v2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label-v2 {
    font-size: 0.9375rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ================================
   Feature Cards
   ================================ */
.feature-card-v2 {
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card-v2:hover {
    border-color: var(--home-accent);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
}

.feature-icon-v2 {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--home-gradient-1) 0%, var(--home-gradient-2) 100%);
}

.feature-icon-v2 img,
.feature-icon-v2 svg {
    width: 28px;
    height: 28px;
    color: white;
}

.feature-card-v2 h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 0.625rem;
}

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

/* ================================
   Tool Cards
   ================================ */
.tool-card-home {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tool-card-home:hover {
    border-color: var(--home-accent);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.tool-card-home .tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-card-home .tool-icon img {
    width: 24px;
    height: 24px;
}

.tool-card-home .tool-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--home-text);
    margin-bottom: 0.125rem;
}

.tool-card-home .tool-info p {
    font-size: 0.8125rem;
    color: var(--home-text-muted);
}

/* ================================
   Testimonial Cards
   ================================ */
.testimonial-card-v2 {
    background: var(--home-bg-subtle);
    border-radius: 1rem;
    padding: 1.75rem;
    border: 1px solid var(--home-border);
}

.testimonial-stars-v2 {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars-v2 svg {
    width: 18px;
    height: 18px;
    color: #fbbf24;
    fill: #fbbf24;
}

.testimonial-text-v2 {
    font-size: 0.9375rem;
    color: var(--home-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.testimonial-author-v2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar-v2 {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--home-gradient-1) 0%, var(--home-gradient-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1rem;
}

.testimonial-author-info-v2 strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--home-text);
}

.testimonial-author-info-v2 span {
    font-size: 0.8125rem;
    color: var(--home-text-muted);
}

/* ================================
   CTA Section
   ================================ */
.cta-v2 {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.cta-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-title-v2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-subtitle-v2 {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* ================================
   Responsive
   ================================ */
@media (max-width: 768px) {
    .hero-v2 {
        padding: 2rem 1rem 1.5rem;
    }

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

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
    }
}

