/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:root {
    --bg-dark: #07090E;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --primary-blue: #0056F6;
    --primary-glow: rgba(0, 86, 246, 0.15);
    --accent-purple: #7000FF;
    --text-main: #FFFFFF;
    --text-muted: #8E9AA8;
    --font-outfit: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    position: relative;
}

/* Background Glows */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.glow-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,0,0,0) 70%);
}

.glow-2 {
    top: 600px;
    left: -200px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.12) 0%, rgba(0,0,0,0) 70%);
}

/* Header / Navigation */
header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 14, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-outfit);
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary-blue);
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--text-main);
}

.nav-badge {
    background: rgba(0, 86, 246, 0.1);
    color: var(--primary-blue) !important;
    border: 1px solid rgba(0, 86, 246, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px !important;
    font-weight: 600;
}

.btn-download-nav {
    background: var(--text-main);
    color: var(--bg-dark);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-download-nav:hover {
    transform: translateY(-2px);
    background: #E5E7EB;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 120px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.tagline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #4D8FFF;
    display: inline-block;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-text h1 {
    font-family: var(--font-outfit);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #00C6FF 0%, #0072FF 50%, #7000FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.app-store-badge {
    background: #000000;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #FFFFFF;
    transition: border-color 0.2s, transform 0.2s;
}

.app-store-badge:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.app-store-badge i {
    font-size: 28px;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text span {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.badge-text strong {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #191B1F;
    border-radius: 44px;
    padding: 11px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 
                0 0 0 4px #2A2D34,
                inset 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #12151B;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.3);
}

/* Phone Status Bar */
.phone-header {
    height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    z-index: 10;
    position: relative;
}

.notch {
    width: 110px;
    height: 24px;
    background: #191B1F;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.status-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* App Interface in Screen */
.app-interface {
    height: calc(100% - 38px);
    display: flex;
    flex-direction: column;
    position: relative;
}

.app-map {
    flex: 1;
    background: #1A1F26;
    position: relative;
    overflow: hidden;
}

/* Mock Map Background Grid */
.map-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-size: 20px 20px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    transform: rotate(-15deg);
}

.map-route {
    position: absolute;
    width: 180px;
    height: 120px;
    top: 100px;
    left: 60px;
    border: 4px dashed rgba(0, 86, 246, 0.4);
    border-radius: 50%;
}

/* Map Markers */
.marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.me-avatar {
    background: var(--primary-blue);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.friend-avatar {
    background: #FFFFFF;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.marker-pulse {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    animation: pulse 1.8s infinite ease-out;
    pointer-events: none;
    top: -6px;
}

@keyframes pulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.marker-me {
    top: 150px;
    left: 80px;
}

.marker-friend {
    top: 90px;
    left: 170px;
}

.marker-badge {
    background: #0056F6;
    color: #FFFFFF;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 8px;
    margin-top: 4px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Mockup Bottom Sheet */
.app-bottom-sheet {
    background: #171B22;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 12px 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 5;
}

.handle {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 6px;
}

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

.sheet-header h3 {
    font-size: 13px;
    font-weight: 600;
}

.active-count {
    font-size: 9px;
    color: #00E676;
    font-weight: 500;
}

/* Toss Style Invitation Banner inside Mockup */
.mockup-banner {
    background: rgba(0, 86, 246, 0.08);
    border: 1px solid rgba(0, 86, 246, 0.15);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.banner-icon {
    width: 30px;
    height: 30px;
    background: rgba(0, 86, 246, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    font-size: 12px;
}

.banner-info {
    flex: 1;
}

.banner-info h4 {
    font-size: 11px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1px;
}

.banner-info p {
    font-size: 9px;
    color: var(--text-muted);
}

.mockup-banner .arrow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
    border-top: 1px solid var(--border-glass);
}

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

.section-header h2 {
    font-family: var(--font-outfit);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 40px 32px;
    border-radius: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 86, 246, 0.3);
}

.feature-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 86, 246, 0.08);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    font-size: 22px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 86, 246, 0.15);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* AdMob Verification Section */
.ads-txt-sec {
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 60px 24px;
}

.ads-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.ads-info h3 {
    font-family: var(--font-outfit);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ads-info h3 i {
    color: #00E676;
}

.ads-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.ads-code-box {
    background: #0D1117;
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.ads-code-box code {
    font-family: monospace;
    font-size: 13px;
    color: #00E676;
    letter-spacing: 0.5px;
}

.btn-check-txt {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    color: #FFFFFF;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-check-txt:hover {
    background: rgba(255,255,255,0.1);
}

/* Footer */
footer {
    background: #050608;
    padding: 80px 24px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-info h3 {
    font-family: var(--font-outfit);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.dev-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.dev-details strong {
    color: #FFFFFF;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: right;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.03);
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
}

/* Responsive Styles */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .ads-container {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .ads-code-box {
        flex-direction: column;
        gap: 14px;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
}
