/* =========================================
   GLOBAL VARIABLES & RESET (MODERN TECH THEME)
   ========================================= */
:root {
    --primary: #4F46E5;       /* Indigo Modern */
    --primary-dark: #4338CA;
    --accent: #06B6D4;        /* Cyan Accent */
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 20px 50px -10px rgba(79, 70, 229, 0.3);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* =========================================
   NAVBAR (GLASSMORPHISM EFFECT)
   ========================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    /* Efek Kaca Blur */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* =========================================
   BUTTONS (GRADIENT & MODERN)
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* =========================================
   HERO SECTION (HOMEPAGE)
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(238, 242, 255, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

/* Abstract Background Shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--bg-dark);
}

.highlight-text {
    background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    margin-left: 3rem;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-image:hover img {
    transform: scale(1.02) translateY(-10px);
    box-shadow: var(--hover-shadow);
}

/* Floating elements decoration (optional visual flair) */
.floating-badge {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 6s ease-in-out infinite;
}

.badge-1 { top: 10%; left: -20px; animation-delay: 0s; }
.badge-2 { bottom: 20%; right: -20px; animation-delay: 2s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   SECTION LAYOUTS
   ========================================= */
.section {
    padding: 6rem 5%;
    text-align: center;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--bg-dark);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* =========================================
   FEATURES PAGE SPECIFIC
   ========================================= */
.feature-hero {
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    padding: 10rem 5% 6rem;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid #F1F5F9;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: transparent;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* =========================================
   PRICING PAGE SPECIFIC
   ========================================= */
.pricing-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10rem 2rem 6rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.plan-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid #E2E8F0;
}

.plan-card:hover {
    border-color: transparent;
    box-shadow: var(--hover-shadow);
}

.plan-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin: 1rem 0;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.plan-features li::before {
    content: '✔';
    color: var(--accent);
    font-weight: bold;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   LOGIN PAGE SPECIFIC
   ========================================= */
.login-page {
    min-height: 100vh;
    display: flex;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--bg-dark));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Decorative circles for login background */
.login-left::before, .login-left::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}
.login-left::before { width: 400px; height: 400px; top: -100px; left: -100px; }
.login-left::after { width: 300px; height: 300px; bottom: -50px; right: -50px; }

.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 2rem;
}

.form-box {
    width: 100%;
    max-width: 400px;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: #F8FAFC;
}

.input-group input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}
/* IMAGE WRAPPER */
.business-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 20px;
    background: #EEF2FF;
}

/* IMAGE */
.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FEATURE CARD */
.feature-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 25px;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12);
}

.feature-card h3 {
    margin-top: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0F172A;
}

/* TRUST INFO */
.trust-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.trust-item {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.trust-item h3 {
    margin-bottom: 10px;
    color: #0F172A;
}

.trust-item p {
    color: #64748B;
    line-height: 1.7;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: var(--bg-dark);
    color: #94A3B8;
    padding: 3rem 5%;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .hero { flex-direction: column; padding-top: 6rem; text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-image { margin-left: 0; margin-top: 3rem; }
    .floating-badge { display: none; } /* Hide on mobile for cleanliness */
    .nav-links { display: none; } /* Simple hide for demo, add hamburger menu for production */
    .plan-card.popular { transform: scale(1); }
    .login-left { display: none; }
}