/* ===== Fonts ===== */
@font-face { font-family: 'Estedad'; src: url('./fonts/Estedad-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Estedad'; src: url('./fonts/Estedad-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Estedad'; src: url('./fonts/Estedad-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Estedad'; src: url('./fonts/Estedad-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

/* ===== Variables ===== */
:root {
    --primary: #FFD700;
    --secondary: #002D5A;
    --accent: #00A8FF;
    --dark: #0d1117;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-500: #6c757d;
    --expo: cubic-bezier(0.19, 1, 0.22, 1);
    --transition: all 0.45s var(--expo);
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.07);
    --shadow-md: 0 15px 45px rgba(0,0,0,0.12);
    --shadow-lg: 0 30px 70px rgba(0,0,0,0.18);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #000d18; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
body {
    font-family: 'Estedad', Tahoma, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.8;
    overflow-x: hidden;
    animation: bodyIn 0.5s ease both;
}
a { text-decoration: none; color: inherit; }

/* ===== Keyframes ===== */
@keyframes bodyIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(55px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-25px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes rippleOut {
    to { transform: scale(400); opacity: 0; }
}

@keyframes borderPulse {
    0%,100% { border-color: rgba(255,215,0,0.2); box-shadow: 0 30px 80px rgba(0,45,90,0.15); }
    50%      { border-color: rgba(255,215,0,0.5); box-shadow: 0 30px 80px rgba(0,45,90,0.25); }
}

@keyframes dotPulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,215,0,0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(255,215,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); }
}

/* ===== Reveal System ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s var(--expo), transform 0.9s var(--expo);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* Ripple */
.ripple {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    transform: scale(0);
    animation: rippleOut 0.7s ease-out forwards;
    pointer-events: none;
    translate: -50% -50%;
}

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
header {
    position: fixed;
    width: 100%; top: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: all 0.4s ease;
    animation: fadeDown 0.7s ease both;
}
header.scrolled {
    padding: 12px 0;
    background: rgba(0,10,22,0.93);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
nav { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-size: 28px; font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; list-style: none; gap: 32px; align-items: center; }
.nav-links a {
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width 0.35s var(--expo);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.cta-btn a {
    background: var(--primary) !important;
    color: var(--secondary) !important;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255,215,0,0.3);
    transition: var(--transition) !important;
}
.cta-btn a::after { display: none; }
.cta-btn a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 28px rgba(255,215,0,0.48) !important;
    color: var(--secondary) !important;
}

/* ===== Hero ===== */
.hero {
    height: 100vh; min-height: 680px;
    width: 100%;
    position: relative;
    display: flex; align-items: center;
    background: url('./images/venhub.webp') no-repeat center center / cover;
    color: var(--white);
    overflow: hidden;
}
#hero-canvas {
    position: absolute; inset: 0;
    z-index: 1;
    pointer-events: none;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,10,22,0.9) 0%, rgba(0,45,90,0.75) 55%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}
.hero-content { position: relative; z-index: 3; max-width: 750px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,215,0,0.12);
    border: 1px solid rgba(255,215,0,0.32);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.88rem; font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    animation: fadeUp 0.8s var(--expo) 0.2s both;
}
.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotPulse 2s ease infinite;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 22px;
    line-height: 1.2;
    animation: fadeUp 0.9s var(--expo) 0.4s both;
}
.typing-text { color: var(--primary); position: relative; }
.typing-text::after {
    content: '|';
    margin-right: 3px;
    animation: blink 0.7s infinite;
}
.hero-text p {
    font-size: 1.18rem; font-weight: 400;
    margin-bottom: 38px;
    opacity: 0.85;
    max-width: 580px;
    animation: fadeUp 0.9s var(--expo) 0.6s both;
}
.btns {
    display: flex; gap: 16px; flex-wrap: wrap;
    animation: fadeUp 0.9s var(--expo) 0.8s both;
}

.btn-primary {
    background: var(--primary); color: var(--secondary);
    padding: 16px 42px; border-radius: 14px;
    font-weight: 700; font-size: 1.05rem;
    transition: var(--transition);
    position: relative; overflow: hidden;
    box-shadow: 0 6px 28px rgba(255,215,0,0.35);
}
.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 38px rgba(255,215,0,0.52);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--white);
    padding: 16px 42px; border-radius: 14px;
    font-weight: 600; font-size: 1.05rem;
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,215,0,0.45);
    transform: translateY(-5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 38px; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.45);
    font-size: 0.75rem;
    animation: bounce 2.5s ease-in-out infinite;
    letter-spacing: 0.3px;
}
.scroll-indicator .arrow {
    width: 22px; height: 22px;
    border-left: 2px solid rgba(255,215,0,0.55);
    border-bottom: 2px solid rgba(255,215,0,0.55);
    transform: rotate(-45deg);
}

