/* ========================================
   PerpusNET Landing Page - Clean Professional
   Modern, Simple, Professional Design
======================================== */

/* CSS Variables */
:root {
    /* Color Palette - Clean Blue */
    --primary: #1e3a5f;
    /* Deep Navy */
    --primary-light: #2e5a8f;
    /* Medium Navy */
    --accent: #0ea5e9;
    /* Sky Blue */
    --accent-light: #38bdf8;
    /* Light Sky */
    --accent-soft: #e0f2fe;
    /* Very Light Sky */

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Typography */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Spacing */
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

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

/* Background Elements - Subtle */
.background-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.grid-pattern {
    display: none;
}

.formal-glow {
    display: none;
}

/* ========================================
   NAVBAR - Clean & Minimal
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

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

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* ========================================
   BUTTONS - Clean Style
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn svg {
    width: 18px;
    height: 18px;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ========================================
   HERO SECTION - Clean & Bold
======================================== */
.hero {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 100px;
    background: linear-gradient(180deg, var(--white) 0%, var(--accent-soft) 100%);
    position: relative;
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.05;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -300px;
    right: -200px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -100px;
}

.circle-3 {
    display: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.15;
}

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

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.7;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Stats */
.stats-wrapper {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.stat-icon svg {
    width: 22px;
    height: 22px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-container {
    position: relative;
}

.qr-glow {
    display: none;
}

#qr-code-img {
    width: 240px;
    height: 240px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.qr-label {
    text-align: center;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.floating-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.badge-1 {
    top: 20px;
    right: 0;
}

.badge-2 {
    bottom: 40px;
    left: 0;
}

/* Animations */
.animate-fade-in,
.animate-slide-up,
.animate-float {
    animation: none;
}

/* ========================================
   SECTIONS - Common Styles
======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-header .badge {
    margin: 0 auto 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   FEATURES SECTION
======================================== */
.features {
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--accent);
    box-shadow:
        0 15px 35px -10px rgba(14, 165, 233, 0.2),
        0 8px 16px -6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 25px 50px -12px rgba(14, 165, 233, 0.3),
        0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-glow {
    display: none;
}

.about-card {
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    box-shadow:
        0 15px 35px -10px rgba(14, 165, 233, 0.2),
        0 8px 16px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.2s ease;
}

.process-step:last-child {
    border-bottom: none;
}

.process-step:hover {
    background: var(--gray-50);
}

.process-step.active {
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
}

.step-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-text .section-title {
    text-align: left;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.about-feature svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact {
    background: var(--gray-50);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 2px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
    transition: all 0.2s ease;
}

.contact-method:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.2);
    transform: translateX(4px);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-method h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.contact-method p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--accent);
    box-shadow:
        0 15px 35px -10px rgba(14, 165, 233, 0.2),
        0 8px 16px -6px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--white);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand .logo-text .highlight {
    color: var(--accent-light);
}

.footer-brand .logo-icon {
    background: var(--white);
    color: var(--accent);
}

.footer-description {
    color: var(--gray-400);
    font-size: 0.95rem;
    max-width: 300px;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.2s ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-bottom .heart {
    color: #ef4444;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--accent);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        order: -1;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-features {
        max-width: 400px;
        margin: 0 auto;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .container {
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 16px 24px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-link::after {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .nav-actions.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 200px);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px 24px;
        gap: 12px;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 60px;
    }

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

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .floating-badge {
        display: none;
    }

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

    section {
        padding: 60px 0;
    }

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

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

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

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

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

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

    .hero-actions .btn {
        width: 100%;
    }

    #qr-code-img {
        width: 200px;
        height: 200px;
    }

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