/* HEADER BASE */
.site-header {
    transition: all 0.3s ease;
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* HEIGHT */
.header-inner {
    height: 64px;
}

@media (min-width: 992px) {
    .header-inner {
        height: 80px;
    }
}

/* LOGO */
.logo-box {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #2563eb, #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* NAV LINKS */
.nav-link-custom {
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: 0.2s ease;
}

.nav-link-custom:hover {
    color: #2563eb;
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #eee;
}

.mobile-menu.show {
    display: block;
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
}

.mobile-link:hover {
    color: #2563eb;
}

/* ===== HERO BACKGROUND ===== */

.hero-section {
    padding-top: 140px;
    padding-bottom: 120px;
    background: linear-gradient(135deg,#eff6ff,#ffffff,#fff7ed);
}

.hero-grid {
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(#e5e7eb 1px, transparent 1px),
        linear-gradient(90deg,#e5e7eb 1px, transparent 1px);
    background-size:40px 40px;
    mask-image: linear-gradient(to bottom,#fff,rgba(255,255,255,.6));
    opacity:.4;
}

/* ===== TEXT ===== */

.hero-title {
    font-size: clamp(3rem,6vw,4.5rem);
    font-weight: 800;
    line-height:1.1;
}

.gradient-text {
    background: linear-gradient(90deg,#2563eb,#3b82f6,#f97316);
    -webkit-background-clip:text;
    color:transparent;
}

.hero-subtitle {
    font-size:1.25rem;
    color:#6b7280;
    max-width:560px;
}

/* ===== BADGE ===== */

.hero-badge {
    display:inline-flex;
    gap:.5rem;
    align-items:center;
    background: linear-gradient(90deg,#2563eb,#1d4ed8);
    color:white;
    padding:.5rem 1rem;
    border-radius:999px;
    font-size:.85rem;
    box-shadow:0 10px 25px rgba(37,99,235,.35);
}

/* ===== BUTTONS ===== */

.hero-btn-primary {
    padding:1rem 2.5rem;
    font-size:1.1rem;
    border-radius:1rem;
    transition:.3s;
}

.hero-btn-primary:hover {
    transform:scale(1.05);
}

.hero-btn-outline {
    border-width:2px;
    padding:1rem 2.5rem;
    font-size:1.1rem;
    border-radius:1rem;
}

.hero-btn-outline:hover {
    background:#f97316;
    color:white;
}

/* ===== CHECKS ===== */

.hero-check {
    display:flex;
    align-items:center;
    gap:.5rem;
    font-weight:500;
    color:#374151;
}

.hero-check i {
    background:#dcfce7;
    color:#16a34a;
    border-radius:50%;
    padding:.35rem;
}

/* ===== DASHBOARD ===== */

.dashboard-card {
    background:white;
    border-radius:1.75rem;
    padding:2rem;
    box-shadow:0 40px 80px rgba(0,0,0,.12);
    border:2px solid #f3f4f6;
    transition:.5s;
}

.dashboard-card:hover {
    transform:scale(1.05);
}

/* ===== STATS ===== */

.stat-card {
    padding:1.25rem;
    border-radius:1.25rem;
    color:white;
    transition:.3s;
}

.stat-card:hover {
    transform:scale(1.05);
}

.bg-blue {background:linear-gradient(135deg,#3b82f6,#2563eb);}
.bg-orange {background:linear-gradient(135deg,#f97316,#ea580c);}
.bg-green {background:linear-gradient(135deg,#22c55e,#16a34a);}
.bg-purple {background:linear-gradient(135deg,#a855f7,#7e22ce);}

/* ===== CHART ===== */

.chart-card {
    background:linear-gradient(135deg,#f9fafb,#f3f4f6);
    padding:1.5rem;
    border-radius:1.25rem;
}

.chart-bars {
    display:flex;
    align-items:flex-end;
    gap:.5rem;
    height:120px;
}

.chart-bars div {
    flex:1;
    background:linear-gradient(180deg,#2563eb,#60a5fa);
    border-radius:.5rem .5rem 0 0;
    transition:.3s;
}

.chart-bars div:hover {
    background:linear-gradient(180deg,#ea580c,#fb923c);
}

.chart-labels {
    display:flex;
    justify-content:space-between;
    font-size:.75rem;
    color:#6b7280;
}

/* ===== BLOBS ===== */

.blob {
    position:absolute;
    width:380px;
    height:380px;
    border-radius:50%;
    filter:blur(90px);
    opacity:.25;
    animation:blob 10s infinite;
}

.blob-blue {
    background:#60a5fa;
    top:-60px;
    right:-60px;
}

.blob-orange {
    background:#fdba74;
    bottom:-60px;
    left:-60px;
    animation-delay:2s;
}

@keyframes blob {
    0%,100% {transform:translate(0,0);}
    50% {transform:translate(40px,-30px);}
}

/* ===== FADE UP ===== */

.fade-up {
    animation:fadeUp .8s ease forwards;
}

.delay-2 {animation-delay:.2s;}

@keyframes fadeUp {
    from {opacity:0; transform:translateY(30px);}
    to {opacity:1; transform:none;}
}
/* ===== FEATURES SECTION ===== */

.features-section {
    padding: 6rem 0 7rem;
    background: white;
}

/* Heading */

.features-heading {
    max-width: 720px;
    margin-bottom: 5rem;
}

.features-badge {
    display:inline-block;
    background:#ffedd5;
    color:#c2410c;
    padding:.5rem 1.25rem;
    border-radius:999px;
    font-size:.85rem;
    font-weight:600;
    margin-bottom:1.5rem;
}

.features-title {
    font-size: clamp(2.5rem,5vw,3.75rem);
    font-weight:800;
    margin-bottom:1.5rem;
}

.features-subtitle {
    font-size:1.2rem;
    color:#6b7280;
}

/* Cards */

.feature-card {
    position:relative;
    background:white;
    border-radius:1.5rem;
    padding:2rem;
    height:100%;
    border:2px solid #f3f4f6;
    transition:.35s ease;
    overflow:hidden;
}

.feature-card::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
}

/* Hover */

.feature-card:hover {
    transform:translateY(-12px);
    box-shadow:0 30px 60px rgba(0,0,0,.15);
}

.feature-card:hover h3 {
    color:#2563eb;
}

/* Gradient strips */

.gradient-blue::before {
    background:linear-gradient(90deg,#3b82f6,#2563eb);
}

.gradient-orange::before {
    background:linear-gradient(90deg,#f97316,#ea580c);
}

.gradient-green::before {
    background:linear-gradient(90deg,#22c55e,#16a34a);
}

.gradient-purple::before {
    background:linear-gradient(90deg,#a855f7,#7e22ce);
}

/* Icons */

.feature-icon {
    width:64px;
    height:64px;
    border-radius:1rem;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:1.5rem;
    font-size:2rem;
    box-shadow:0 10px 20px rgba(0,0,0,.1);
    transition:.35s ease;
}

.feature-card:hover .feature-icon {
    transform:scale(1.1) rotate(3deg);
}

/* Soft backgrounds */

.bg-blue-soft { background:#dbeafe; }
.bg-orange-soft { background:#ffedd5; }
.bg-green-soft { background:#dcfce7; }
.bg-purple-soft { background:#f3e8ff; }

.text-blue { color:#2563eb; }
.text-orange { color:#ea580c; }
.text-green { color:#16a34a; }
.text-purple { color:#7e22ce; }

/* ===== BENEFITS SECTION ===== */

.benefits-section {
    padding: 6rem 0 7rem;
    background: linear-gradient(135deg,#f9fafb,#eff6ff);
}

/* Heading */

.benefits-heading {
    max-width: 720px;
    margin-bottom: 5rem;
}

.benefits-badge {
    display:inline-block;
    background:#dbeafe;
    color:#1d4ed8;
    padding:.5rem 1.25rem;
    border-radius:999px;
    font-size:.85rem;
    font-weight:600;
    margin-bottom:1.5rem;
}

.benefits-title {
    font-size: clamp(2.5rem,5vw,3.75rem);
    font-weight:800;
    margin-bottom:1.5rem;
}

.benefits-subtitle {
    font-size:1.2rem;
    color:#6b7280;
}

/* Items */

.benefit-item h3 {
    font-weight:700;
    margin-bottom:.5rem;
}

.benefit-item p {
    color:#6b7280;
}

/* Icon box */

.benefit-icon {
    width:96px;
    height:96px;
    margin:0 auto 1.5rem;
    background:linear-gradient(135deg,#3b82f6,#2563eb);
    border-radius:1.75rem;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:3rem;
    box-shadow:0 25px 40px rgba(37,99,235,.35);
    transition:.35s ease;
}

.benefit-item:hover .benefit-icon {
    transform:scale(1.1) rotate(3deg);
}

/* =====================================
   PRICING — EMERGENT STYLE
===================================== */

.pricing-section {
    padding:6rem 0;
    background:#fff;
}

/* heading */

.pricing-heading {
    max-width:760px;
    margin-bottom:5rem;
}

.pricing-badge {
    display:inline-block;
    background:#dcfce7;
    color:#15803d;
    padding:.45rem 1.25rem;
    border-radius:999px;
    font-size:.85rem;
    font-weight:600;
    margin-bottom:1.25rem;
}

.pricing-title {
    font-size:clamp(2.5rem,5vw,3.75rem);
    font-weight:800;
    letter-spacing:-.02em;
    margin-bottom:1.25rem;
}

.pricing-subtitle {
    font-size:1.15rem;
    color:#6b7280;
}

/* grid width */

.pricing-grid {
    max-width:1150px;
    margin-inline:auto;
}

/* cards */

.pricing-card {
    background:#fff;
    border:2px solid #e5e7eb;
    border-radius:1.5rem;
    padding:2.5rem;
    height:100%;
    position:relative;
    transition:all .35s ease;
    display:flex;
    flex-direction:column;
}

.pricing-card:hover {
    transform:translateY(-8px);
    border-color:#2563eb;
    box-shadow:0 35px 80px rgba(37,99,235,.15);
}

/* featured middle */

.pricing-card.featured {
    border:4px solid #2563eb;
    transform:scale(1.05);
    z-index:2;
}

/* ribbon */

.popular-ribbon {
    position:absolute;
    top:0;
    left:0;
    right:0;
    background:linear-gradient(90deg,#2563eb,#1d4ed8);
    color:white;
    text-align:center;
    padding:.45rem;
    font-size:.7rem;
    font-weight:700;
    border-radius:1.25rem 1.25rem 0 0;
}

/* plan name */

.pricing-card h3 {
    font-size:1.4rem;
    font-weight:700;
}

/* price */
.price {
    font-size:3rem;
    font-weight:800;
    color:#111827;
}

.price-unit {
    color:#6b7280;
}

.price-wrap small {
    display:block;
    margin-top:.25rem;
    color:#9ca3af;
}

/* buttons */

.border-theme.theme-color {
    border:2px solid #111827!important;
    color:#111827;
    background:#fff;
    font-weight:600;
    padding:1.1rem;
    border-radius:1rem;
}

.border-theme.theme-color:hover {
    background:#111827;
    color:white;
}

.theme-color-bg {
    background:linear-gradient(90deg,#2563eb,#1d4ed8);
    border:none!important;
    font-weight:600;
    padding:1.1rem;
    border-radius:1rem;
}

.theme-color-bg:hover {
    opacity:.95;
}

/* =====================================
   PRICING — BUTTON BOTTOM ALIGN FIX
===================================== */

/* make card a vertical layout */

.pricing-card {
    display:flex;
    flex-direction:column;
}

/* push feature list + button down */

.pricing-features {
    flex-grow:1;
}

/* wrap button spacing */

.pricing-card a {
    margin-top:auto;
}

/* ensure button consistent height */

.pricing-card .btn {
    min-height:56px;
}

/* featured stays clean */

.pricing-card.featured {
    display:flex;
    flex-direction:column;
}

/* feature list */

.pricing-features {
    list-style:none;
    padding:0;
    margin-top:2rem;
}

.pricing-features li {
    display:flex;
    align-items:flex-start;
    gap:.75rem;
    margin-bottom:.85rem;
    font-size:.95rem;
    color:#374151;
}

/* icon colors */

.pricing-features i {
    font-size:.9rem;
    margin-top:.2rem;
}

.pricing-card:not(.featured) .pricing-features i {
    color:#16a34a;
}

.pricing-card.featured .pricing-features i {
    color:#2563eb;
}

/* mobile */

@media(max-width:991px){

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

}

@media(max-width:575px){

    .pricing-section {
        padding:4.5rem 0;
    }

    .pricing-title {
        font-size:2.25rem;
    }

}


/* ===== STATS ===== */

.stats-section {
    padding:5rem 0 6rem;
    background:linear-gradient(135deg,#2563eb,#1e40af);
    color:white;
}

/* grid overlay */

.stats-grid {
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.15) 1px, transparent 1px);
    background-size:40px 40px;
    opacity:.3;
}

/* Text */

.stats-title {
    font-size:clamp(2rem,4vw,3rem);
    font-weight:700;
}

.stats-subtitle {
    color:#bfdbfe;
    font-size:1.1rem;
}

/* Numbers */

.stat-number {
    font-size:clamp(2.5rem,5vw,3.25rem);
    font-weight:800;
}

.stat-label {
    color:#bfdbfe;
    font-size:1.1rem;
}
/* ===== TESTIMONIALS ===== */

.testimonials-section {
    padding:5rem 0 6rem;
    background:#f9fafb;
}

/* Heading */

.testimonials-heading {
    max-width:720px;
    margin-bottom:4rem;
}

.testimonials-badge {
    background:#fff7ed;
    color:#c2410c;
    border:1px solid #fed7aa;
    padding:.4rem 1.1rem;
    border-radius:999px;
    font-size:.8rem;
    font-weight:600;
    display:inline-block;
    margin-bottom:1rem;
}

.testimonials-title {
    font-size:clamp(2rem,4vw,3rem);
    font-weight:700;
}

.testimonials-subtitle {
    color:#6b7280;
    font-size:1.1rem;
}

/* Cards */

.testimonial-card {
    background:white;
    border:1px solid #e5e7eb;
    border-radius:1.25rem;
    padding:2rem;
    height:100%;
    transition:.3s ease;
}

.testimonial-card:hover {
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

/* Stars */

.stars i {
    color:#f97316;
    margin-right:2px;
}

/* Text */

.testimonial-text {
    font-style:italic;
    color:#374151;
    line-height:1.6;
}

/* Footer */

.testimonial-footer {
    margin-top:1.5rem;
    padding-top:1rem;
    border-top:1px solid #e5e7eb;
}

.testimonial-footer span {
    display:block;
    font-size:.9rem;
    color:#6b7280;
}
/* ===== CTA ===== */

.cta-section {
    padding:5rem 0 6rem;
    background:linear-gradient(90deg,#f97316,#ea580c);
    color:white;
}

/* grid overlay */

.cta-grid {
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.15) 1px, transparent 1px);
    background-size:40px 40px;
    opacity:.3;
}

/* Inner */

.cta-inner {
    max-width:720px;
}

/* Text */

.cta-title {
    font-size:clamp(2rem,4vw,3rem);
    font-weight:700;
}

.cta-subtitle {
    font-size:1.2rem;
    color:#ffedd5;
}

/* Buttons */

.cta-btn-primary {
    padding:1rem 2rem;
    font-weight:600;
    border-radius:.75rem;
    box-shadow:0 15px 30px rgba(0,0,0,.2);
    transition:.3s ease;
}

.cta-btn-primary:hover {
    transform:translateY(-3px);
}

.cta-btn-outline {
    padding:1rem 2rem;
    border-width:2px;
}
/* ===== CONTACT ===== */

.contact-section {
    padding:5rem 0 6rem;
    background:white;
}

.contact-wrapper {
    max-width:960px;
}

/* Heading */

.contact-title {
    font-size:clamp(2rem,4vw,3rem);
    font-weight:700;
}

.contact-subtitle {
    color:#6b7280;
    font-size:1.1rem;
}

/* Info cards */

.contact-card {
    border:1px solid #e5e7eb;
    padding:2rem;
    border-radius:1.25rem;
    background:white;
    height:100%;
}

.contact-card p {
    color:#6b7280;
}

/* Icons */

.contact-icon {
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 1rem;
    font-size:1.5rem;
}

/* soft colors */

.bg-blue-soft { background:#dbeafe; }
.bg-orange-soft { background:#ffedd5; }
.bg-green-soft { background:#dcfce7; }

.text-blue { color:#2563eb; }
.text-orange { color:#ea580c; }
.text-green { color:#16a34a; }

/* Form card */

.contact-form-card {
    border:1px solid #e5e7eb;
    border-radius:1.5rem;
    padding:2rem;
    background:white;
}

/* Button */

.contact-submit-btn {
    background:linear-gradient(90deg,#2563eb,#1d4ed8);
    border:none;
}
/* ===== MODERN FOOTER ===== */

.site-footer-modern {
    background:#111827;
    color:#d1d5db;
    padding:4.5rem 0 3rem;
}

/* Titles */

.footer-title {
    color:white;
    font-weight:600;
    margin-bottom:1rem;
}

.footer-brand-name {
    color:white;
    font-weight:700;
    font-size:1.3rem;
}

/* Text */

.footer-desc {
    color:#9ca3af;
    font-size:.95rem;
}

.footer-contact a {
    color:#d1d5db;
    text-decoration:none;
}

.footer-contact a:hover {
    color:white;
}

/* Links */

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

.footer-links li {
    margin-bottom:.5rem;
}

.footer-links a {
    color:#9ca3af;
    text-decoration:none;
    transition:.2s;
}

.footer-links a:hover {
    color:white;
}

/* Hiring badge */

.hiring-badge {
    background:#16a34a;
    color:white;
    font-size:.7rem;
    padding:.15rem .45rem;
    border-radius:.35rem;
    margin-left:.4rem;
}

/* Newsletter */

.footer-input {
    background:#1f2933;
    border:1px solid #374151;
    color:white;
}

.footer-input::placeholder {
    color:#9ca3af;
}

.footer-subscribe-btn {
    background:linear-gradient(90deg,#2563eb,#1d4ed8);
    border:none;
    color:white;
    padding:.6rem 1.2rem;
    font-weight:600;
}

/* Bottom */

.footer-bottom {
    border-top:1px solid #1f2933;
    padding-top:2rem;
}

.footer-copy {
    color:#9ca3af;
    font-size:.9rem;
}

/* Social */

.footer-social li {
    margin-left:1rem;
}

.footer-social a {
    color:#9ca3af;
    font-size:1.25rem;
    transition:.2s;
}

.footer-social a:hover {
    color:white;
}

/* =====================================
   SIGNUP PAGE — MODERN SAAS STYLE
===================================== */

/* breadcrumb hero */

.breadcrumbs {
    padding:6rem 0 4rem;
    background:linear-gradient(135deg,#eff6ff,#fff7ed);
    text-align:center;
}

.breadcrumbs h2 {
    font-size:clamp(2.2rem,5vw,3.2rem);
    font-weight:800;
    margin-bottom:.75rem;
}

.breadcrumbs p {
    max-width:760px;
    margin-inline:auto;
    font-size:1.1rem;
    color:#6b7280;
}

/* form container */

.form-signup {
    max-width:900px;
    margin:3rem auto 5rem;
    background:#fff;
    padding:3rem;
    border-radius:1.75rem;
    border:1px solid #e5e7eb;
    box-shadow:0 25px 60px rgba(0,0,0,.08);
}

/* section dividers */

.form-signup .border-bottom {
    border-bottom:1px solid #e5e7eb!important;
    margin-bottom:1.5rem;
}

.form-signup .bg-theme-color {
    background:linear-gradient(90deg,#2563eb,#1d4ed8);
    color:white;
    padding:.35rem .9rem;
    border-radius:999px;
    font-size:.8rem;
}

/* inputs */

.form-signup .form-control {
    height:56px;
    border-radius:.85rem;
    border:1px solid #d1d5db;
    padding:.85rem 1rem;
    font-size:.95rem;
}

.form-signup textarea.form-control {
    height:auto;
}

/* floating labels compatibility */

.form-label-group {
    margin-bottom:1.25rem;
}

/* focus */

.form-signup .form-control:focus {
    border-color:#2563eb;
    box-shadow:0 0 0 .15rem rgba(37,99,235,.2);
}

/* input-group polish */

.input-group-text {
    background:#f8fafc;
    border-color:#d1d5db;
    font-weight:600;
}

/* submit button */

.form-signup button[type="submit"] {
    margin-top:2rem;
    padding:1rem;
    font-size:1rem;
    font-weight:600;
    border-radius:1rem;
}

/* policy text */

.form-signup p.mt-3 {
    font-size:.85rem;
    color:#6b7280;
}

/* mobile */

@media(max-width:768px){

    .breadcrumbs {
        padding:4.5rem 1rem 3rem;
    }

    .form-signup {
        padding:2rem;
    }

}
/* =====================================
   LOGIN PAGE — MODERN SAAS STYLE
===================================== */

.login-hero {
    padding:7rem 0 6rem;
    background:linear-gradient(135deg,#eff6ff,#fff7ed);
}

.login-wrapper {
    max-width:480px;
    background:#fff;
    padding:3rem;
    border-radius:1.75rem;
    border:1px solid #e5e7eb;
    box-shadow:0 25px 60px rgba(0,0,0,.08);
}

/* heading */

.login-title {
    font-size:2rem;
    font-weight:800;
}

.login-subtitle {
    color:#6b7280;
}

/* inputs */

.login-form .form-control {
    height:56px;
    border-radius:.85rem;
}

.login-form .form-control:focus {
    border-color:#2563eb;
    box-shadow:0 0 0 .15rem rgba(37,99,235,.2);
}

/* input group */

.login-form .input-group-text {
    background:#f8fafc;
    font-weight:600;
}

/* links */

.login-link {
    font-size:.9rem;
    text-decoration:none;
    color:#2563eb;
}

.login-link:hover {
    text-decoration:underline;
}

/* button */

.login-btn {
    padding:1rem;
    font-weight:600;
    border-radius:1rem;
}

/* mobile */

@media(max-width:576px){

    .login-wrapper {
        padding:2rem;
    }

}
