/* public/css/landing.css - WIMK Service Landing Page */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #d1fae5;
    --primary-glow: rgba(16, 185, 129, 0.25);

    --accent-blue: #3b82f6;
    --accent-blue-light: #eff6ff;
    --accent-amber: #f59e0b;
    --accent-purple: #8b5cf6;
    --accent-rose: #f43f5e;

    --bg-dark: #0f172a;
    --bg-surface: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-alt: #f1f5f9;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;

    --border: #e2e8f0;
    --border-subtle: #f1f5f9;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.1), 0 8px 16px -6px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 40px -10px var(--primary-glow);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-surface);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Base Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.brand-badge {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.brand-badge svg {
    width: 20px;
    height: 20px;
}

.brand-name span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-dark);
}

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

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45);
    background: linear-gradient(135deg, #059669, #047857);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--bg-subtle);
    border-color: #cbd5e1;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-full);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 10%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
}

.hero-glow-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    top: -100px;
    right: -100px;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    bottom: 50px;
    left: -150px;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-light);
    color: #065f46;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}

.hero-badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
    to {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1.2px;
    margin-bottom: 22px;
    color: var(--text-primary);
}

.hero-title .highlight {
    background: linear-gradient(120deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.hero-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-feature-item svg {
    color: var(--primary);
    width: 18px;
    height: 18px;
}

/* Phone Mockup */
.mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-card {
    position: relative;
    width: 320px;
    height: 640px;
    background: #0f172a;
    border-radius: 44px;
    padding: 12px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.phone-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 22px;
    background: #000;
    border-radius: 12px;
    z-index: 10;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Mockup UI Elements */
.screen-header {
    background: white;
    padding: 38px 16px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

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

.profile-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbcfe8, #f472b6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.profile-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.profile-status {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.screen-map {
    position: relative;
    flex: 1;
    background: #e2e8f0;
    background-image: 
        radial-gradient(#cbd5e1 1.5px, transparent 1.5px), 
        linear-gradient(to right, rgba(203, 213, 225, 0.4) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(203, 213, 225, 0.4) 1px, transparent 1px);
    background-size: 24px 24px;
    overflow: hidden;
}

/* Simulated Map Road & River */
.map-road-1 {
    position: absolute;
    width: 100%;
    height: 14px;
    background: #ffffff;
    top: 45%;
    transform: rotate(-15deg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.map-road-2 {
    position: absolute;
    width: 14px;
    height: 100%;
    background: #ffffff;
    left: 45%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.map-geofence {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 2px dashed #10b981;
    top: 25%;
    left: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-geofence 3s infinite ease-in-out;
}

@keyframes pulse-geofence {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

.map-pin {
    position: absolute;
    top: 38%;
    left: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -60%); }
}

.pin-bubble {
    background: #10b981;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
    margin-bottom: 4px;
}

.pin-icon {
    width: 22px;
    height: 22px;
    background: #047857;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Floating Badges on Mockup */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
    animation: float 4s ease-in-out infinite;
}

.floating-badge-1 {
    top: 80px;
    left: -40px;
    animation-delay: 0s;
}

.floating-badge-2 {
    bottom: 90px;
    right: -40px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.badge-icon.green { background: #10b981; }
.badge-icon.blue { background: #3b82f6; }
.badge-icon.rose { background: #f43f5e; }

.badge-content h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.badge-content p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Stats Section */
.stats-section {
    padding: 40px 0;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Header Component */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
    line-height: 1.3;
}

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

/* Features Section */
.features-section {
    padding: 100px 0;
}

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

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: #cbd5e1;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.7rem;
}

.feature-icon-wrapper.green { background: #d1fae5; color: #059669; }
.feature-icon-wrapper.blue { background: #dbeafe; color: #2563eb; }
.feature-icon-wrapper.rose { background: #ffe4e6; color: #e11d48; }
.feature-icon-wrapper.purple { background: #ede9fe; color: #7c3aed; }

.feature-title {
    font-size: 1.4rem;
    font-weight: 750;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.feature-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-pill {
    padding: 4px 12px;
    background: var(--bg-alt);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* How It Works Section */
.how-section {
    padding: 100px 0;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
}

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

.step-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.step-icon {
    font-size: 2.5rem;
    margin: 16px 0 20px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
}

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

.review-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.reviewer-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
}

.reviewer-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CTA Banner Section */
.cta-banner-section {
    padding: 60px 0 100px;
}

.cta-banner {
    background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(6, 78, 59, 0.4);
}

.cta-banner-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent 70%);
    top: -100px;
    right: -100px;
    filter: blur(50px);
    pointer-events: none;
}

.cta-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.6px;
}

.cta-desc {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 64px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h5 {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #10b981;
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

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

    .hero-cta-group {
        justify-content: center;
    }

    .hero-features-list {
        justify-content: center;
    }

    .mockup-container {
        margin-top: 20px;
    }

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

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

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

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

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

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

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

    .floating-badge {
        display: none;
    }

    .cta-banner {
        padding: 40px 24px;
    }

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

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

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