/* ==========================================================================
   FINTECH SPARTAN - PREMIUM DESIGN SYSTEM (v2.2)
   Google Ads Compliant Whitehat Landing Page
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    --bg-dark: #050c18;
    --bg-secondary: #0a172c;
    --bg-surface: #0e203c;
    --bg-card: rgba(14, 32, 60, 0.7);
    --bg-glass: rgba(10, 23, 44, 0.85);
    
    --accent-orange: #ff6b00;
    --accent-orange-glow: rgba(255, 107, 0, 0.4);
    --accent-orange-light: #ff8833;
    --accent-blue: #00d2ff;
    --accent-blue-glow: rgba(0, 210, 255, 0.3);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-orange: rgba(255, 107, 0, 0.3);
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1280px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.text-orange {
    color: var(--accent-orange);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Top Utility Bar */
.top-bar {
    background: rgba(5, 12, 24, 0.95);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 1.5rem;
}

.top-bar-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-contact a:hover {
    color: var(--accent-orange);
}

.top-bar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: var(--accent-orange-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.75rem;
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--bg-surface), #142a4e);
    border: 1px solid var(--border-orange);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--accent-orange-glow);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #d45500 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--accent-orange-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff7a1a 0%, var(--accent-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 4rem 0 5rem;
    background: radial-gradient(circle at 70% 30%, rgba(255, 107, 0, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(0, 210, 255, 0.08) 0%, transparent 50%),
                var(--bg-dark);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid var(--border-orange);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(1.75rem, 5.5vw, 3.6rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

.stat-item h4 {
    font-size: 1.6rem;
    color: var(--accent-orange);
}

.stat-item p {
    font-size: 0.825rem;
    color: var(--text-muted);
}

/* Geometric Polygon Image Wrapper */
.polygon-frame {
    position: relative;
    width: 100%;
    padding-top: 75%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 107, 0, 0.2);
}

.polygon-frame-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.polygon-frame:hover .polygon-frame-inner {
    transform: scale(1.04);
}

.polygon-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--border-orange);
    border-radius: var(--radius-md);
    pointer-events: none;
    box-shadow: inset 0 0 20px rgba(255, 107, 0, 0.15);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    text-align: center;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

/* Feature Blocks */
.feature-block {
    padding: 4.5rem 0;
    position: relative;
}

.feature-block:nth-child(even) {
    background: var(--bg-secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

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

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

.feature-content h3 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.feature-list {
    margin-bottom: 1.75rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.925rem;
}

.feature-list-icon {
    width: 22px;
    height: 22px;
    background: rgba(255, 107, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.75rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: radial-gradient(circle at 50% 50%, rgba(14, 32, 60, 0.8) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-glass);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.testimonial-card.highlight {
    border-color: var(--border-orange);
    background: linear-gradient(180deg, rgba(255, 107, 0, 0.08) 0%, var(--bg-card) 100%);
}

.quote-icon {
    font-size: 2.2rem;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 0.925rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
}

.author-info h5 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.author-info span {
    font-size: 0.775rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.contact-form-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-orange);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--accent-orange-glow);
}

.form-title {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.form-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    background: rgba(5, 12, 24, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.form-submit-btn {
    width: 100%;
    margin-top: 0.75rem;
}

/* Footer Section */
.footer {
    background: #020710;
    border-top: 1px solid var(--border-glass);
    padding: 3.5rem 0 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    margin-top: 0.85rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 320px;
}

.footer-col h5 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.footer-legal-badges {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.85rem;
    flex-wrap: wrap;
}

.badge-anpc {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.725rem;
    font-weight: 600;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* Legal Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(2, 7, 16, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-orange);
    border-radius: var(--radius-md);
    max-width: 750px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Mobile Responsiveness (375px - 430px Strict Compliance) */
@media (max-width: 992px) {
    .hero-grid, .feature-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .feature-grid.reverse {
        direction: ltr;
    }

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

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

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

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

    .hero-cta-group .btn {
        width: 100%;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        width: 100%;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        height: calc(100vh - 65px);
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        gap: 1.75rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