/* ===== Stats ===== */
.stats-container { position: relative; z-index: 20; margin-top: -70px; }
.stats-wrapper {
    background: var(--white);
    display: flex; justify-content: space-around; align-items: center;
    padding: 44px 30px;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,45,90,0.18);
    border: 1px solid rgba(255,215,0,0.25);
    animation: borderPulse 4s ease-in-out infinite;
}
.stat-item {
    display: flex; align-items: center; gap: 20px;
    flex: 1; justify-content: center;
    transition: var(--transition);
}
.stat-item:hover { transform: scale(1.06); }
.stat-icon {
    width: 58px; height: 58px;
    background: linear-gradient(135deg, rgba(255,215,0,0.14), rgba(255,215,0,0.04));
    color: var(--secondary);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    border: 1px solid rgba(255,215,0,0.18);
    transition: var(--transition);
}
.stat-item:hover .stat-icon {
    background: var(--secondary);
    color: var(--primary);
    transform: rotate(12deg) scale(1.1);
}
.stat-number {
    font-size: 2.4rem; font-weight: 900;
    color: var(--secondary);
    margin-bottom: 4px; line-height: 1;
}
.stat-label { font-size: 0.93rem; color: var(--gray-500); font-weight: 500; }
.stat-divider {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(0,45,90,0.12), transparent);
}

/* ===== Section Header ===== */
.section-header { text-align: center; margin-bottom: 68px; }
.section-header h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    color: var(--secondary); font-weight: 800;
    margin-bottom: 18px;
}
.section-header .underline {
    width: 70px; height: 4px;
    background: linear-gradient(to left, var(--accent), var(--primary));
    margin: 0 auto; border-radius: 2px;
    transform: scaleX(0); transform-origin: center;
    transition: transform 1s var(--expo);
}
.section-header.active .underline { transform: scaleX(1); }

/* ===== Features ===== */
.features {
    padding: 130px 0;
    background: var(--gray-100);
    position: relative;
}
.features::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,45,90,0.1), transparent);
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
}
.card {
    background: var(--white);
    padding: 50px 38px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    position: relative; overflow: hidden;
    border: 1px solid transparent;
}
.card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to left, var(--accent), var(--primary));
    transform: scaleX(0); transform-origin: right;
    transition: transform 0.5s ease;
}
.card:hover {
    transform: translateY(-16px);
    box-shadow: 0 32px 65px rgba(0,45,90,0.14);
    border-color: rgba(255,215,0,0.2);
}
.card:hover::before { transform: scaleX(1); transform-origin: left; }
.card > svg {
    width: 48px; height: 48px;
    color: var(--secondary);
    margin: 0 auto 24px;
    display: block;
    transition: transform 0.5s var(--expo), color 0.3s;
}
.card:hover > svg { transform: scale(1.22) rotate(8deg); color: var(--primary); }
.card h3 { font-size: 1.35rem; font-weight: 700; color: var(--secondary); margin-bottom: 14px; }
.card p { color: var(--gray-500); font-size: 0.96rem; line-height: 1.75; }

