@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --color-bg-light: #F8F9FA;
    --color-bg-white: #FFFFFF;
    --color-accent: #2F80ED;
    --color-accent-light: #5B9CF6;
    --color-text-main: #333333;
    --color-text-sub: #666666;
    --color-border: #E0E0E0;
    
    --font-en: 'Inter', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    
    --container-width: 1000px;
    --header-height: 70px;
    
    --shadow-card: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-float: 0 10px 30px rgba(0,0,0,0.1);
}

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

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

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    font-family: var(--font-jp);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 100;
    display: flex;
    align-items: center;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

.brand-title {
    font-family: var(--font-en);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-main);
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--color-text-sub);
    line-height: 1.2;
    font-weight: 500;
}

.header-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-sub);
    position: relative;
    padding: 4px 0;
}

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

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

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(47, 128, 237, 0.06) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
    align-items: center;
    text-align: center;
    max-width: 1200px; /* Increase max-width */
    margin: 0 auto;
}

.hero-text {
    align-items: center;
    max-width: 100%;
}

.hero-title {
    font-size: 2.8rem; /* Reduced from 3.5rem */
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--color-text-main);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #222 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-sub);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.store-badge {
    display: inline-block;
    height: 48px;
    transition: transform 0.2s, opacity 0.2s;
}

.store-badge img {
    height: 100%;
    width: auto;
    display: block;
}

.hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.phone-frame {
    position: relative;
    width: 100%;
    max-width: 100%; /* Allow full width */
    border-radius: 24px;
    /* Removed heavy shadow for cleaner look */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); 
    background: transparent;
    padding: 0;
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
    object-fit: cover;
}

/* Responsive adjustments */
@media (min-width: 900px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
        gap: 60px;
        align-items: center; /* Center vertically */
    }

    .hero-text {
        align-items: flex-start;
        flex: 0.8; /* Reduce text width ratio */
    }
    
    .hero-title {
        font-size: 3.2rem; /* Keep it impactful but slightly smaller */
    }

    .cta-group {
        justify-content: flex-start;
    }

    .hero-visual {
        flex: 1.2; /* Give more space to image */
        margin-bottom: 0;
        justify-content: flex-end; /* Align right */
    }
    
    .phone-frame {
        max-width: 600px; /* Increase visual size limit */
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    }
    
    .hero:hover .phone-frame {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    }
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    padding: 100px 0;
    background: #fff;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: left;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(47, 128, 237, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #F8F9FA;
    border-radius: 20px;
    transition: background 0.3s;
}

.feature-card:hover .feature-icon {
    background: rgba(47, 128, 237, 0.1);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.feature-card p {
    font-size: 1rem;
    color: var(--color-text-sub);
    line-height: 1.8;
}

/* ==========================================================================
   Exchanges Section
   ========================================================================== */
.exchanges {
    padding: 100px 0;
    background: #F8F9FA;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.section-header p {
    color: var(--color-text-sub);
    line-height: 1.8;
}

.exchange-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.exchange-item {
    background: #fff;
    padding: 24px 16px;
    border-radius: 16px;
    text-align: center;
    font-weight: 700;
    color: var(--color-text-main);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.exchange-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    color: var(--color-accent);
}

/* ==========================================================================
   Beta Section
   ========================================================================== */
.beta {
    padding: 120px 0;
    background: linear-gradient(180deg, #fff 0%, #F8F9FA 100%);
}

.beta-container {
    display: flex;
    justify-content: center;
}

.beta-content {
    background: #fff;
    padding: 80px 60px;
    border-radius: 40px;
    text-align: center;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.beta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
}

.beta h3 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--color-text-main);
    font-weight: 800;
}

.beta p {
    color: var(--color-text-sub);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: #fff;
    padding: 18px 48px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(47, 128, 237, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(47, 128, 237, 0.4);
    opacity: 1;
}

.note {
    display: block;
    margin-top: 24px;
    font-size: 0.85rem;
    color: #999;
}

/* ==========================================================================
   Policy & Footer
   ========================================================================== */
.policy {
    padding: 60px 0;
    text-align: center;
    background: #F8F9FA;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.policy h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.policy a {
    color: var(--color-text-sub);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.policy a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.site-footer {
    padding: 40px 0;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    background: #F8F9FA;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-text {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .header-nav {
        display: none;
    }
    
    .beta-content {
        padding: 60px 24px;
    }
    
    .hero-bg {
        top: -20%;
        left: -50%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .phone-frame {
        width: 100%;
        max-width: 280px;
    }
}