/* ============================================================
   CAMPUSIVA MARKETING WEBSITE — STYLES
   ============================================================ */

:root {
    --primary: #1565C0;
    --navy: #0D1B6E;
    --green: #2E7D32;
    --orange: #F57C00;
    --purple: #6A1B9A;
    --light-bg: #F5F8FF;
    --text-dark: #1A237E;
    --text-muted: #5C7A9E;
}

* { box-sizing: border-box; }

body {
    font-family: 'Nunito', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* ---- Navbar ---- */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.navbar.scrolled {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
}
.navbar-brand img { height: 90px; transition: height 0.3s; }
.navbar.scrolled .navbar-brand img { height: 65px; }
.nav-link { font-weight: 700; color: var(--navy) !important; margin: 0 8px; font-size: 0.9rem; }
.nav-link:hover { color: var(--primary) !important; }

/* ---- Hero ---- */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0D1B6E 0%, #1565C0 50%, #0288D1 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 28px;
}
.hero-image {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
    border: 3px solid rgba(255,255,255,0.15);
}
.hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
}
.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}
.hero-section .btn-primary {
    background: #fff !important;
    color: var(--navy) !important;
    border: none;
    font-weight: 800;
    padding: 14px 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.hero-section .btn-primary:hover {
    background: #E3F2FD !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.hero-section .btn-outline-primary {
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
    font-weight: 700;
    padding: 14px 28px;
}
.hero-section .btn-outline-primary:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* ---- Sections ---- */
.section-padding { padding: 80px 0; }
.section-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 8px;
}
.section-header p { font-size: 1.1rem; }

/* ---- Feature Cards ---- */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #E8EEF8;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--navy));
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(21,101,192,0.15);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-icon i { color: #fff; font-size: 1.4rem; }
.feature-card h5 { font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* ---- Module Cards ---- */
.module-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 12px;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #E8EEF8;
}
.module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(21,101,192,0.1);
}
.module-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--light-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.module-icon i { color: var(--primary); font-size: 1.2rem; }
.module-card h6 { font-weight: 700; color: var(--navy); font-size: 0.85rem; margin-bottom: 4px; }
.module-card small { font-size: 0.75rem; line-height: 1.4; }

/* ---- Pricing ---- */
.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 2px solid #E8EEF8;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(21,101,192,0.12);
}
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(21,101,192,0.15);
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.pricing-card h4 { font-weight: 800; color: var(--navy); }
.price { margin: 16px 0; }
.price .currency { font-size: 1rem; color: var(--text-muted); vertical-align: top; }
.price .amount { font-size: 2.5rem; font-weight: 900; color: var(--navy); }
.price .cycle { font-size: 0.9rem; color: var(--text-muted); }
.plan-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.plan-features { list-style: none; padding: 0; text-align: left; flex-grow: 1; }
.plan-features li { padding: 6px 0; font-size: 0.9rem; color: #555; }
.plan-features li i { color: var(--green); margin-right: 8px; }

/* ---- Testimonials ---- */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    border: 1px solid #E8EEF8;
}
.testimonial-card .quote {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin: 12px 0;
}
.testimonial-card .author strong { display: block; color: var(--navy); }
.testimonial-card .author small { color: var(--text-muted); }

/* ---- Demo Form ---- */
.demo-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(13,27,110,0.1);
}
.demo-benefits { list-style: none; padding: 0; }
.demo-benefits li { padding: 8px 0; font-size: 1rem; }
.demo-benefits li i { margin-right: 10px; }

/* ---- Footer ---- */
.footer-links { list-style: none; padding: 0; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.contact-info { list-style: none; padding: 0; }
.contact-info li { padding: 6px 0; color: rgba(255,255,255,0.7); }
.social-links a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 8px;
    text-decoration: none;
    transition: background 0.3s;
}
.social-links a:hover { background: var(--primary); }

/* ---- Buttons ---- */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--navy));
    border: none;
    border-radius: 8px;
    font-weight: 700;
    padding: 12px 24px;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--navy), #000);
    transform: translateY(-1px);
}
.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 700;
    padding: 12px 24px;
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: 16px; }
    .section-padding { padding: 50px 0; }
    .section-header h2 { font-size: 1.6rem; }
}

/* ---- Additional Visual Polish ---- */

/* Floating shapes in hero */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

/* Section divider wave */
.section-wave {
    position: relative;
    margin-top: -2px;
}
.section-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--navy));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for CTA */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(21,101,192,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(21,101,192,0); }
    100% { box-shadow: 0 0 0 0 rgba(21,101,192,0); }
}
.btn-pulse { animation: pulse 2s infinite; }

/* Trusted by section */
.trusted-section {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid #E8EEF8;
}
.trusted-section h6 {
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.75rem;
}
.trusted-logos img {
    height: 40px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s;
    margin: 0 20px;
}
.trusted-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--navy));
    padding: 60px 0;
    text-align: center;
    color: #fff;
}
.cta-section h2 { font-weight: 900; margin-bottom: 12px; }
.cta-section p { opacity: 0.85; font-size: 1.1rem; margin-bottom: 24px; }
.cta-section .btn {
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Module cards hover effect */
.module-card:hover .module-icon {
    background: linear-gradient(135deg, var(--primary), var(--navy));
}
.module-card:hover .module-icon i { color: #fff; }

/* Testimonial card quote mark */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card { position: relative; }

/* Pricing popular glow */
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(21,101,192,0.2);
    transform: scale(1.02);
}


/* ---- Sticky WhatsApp Button ---- */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: whatsappPulse 2s infinite;
}
.whatsapp-sticky:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
}
@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