/* ===== Products ===== */
.products-section { padding: 130px 0; background: var(--white); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px; margin-top: 50px;
}
.product-card {
    background: var(--white);
    border-radius: 24px; overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-14px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255,215,0,0.3);
}
.product-card-img { position: relative; overflow: hidden; height: 268px; }
.product-card img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.75s var(--expo);
}
.product-card:hover img { transform: scale(1.09); }
.product-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,10,25,0.85) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex; align-items: flex-end; padding: 24px;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-overlay .product-btn {
    transform: translateY(16px); opacity: 0;
    transition: transform 0.4s var(--expo) 0.05s, opacity 0.4s ease 0.05s;
}
.product-card:hover .product-card-overlay .product-btn {
    transform: translateY(0); opacity: 1;
}
.product-card-body { padding: 28px; }
.product-card-body h3 { font-size: 1.3rem; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.product-card-body p { color: var(--gray-500); font-size: 0.95rem; line-height: 1.7; }
.product-btn {
    display: inline-block;
    padding: 10px 22px;
    background: var(--primary); color: var(--secondary);
    border-radius: 10px; font-weight: 700; font-size: 0.9rem;
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.product-btn:hover { background: var(--white); }

/* ===== CTA ===== */
.cta-section {
    padding: 130px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, var(--gray-200) 100%);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; top: -180px; left: -180px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,45,90,0.05), transparent 70%);
    border-radius: 50%;
}
.cta-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 70px; align-items: center;
}
.cta-content .sub-title {
    font-size: 0.88rem; font-weight: 600;
    color: var(--accent);
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 14px;
}
.cta-content h1 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800; color: var(--secondary);
    margin-bottom: 18px; line-height: 1.35;
}
.cta-content p { color: var(--gray-500); line-height: 1.85; margin-bottom: 34px; font-size: 0.97rem; }
.features-list { list-style: none; }
.features-list li {
    margin-bottom: 16px; font-weight: 600;
    display: flex; align-items: center; gap: 14px;
    font-size: 0.97rem; color: var(--secondary);
}
.features-list svg { color: var(--primary); width: 20px; height: 20px; flex-shrink: 0; }

.cta-form-card {
    background: linear-gradient(155deg, #001525, #002d5a);
    padding: 44px 40px; border-radius: 24px;
    color: var(--white);
    box-shadow: 0 28px 65px rgba(0,10,25,0.38);
    border: 1px solid rgba(255,215,0,0.14);
    position: relative; overflow: hidden;
}
.cta-form-card::before {
    content: '';
    position: absolute; top: -50px; right: -50px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(255,215,0,0.1), transparent 70%);
    border-radius: 50%;
}
.cta-form-card h3 { color: var(--primary); font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.cta-form-card > p { font-size: 0.87rem; color: rgba(255,255,255,0.6); margin-bottom: 28px; }
.cta-form-card input {
    width: 100%;
    padding: 15px 18px; margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.07);
    color: var(--white); outline: none;
    font-family: inherit; font-size: 0.95rem;
    transition: border-color 0.3s, background 0.3s;
}
.cta-form-card input::placeholder { color: rgba(255,255,255,0.38); }
.cta-form-card input:focus {
    border-color: rgba(255,215,0,0.5);
    background: rgba(255,255,255,0.11);
}
.btn-submit {
    width: 100%; padding: 16px;
    background: var(--primary); color: var(--secondary);
    border: none; border-radius: 12px;
    font-weight: 800; font-size: 1rem;
    cursor: pointer; font-family: inherit;
    transition: var(--transition);
    position: relative; overflow: hidden;
    box-shadow: 0 6px 28px rgba(255,215,0,0.3);
    margin-top: 6px;
}
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 38px rgba(255,215,0,0.5);
}

/* ===== Footer ===== */
.main-footer { background: linear-gradient(180deg, #000f1f, #000810); color: #9aabb8; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 50px; }
.footer-logo { font-size: 28px; font-weight: 900; color: var(--white); display: block; margin-bottom: 18px; }
.footer-logo span { color: var(--primary); }
.footer-brand p { line-height: 1.85; font-size: 0.92rem; }
.footer-social { margin-top: 24px; display: flex; gap: 10px; }
.footer-social a {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px; color: #9aabb8;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary); color: var(--secondary);
    border-color: var(--primary); transform: translateY(-3px);
}
.footer-links h4, .footer-contact h4 { color: var(--white); font-weight: 700; margin-bottom: 22px; font-size: 1.05rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #7a8fa0; font-size: 0.92rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact p { margin-bottom: 12px; font-size: 0.9rem; display: flex; align-items: flex-start; gap: 10px; line-height: 1.65; }
.footer-contact svg { color: var(--primary); flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; }
.footer-social a svg { width: 18px; height: 18px; }
.stat-icon svg { width: 24px; height: 24px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; font-size: 0.84rem; color: #4a5a6a; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .cta-container { grid-template-columns: 1fr; max-width: 580px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.3rem; }
    .nav-links { display: none; }
    .btns { flex-direction: column; align-items: flex-start; }
    .stats-wrapper { flex-direction: column; gap: 26px; margin-top: -40px; padding: 30px; }
    .stat-divider { width: 80%; height: 1px; }
    .scroll-indicator { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-contact p { justify-content: center; }
}
@media (max-width: 480px) {
    .hero-badge { font-size: 0.8rem; }
    .hero-text h1 { font-size: 1.95rem; }
    .hero-text p { font-size: 1rem; }
}
