/* KIST PAY PRO - Premium SaaS Design System (Phase 4.1) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* 1. Design Tokens & Variables */
:root {
    /* Core Brand */
    --brand-primary: #0A192F;
    --brand-dark: #07101E;
    --brand-secondary: #8CDB33;
    --brand-secondary-dim: #8CDB33;

    /* Gradients */
    --grad-dark: linear-gradient(135deg, #0A192F 0%, #172a46 100%);
    --grad-green: linear-gradient(135deg, #8CDB33 0%, #8CDB33 100%);
    --grad-hero: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);

    /* Surfaces */
    --bg-white: #FFFFFF;
    --bg-soft: #F8FAFC;
    --bg-dark-section: #0A192F;

    /* Text */
    --text-heading: #0F172A;
    --text-body: #475569;
    --text-muted: #94A3B8;
    --text-white: #FFFFFF;

    /* Effects */
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 50px -15px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
    --border-light: 1px solid rgba(226, 232, 240, 0.6);
}

/* 2. Base Reset & Typography */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-heading {
    font-family: 'Outfit', sans-serif;
    color: var(--text-heading);
    font-weight: 700;
}

.text-gradient-green {
    background: var(--grad-green);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* 3. Section Styling */
.section-padding {
    padding: 100px 0;
}

.bg-dark-premium {
    background: var(--grad-dark);
    color: var(--text-white);
}

.bg-dark-premium h1,
.bg-dark-premium h2,
.bg-dark-premium h3 {
    color: var(--text-white);
}

.bg-pattern-dots {
    background-image: radial-gradient(#E2E8F0 1px, transparent 1px);
    background-size: 24px 24px;
}

/* 4. Custom Component Overrides */

/* Navigation */
.navbar-premium {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-light);
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: var(--text-heading) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--brand-secondary);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--brand-secondary-dim) !important;
}

/* Buttons */
.btn-premium {
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-block;
}

.btn-premium-green {
    background: var(--grad-green);
    color: #000;
}

.btn-premium-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 245, 155, 0.4);
    color: #000;
}

.btn-premium-dark {
    background: var(--brand-primary);
    color: #fff;
}

.btn-premium-dark:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* Cards */
.premium-card {
    background: #FFFFFF;
    border: var(--border-light);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--brand-secondary);
}

.icon-box {
    width: 100px;
    height: 85px;
    background: rgba(0, 245, 155, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.icon-box-lg {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 20px;
}

/* Hero Tag */
.hero-tag {
    display: inline-block;
    background: rgba(0, 245, 155, 0.1);
    color: var(--brand-secondary-dim);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* Footer & Social Links */
.footer-premium {
    background: var(--brand-dark);
    padding: 100px 0 40px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: var(--brand-secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.Quick-links {
    padding-left: 100PX;
}

@media (max-width: 768px) {
    .Quick-links {
        padding-left: 2rem;
    }
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--brand-secondary);
    color: #000 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 245, 155, 0.3);
}

/* WhatsApp */
.wa-float-premium {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: 0.3s;
}

.wa-float-premium:hover {
    transform: scale(1.1);
}

/* Custom Extensions */
.bg-dark-custom {
    background-color: #162336 !important;
}

.feature-card-custom {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    height: 100%;
}

.feature-card-custom:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-secondary);
}

.icon-box-custom {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(0, 245, 155, 0.2) 0%, rgba(0, 245, 155, 0.05) 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
    color: var(--brand-secondary);
    border: 1px solid rgba(0, 245, 155, 0.1);
}

.feature-card-custom:hover .icon-box-custom {
    transform: scale(1.1) rotate(5deg);
    background: var(--grad-green);
    color: #000;
}

.feature-card-custom h4 {
    color: var(--text-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card-custom p {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.text-gradient-white {
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* 5. Service Card Enhancements */
.single-service-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: var(--shadow-soft);
}

.single-service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-premium);
    border-color: var(--brand-secondary);
}

.service-img-box {
    width: 100%;
    height: 200px;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 18px;
    background: #f8fafc;
}

.service-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.single-service-card:hover .service-img-box img {
    transform: scale(1.1);
}

.single-service-card .title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-heading);
    font-family: 'Outfit', sans-serif;
}

.single-service-card .des {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 0;
}