/* ================================
   HEMITECH LANDING PAGE STYLES
   Modern, Clean, Professional
   ================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2ca25f;
    --primary-dark: #1f7a46;
    --secondary: #99d8c9;
    --fintech: #2ca25f;
    --marketplace: #99d8c9;
    --security: #2ca25f;
    --dark: #0f172a;
    --dark-gray: #1e293b;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --bg-light: #e5f5f9;
    --white: #ffffff;
    --success: #2ca25f;
    
    --gradient-primary: linear-gradient(135deg, #2ca25f 0%, #99d8c9 100%);
    --gradient-fintech: linear-gradient(135deg, #2ca25f 0%, #99d8c9 100%);
    --gradient-marketplace: linear-gradient(135deg, #99d8c9 0%, #2ca25f 100%);
    --gradient-security: linear-gradient(135deg, #2ca25f 0%, #99d8c9 100%);
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Logo Image Styling */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-img {
    height: 36px;
}

/* Keep old text styles for fallback */
.logo-text {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-text i {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 10px;
}

.navbar.scrolled .logo-text {
    color: var(--dark);
}

.navbar.scrolled .logo-text i {
    background: var(--gradient-primary);
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
    padding: 100px 0 40px 0;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title .brand {
    display: inline-block;
    background: linear-gradient(to right, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 300;
    opacity: 0.95;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* WhatsApp Button */
.btn-whatsapp {
    background: #25D366 !important;
    color: var(--white) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #128C7E !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.25rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-12px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   ABOUT INTRO SECTION
   ================================ */
.about-intro {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.intro-text {
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto 4rem;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.ecosystem-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.ecosystem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.ecosystem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.fintech-icon { background: var(--gradient-fintech); }
.marketplace-icon { background: var(--gradient-marketplace); }
.security-icon { background: var(--gradient-security); }

.ecosystem-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.ecosystem-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ================================
   FEATURE DETAIL SECTIONS
   ================================ */
.fintech-section,
.marketplace-section,
.security-section {
    padding: 6rem 0;
}

.fintech-section { background: var(--bg-light); }
.marketplace-section { background: var(--white); }
.security-section { background: var(--bg-light); }

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-fintech);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.marketplace-tag {
    background: var(--gradient-marketplace);
}

.security-tag {
    background: var(--gradient-security);
}

.feature-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.feature-detail-grid.fintech-grid {
    grid-template-columns: 1fr 1fr;
}

.feature-detail-grid.reverse {
    direction: rtl;
}

.feature-detail-grid.reverse > * {
    direction: ltr;
}

.feature-detail-title {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.feature-intro {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-detail-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-detail-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.feature-detail-list i {
    color: var(--success);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-detail-list strong {
    display: block;
    color: var(--dark);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.feature-detail-list p {
    color: var(--gray);
    line-height: 1.6;
}

.feature-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.feature-btn-large:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-mockup {
    width: 400px;
    height: 500px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--white);
    box-shadow: var(--shadow-xl);
}

.fintech-mockup {
    background: var(--gradient-fintech);
}

.marketplace-mockup {
    background: var(--gradient-marketplace);
}

.security-mockup {
    background: var(--gradient-security);
}

/* ================================
   PEWACA FEATURES SECTION
   ================================ */
.pewaca-features-section {
    padding: 6rem 0 3rem 0;
    background: var(--white);
}

.pewaca-features-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.pewaca-feature-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.pewaca-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pewaca-feature-image {
    width: 100%;
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.pewaca-feature-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.pewaca-feature-content {
    padding: 2.5rem;
    text-align: center;
}

.pewaca-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.pewaca-feature-content h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.pewaca-feature-content p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.pewaca-cta {
    text-align: center;
    margin-top: 3rem;
}

.pewaca-cta .btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.pewaca-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 968px) {
    .pewaca-feature-card {
        max-width: 100%;
    }
    
    .pewaca-feature-image {
        padding: 1.5rem;
    }
    
    .pewaca-feature-content {
        padding: 2rem;
    }
}

/* ================================
   DATA PROTECTION SECTION
   ================================ */
.data-protection {
    background: var(--dark);
    color: var(--white);
    padding: 6rem 0;
}

.protection-header {
    text-align: center;
    margin-bottom: 4rem;
}

.protection-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(44, 162, 95, 0.7); }
    50% { box-shadow: 0 0 0 25px rgba(44, 162, 95, 0); }
}

.protection-header .section-title {
    color: var(--white);
}

.protection-header .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(44, 162, 95, 0.15);
    border: 2px solid rgba(44, 162, 95, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-top: 2rem;
    color: var(--primary);
    font-weight: 500;
}

.compliance-badge i {
    font-size: 1.5rem;
}

.protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.protection-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.protection-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.protection-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.protection-card-icon.blue { background: var(--gradient-primary); }
.protection-card-icon.green { background: var(--gradient-marketplace); }
.protection-card-icon.purple { background: var(--gradient-security); }

.protection-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.protection-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* ================================
   BENEFITS SECTION
   ================================ */
.benefits {
    padding: 6rem 0;
    background: var(--white);
}

.benefits-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.benefit-column {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.benefit-header i {
    font-size: 2rem;
    color: var(--primary);
}

.benefit-header h3 {
    font-size: 1.8rem;
    color: var(--dark);
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.benefit-list > li > i {
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.benefit-list strong {
    display: block;
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.benefit-list p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ================================
   STATS SECTION
   ================================ */
.stats-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* ================================
   CTA SECTION
   ================================ */
.cta {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ================================
   TESTIMONIALS SECTION
   ================================ */
.testimonials {
    background: var(--bg-light);
    padding: 6rem 0;
}

.testimonial-count {
    color: var(--gray);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.testimonial-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
}

.testimonial-track {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    min-width: 100%;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-avatar.purple { background: var(--gradient-security); }
.author-avatar.blue { background: var(--gradient-fintech); }

.author-info h4 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.author-tag {
    display: inline-block;
    background: #dbeafe;
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    width: 35px;
    border-radius: 6px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ================================
   PRICING SECTION
   ================================ */
.pricing {
    background: var(--bg-light);
    padding: 6rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    border-width: 3px;
    background: linear-gradient(to bottom, #eff6ff 0%, var(--white) 100%);
}

.popular-badge,
.trial-badge-top,
.badge-warungku {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-badge {
    background: var(--primary);
    color: var(--white);
}

.trial-badge-top {
    background: var(--success);
    color: var(--white);
}

.badge-warungku {
    background: var(--marketplace);
    color: var(--white);
}

.plan-name {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.currency {
    font-size: 1.3rem;
    color: var(--gray);
    font-weight: 600;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--dark);
}

.period {
    font-size: 1rem;
    color: var(--gray);
}

.plan-description {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    min-height: 50px;
}

.trial-badge {
    display: inline-block;
    background: #dcfce7;
    color: #16a34a;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.plan-features li {
    padding: 0.9rem 0;
    color: var(--dark-gray);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.6;
}

.plan-features i {
    color: var(--success);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1.1rem;
    background: var(--white);
    color: var(--primary);
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--primary);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.plan-btn i {
    font-size: 1.2rem;
}

.plan-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.pricing-card.featured .plan-btn {
    background: var(--primary);
    color: var(--white);
}

.pricing-card.featured .plan-btn:hover {
    background: var(--primary-dark);
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact {
    background: var(--bg-light);
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-item h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form button {
    width: 100%;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make logo white for dark footer */
}

.footer-section h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 968px) {
    .feature-detail-grid,
    .feature-detail-grid.reverse,
    .feature-detail-grid.fintech-grid {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .feature-mockup {
        width: 100%;
        max-width: 350px;
        height: 400px;
    }

    .benefits-split {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .logo-img {
        height: 45px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .logo-text i {
        font-size: 1.2rem;
        padding: 0.4rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-number {
        font-size: 1.8rem;
    }

    .hero-stat-label {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        padding: 0 50px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .testimonial-text {
        font-size: 1.2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-slider {
        padding: 0 40px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .compliance-badge {
        flex-direction: column;
        text-align: center;
        font-size: 0.9rem;
    }

    .protection-grid {
        grid-template-columns: 1fr;
    }

    .benefit-column {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   REGISTERED RESIDENCES SECTION
   ================================ */
.registered-residences {
    padding: 6rem 0;
    background: var(--bg-light);
}

/* Residences Slider */
.residences-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.residences-track {
    overflow: hidden;
    margin-top: 2rem;
}

.residences-grid {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease;
}

.residences-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--primary);
    font-size: 1.2rem;
}

.residences-slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.residences-slider-btn.prev {
    left: 0;
}

.residences-slider-btn.next {
    right: 0;
}

.residences-slider-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.residences-slider-btn:disabled:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-50%);
}

.residence-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: calc((100% - 3rem) / 3);
}

.residence-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.residence-card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.residence-card-content {
    padding: 1.5rem;
}

.residence-card-status {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.residence-card-status.status-onboarding {
    background: #fef3c7;
    color: #b45309;
}

.residence-card-status.status-engagement {
    background: #dbeafe;
    color: #1d4ed8;
}

.residence-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.residence-card-address {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.residence-card-address i {
    color: var(--primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.residence-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.25rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.residence-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.residence-card-btn i {
    font-size: 0.85rem;
}

.residences-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem 2rem;
    color: var(--gray);
}

.residences-loading i {
    font-size: 2.5rem;
    color: var(--primary);
}

.residences-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray);
}

.residences-error i {
    font-size: 3rem;
    color: #dc2626;
    margin-bottom: 1rem;
    display: block;
}

.residences-empty {
    width: 100%;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray);
}

.residences-empty i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 992px) {
    .residence-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        min-width: calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 768px) {
    .residences-slider {
        padding: 0 50px;
    }
    
    .residences-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .residence-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .residence-card-image {
        height: 200px;
    }
}

/* ================================
   REGISTRATION MODAL
   ================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    background: var(--gradient-primary);
    border-radius: 24px 24px 0 0;
}

.modal-header h2 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-form {
    padding: 2rem;
}

.modal-form .form-group {
    margin-bottom: 1.5rem;
}

.modal-form label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.modal-form input[type="text"],
.modal-form input[type="tel"],
.modal-form input[type="password"],
.modal-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.modal-form textarea {
    resize: vertical;
    min-height: 80px;
}

.image-upload-container {
    position: relative;
}

.image-preview {
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.image-preview:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.image-preview i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.image-preview span {
    display: block;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.image-preview small {
    color: var(--gray);
    font-size: 0.85rem;
}

.image-preview.has-image {
    padding: 0;
    border-style: solid;
    overflow: hidden;
}

.image-preview.has-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.unit-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.unit-item {
    display: flex;
    gap: 0.5rem;
}

.unit-item input {
    flex: 1;
}

.btn-remove-unit {
    background: #fee2e2;
    border: none;
    color: #dc2626;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-unit:hover:not(:disabled) {
    background: #dc2626;
    color: white;
}

.btn-remove-unit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-add-unit {
    background: var(--bg-light);
    border: 2px dashed var(--border);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add-unit:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary);
}

/* Location Dropdown Styling */
.location-row {
    margin-bottom: 0.5rem;
}

.modal-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.modal-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(44, 162, 95, 0.1);
}

.modal-form select:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.7;
}

.modal-form select option {
    padding: 0.5rem;
}

#kodePos {
    background-color: #f9fafb;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

@media (max-width: 576px) {
    .modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
