/* ==========================================================================
   あとログ (Atolog) Brand Original Landing Page Stylesheet
   Theme: Minimal Premium Tech Dark (Sunset Orange & Abyss Navy)
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-abyss: #030407; /* Ultimate Dark Navy */
    --bg-card: rgba(11, 14, 20, 0.65); /* Translucent Night Card */
    --color-text-primary: #f8fafc;
    --color-text-muted: #8e9bb0;
    --border-glass: rgba(255, 255, 255, 0.05);
    
    /* Brand Accent Colors */
    --accent-orange: #FF5E00; /* Sunset Orange */
    --accent-red: #FF2A54; /* Rose Red */
    --accent-blue: #0A84FF; /* iOS Secure Blue */
    --accent-indigo: #5E5CE6; /* Royal Purple */

    /* Gradients */
    --brand-gradient: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-red) 100%);
    --secure-gradient: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-indigo) 100%);
    
    /* Premium Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-premium: 
        0 30px 60px rgba(0, 0, 0, 0.6), 
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --shadow-device: 
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.1);

    /* Fonts */
    --font-family: 'Outfit', 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-primary);
    background-color: var(--bg-abyss);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    letter-spacing: -0.01em;
}

.page-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

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

/* ==========================================================================
   Ambient Decors (Background Aura)
   ========================================================================== */
.dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: -2;
    pointer-events: none;
}

.aurora-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.12;
}

.glow-orange {
    background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.glow-blue {
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    top: 60%;
    left: -200px;
    opacity: 0.08;
}

/* ==========================================================================
   Header Navbar
   ========================================================================== */
.header-nav {
    height: 90px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(3, 4, 7, 0.7);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text-primary);
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.btn-download-nav {
    background: var(--brand-gradient);
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-download-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 94, 0, 0.5);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-sec {
    padding: 80px 0 120px 0;
    position: relative;
}

.hero-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-info {
    flex: 1.1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 94, 0, 0.08);
    border: 1px solid rgba(255, 94, 0, 0.2);
    color: #FF8533;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-info h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: #fff;
}

.hero-info h1 span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-info p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 500px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 14px 28px;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
}

.hero-cta:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 12px 25px rgba(0,0,0,0.6);
}

.hero-cta i {
    font-size: 1.8rem;
    margin-right: 14px;
}

.cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 0.8px;
}

.cta-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-media {
    flex: 0.9;
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   iPhone Premium Device Frame
   ========================================================================== */
.iphone-mockup {
    position: relative;
    width: 280px;
    height: 575px;
    background: linear-gradient(180deg, #374151, #0f172a);
    border-radius: 44px;
    box-shadow: var(--shadow-device);
    padding: 10px;
    border: 1.5px solid rgba(255,255,255,0.15);
}

.iphone-bezel {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 34px;
    overflow: hidden;
    border: 3px solid #000;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 31px;
    pointer-events: none;
    display: block;
}

.iphone-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 22px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    box-shadow: inset 0 0 1px rgba(255,255,255,0.3);
}

/* ==========================================================================
   Original Showcase Step-by-Step Experience
   ========================================================================== */
.experience-sec {
    padding: 100px 0;
    border-top: 1px solid var(--border-glass);
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 80px;
}

.section-title-wrap h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.section-title-wrap p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.step-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    gap: 80px;
}

.step-block.reverse {
    flex-direction: row-reverse;
}

.step-desc {
    flex: 1;
}

.step-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.step-num span {
    width: 16px;
    height: 1px;
    background: var(--accent-orange);
    display: inline-block;
}

.step-desc h3 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: #fff;
}

.step-desc p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

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

.step-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.step-feature-item i {
    color: var(--accent-blue);
}

.step-media {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Floating status card for detailed features */
.detail-status-card {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    padding: 20px;
    width: 220px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(12px);
    z-index: 10;
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 700;
}

.status-circle {
    width: 6px;
    height: 6px;
    background: #34C759;
    border-radius: 50%;
}

.status-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.status-row:last-child {
    margin-bottom: 0;
}

.status-label {
    color: var(--color-text-muted);
}

.status-value {
    font-weight: 700;
}

.status-value.green {
    color: #34C759;
}

/* ==========================================================================
   Original App Features Grid
   ========================================================================== */
.features-grid-sec {
    padding: 100px 0;
    background: rgba(255,255,255,0.01);
    border-top: 1px solid var(--border-glass);
}

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

.custom-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: var(--shadow-premium);
}

.card-icon {
    font-size: 1.5rem;
    background: rgba(255, 94, 0, 0.08);
    color: var(--accent-orange);
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.custom-card:nth-child(2) .card-icon {
    background: rgba(10, 132, 255, 0.08);
    color: var(--accent-blue);
}

.custom-card:nth-child(3) .card-icon {
    background: rgba(94, 92, 230, 0.08);
    color: var(--accent-indigo);
}

.custom-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}

.custom-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-sec {
    padding: 140px 0;
    text-align: center;
    border-top: 1px solid var(--border-glass);
    position: relative;
}

.cta-sec h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.cta-sec p {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-wrap {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-privacy-link {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.footer-privacy-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Responsive Rules
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-info h1 {
        font-size: 3.2rem;
    }
    .hero-wrap {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-nav {
        height: 70px;
    }
    
    .navbar-container {
        padding: 0 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 8px;
    }
    
    .nav-brand {
        gap: 6px;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .brand-name {
        font-size: 1.05rem;
        letter-spacing: -0.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .brand-icon {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }
    
    .btn-download-nav {
        padding: 6px 14px;
        font-size: 0.75rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .hero-sec {
        padding: 40px 0 80px;
    }

    .hero-wrap {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .hero-info h1 {
        font-size: 2.6rem;
    }

    .hero-info p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        margin: 0 auto;
    }
    
    .section-title-wrap h2 {
        font-size: 2.2rem;
    }
    
    .step-block {
        flex-direction: column !important;
        padding: 40px 0;
        gap: 40px;
        text-align: center;
    }

    .step-desc h3 {
        font-size: 1.8rem;
    }

    .step-feature-list {
        align-items: center;
    }

    .detail-status-card {
        display: none !important; /* Hide floating cards on mobile */
    }

    .iphone-mockup {
        width: 100%;
        max-width: 260px;
        height: auto;
        aspect-ratio: 280 / 575;
    }

    .custom-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-sec h2 {
        font-size: 2.2rem;
    }

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