/* ---------------------------
   Root Variables (Theme System)
---------------------------- */

:root {
    /* Blue (Default) */
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;

    /* Emerald */
    /* --primary-color: #10b981;
    --primary-hover: #059669;
    --primary-light: #ecfdf5; */

    /* Orange */
    /* --primary-color: #f97316;
    --primary-hover: #ea580c;
    --primary-light: #fff7ed; */



    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;

    --bg-main: #f8fafc;
    --bg-soft: #f9fafb;
    --bg-white: #ffffff;

    --border-color: #e5e7eb;

    --shadow-sm: 0 10px 20px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 30px 60px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 40px 80px rgba(15, 23, 42, 0.12);
}


/* ---------------------------
   Base Styles
---------------------------- */

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.7;
    width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ---------------------------
   Header
---------------------------- */

.main-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-weight: 700;
}

.nav-link {
    color: var(--text-muted);
    margin-left: 20px;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-color);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(15,23,42,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* ---------------------------
   Buttons
---------------------------- */

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    border: none;
    padding: 12px 26px;
    border-radius: 999px;
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.35);
}

.btn-outline-primary {
    border: 1px solid #c7d2fe;
    color: var(--primary-color);
    background: transparent;
    border-radius: 999px;
}


/* ---------------------------
   Hero Section
---------------------------- */

.hero-section {
    min-height: 100vh;
    padding: 130px 0 90px;
    background:
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 45%),
        radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.08), transparent 45%);
}

.hero-badge,
.section-badge {
    padding: 6px 16px;
    font-size: 13px;
    color: var(--primary-color);
    background: var(--primary-light);
    border-radius: 999px;
}

.hero-title span {
    color: var(--primary-color);
}


.hero-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 22px;
}

.hero-text {
    max-width: 520px;
    font-size: 17px;
    color: #475569;
    margin-bottom: 36px;
}

/* ---------------------------
   Hero Visual
---------------------------- */

.hero-visual {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-visual img {
    max-width: 100%;
    background: #ffffff;
    border-radius: 22px;
    box-shadow:
        0 40px 80px rgba(15, 23, 42, 0.12),
        0 10px 20px rgba(15, 23, 42, 0.06);
}

/* Floating animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }

    100% {
        transform: translateY(0);
    }
}

/* ---------------------------
   Responsive Styles
---------------------------- */

@media (max-width: 991px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-section {
        padding-top: 110px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 14px;
        overflow: hidden;
    }

    .feature-card,
    .pricing-card,
    .testimonial-card {
        transform: none !important;
    }
}

/* ---------------------------
   Section Utilities
---------------------------- */

.section-title {
    font-size: 38px;
    font-weight: 700;
}

.section-text {
    font-size: 16px;
    color: var(--text-muted);
}


/* ---------------------------
   Features Section
---------------------------- */

.features-section {
    padding: 110px 0;
    background: var(--bg-white);
}

.feature-card {
    padding: 32px 28px;
    background: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 54px;
    height: 54px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 20px;
}


.feature-icon img {
    width: 23px;
    height: 23px;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: #475569;
    margin-bottom: 0;
}

/* ---------------------------
   Responsive Adjustments
---------------------------- */

@media (max-width: 991px) {
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .features-section {
        padding: 80px 0;
    }
}

/* ---------------------------
   About Section
---------------------------- */

.about-section {
    padding: 120px 0;
    background: var(--bg-soft);
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

/* About List */

.about-list {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.about-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 15px;
    color: #475569;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    color: var(--primary-color);
}

/* Responsive */

@media (max-width: 991px) {
    .about-section {
        padding: 90px 0;
    }
}


/* ---------------------------
   Testimonials Section
---------------------------- */

.testimonials-section {
    padding: 110px 0;
    background: var(--bg-soft);
}

.testimonial-card {
    height: 100%;
    padding: 34px 30px;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #e5e7eb;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 30px 60px rgba(15, 23, 42, 0.08),
        0 12px 24px rgba(15, 23, 42, 0.05);
}

.testimonial-text {
    font-size: 16px;
    color: #475569;
    margin-bottom: 26px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-user img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-user h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.testimonial-user span {
    font-size: 13px;
    color: #64748b;
}

/* ---------------------------
   Responsive Adjustments
---------------------------- */

@media (max-width: 575px) {
    .testimonials-section {
        padding: 80px 0;
    }
}

/* ---------------------------
   Pricing Section
---------------------------- */

.pricing-section {
    padding: 110px 0;
    background: var(--bg-white);
}

.pricing-card {
    position: relative;
    height: 100%;
    padding: 38px 32px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 35px 70px rgba(15, 23, 42, 0.08),
        0 14px 28px rgba(15, 23, 42, 0.06);
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.plan-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 22px;
}

.plan-price {
    margin-bottom: 26px;
}

.plan-price span {
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
}

.plan-price small {
    font-size: 14px;
    color: #64748b;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.plan-features li {
    font-size: 14px;
    color: #475569;
    margin-bottom: 10px;
    position: relative;
    padding-left: 18px;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

/* Popular Plan Highlight */

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #ffffff;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 999px;
}

/* ---------------------------
   Responsive Adjustments
---------------------------- */

@media (max-width: 575px) {
    .pricing-section {
        padding: 80px 0;
    }

    .pricing-card.popular {
        transform: none;
    }
}

/* ---------------------------
   Contact Section
---------------------------- */

.contact-section {
    padding: 120px 0;
    background: var(--bg-soft);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.contact-info li {
    font-size: 15px;
    color: #475569;
    margin-bottom: 10px;
}

/* Contact Form Box */

.contact-form-box {
    background: #ffffff;
    padding: 36px 34px;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    box-shadow:
        0 30px 60px rgba(15, 23, 42, 0.06),
        0 12px 24px rgba(15, 23, 42, 0.04);
}

.form-control {
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    color: #0f172a;
}

.form-control:focus {
    border-color: #4f46e5;
    box-shadow: none;
}

/* ---------------------------
   Responsive Adjustments
---------------------------- */

@media (max-width: 575px) {
    .contact-section {
        padding: 90px 0;
    }
}

/* ---------------------------
   Footer
---------------------------- */

.main-footer {
    padding: 80px 0 30px;
    background: var(--bg-white);
    border-top: 1px solid #e5e7eb;
}

.footer-brand {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-text {
    font-size: 14px;
    color: #475569;
    max-width: 340px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #475569;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #4f46e5;
}

/* Newsletter */

.footer-form {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-form input {
    flex: 1;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.footer-form button {
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 12px;
    border: none;
    background: #4f46e5;
    color: #ffffff;
    transition: background 0.25s ease;
}

.footer-form button:hover {
    background: #4338ca;
}

/* Footer Bottom */

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* ---------------------------
   Responsive Footer
---------------------------- */

@media (max-width: 575px) {
    .footer-form {
        flex-direction: column;
    }

    .footer-form input,
    .footer-form button {
        width: 100%;
    }
}

/* ---------------------------
   Scroll Animations
---------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Variations */

.fade-up {
    transform: translateY(40px);
}

.fade-left {
    transform: translateX(40px);
}

.fade-right {
    transform: translateX(-40px);
}

.scale-up {
    transform: scale(0.92);
}

/* Active States */

.reveal.active.fade-left,
.reveal.active.fade-right {
    transform: translateX(0);
}

.reveal.active.scale-up {
    transform: scale(1);
}

/* Delays */

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

@media (max-width: 768px) {
    .fade-left,
    .fade-right {
        transform: translateY(40px);
    }
}
