/* ========================================
   HOME PAGE STYLES
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
}

.hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 40px rgba(255,255,255,0.15)) drop-shadow(0 0 80px rgba(255,255,255,0.05));
    opacity: 0;
    animation: heroIconIn 1s ease forwards, float 6s ease-in-out 1s infinite;
}

@keyframes heroIconIn {
    from { opacity: 0; transform: translateY(30px) scale(0.8); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero h1 {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 24px;
}

.hero h1 .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: charReveal 0.6s ease forwards;
}

@keyframes charReveal {
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-dim);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-tagline {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
    margin-bottom: 40px;
}

/* === CTA BUTTON === */
.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
    margin-bottom: 24px;
}

.btn-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #0a0a0a;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    background-size: 200% 200%;
    animation: ctaShimmer 3s ease-in-out infinite;
    padding: 18px 40px;
    border-radius: 16px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 30px rgba(255,255,255,0.15),
        0 0 60px rgba(255,255,255,0.05),
        0 4px 20px rgba(0,0,0,0.4);
    overflow: hidden;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 0 50px rgba(255,255,255,0.25),
        0 0 100px rgba(255,255,255,0.1),
        0 8px 40px rgba(0,0,0,0.4);
}

.btn-cta:active {
    transform: translateY(0) scale(0.98);
}

@keyframes ctaShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-cta-pulse {
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent, rgba(255,255,255,0.2));
    opacity: 0;
    animation: ctaPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

.btn-cta-pulse.delay {
    animation-delay: 1.25s;
}

@keyframes ctaPulse {
    0% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.06); }
    100% { opacity: 0; transform: scale(1.12); }
}

.btn-cta-content {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.btn-cta-icon {
    font-size: 22px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.btn-cta-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.btn-cta-text strong {
    font-size: 16px;
    letter-spacing: 2px;
}

.btn-cta-text small {
    font-size: 11px;
    font-weight: 500;
    color: #555;
    letter-spacing: 0.5px;
}

.btn-cta-arrow {
    font-size: 20px;
    font-weight: 300;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-cta:hover .btn-cta-arrow {
    transform: translateX(5px);
}

.hero-actions {
    display: flex;
    gap: 16px;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.typing-text {
    display: inline;
    border-right: 2px solid var(--text-dim);
    padding-right: 4px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.scroll-indicator span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* === SECTIONS === */
.section {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === CARDS === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card:hover::before { opacity: 1; }

.card-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
}

.card .arrow {
    display: inline-block;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 20px;
    transition: transform 0.3s, color 0.3s;
}

.card:hover .arrow {
    transform: translateX(6px);
    color: var(--text);
}

/* === STATS === */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .section { padding: 60px 20px; }
    .stats-row { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .hero h1 { letter-spacing: -1px; }
}
