:root {
    --bg-color: #151515;
    --card-bg: #1E1E1E;
    --accent-color: #00FF88;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.54);
    --font-family: 'LINESeedJP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@font-face {
    font-family: 'LINESeedJP';
    src: url('fonts/LINESeedJP-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
/* Note: Regular font fallback to system sans-serif if not available, or we use Bold for headers primarily */

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    opacity: 0.8;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 50px;
    background: radial-gradient(circle at 50% 30%, rgba(0, 255, 136, 0.05), transparent 70%);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    max-width: 800px;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
}

.btn-download {
    display: inline-block;
    background-color: var(--text-primary); /* White button for contrast usually works well, or accent */
    color: var(--bg-color);
    padding: 15px 30px;
    border-radius: 30px; /* Pill shape */
    font-weight: bold;
    margin-bottom: 4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
    opacity: 1;
}

.hero-image {
    width: 100%;
    max-width: 1200px;
    margin-top: 2rem;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-container {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /* Center logic: Fit content if possible, max out at full width */
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    
    /* Hide scrollbar for cleaner carousel look */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    cursor: grab;
}

.screenshot-container.active {
    cursor: grabbing;
    scroll-snap-type: none; /* Disable snap while dragging for smoother feel */
}

.screenshot-container::-webkit-scrollbar {
    display: none; /* WebKit */
}

/* Nav Buttons Removed */

/* Device Frame Styling */
.device-frame {
    flex: 0 0 auto;
    position: relative;
    border: 12px solid #2c2c2c; /* Bezel color */
    border-radius: 36px; /* Outer radius */
    background-color: #151515;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    width: 280px; /* Base width */
    max-width: 80vw;
    /* Aspect ratio mainly controlled by image, but frame needs to wrap tight */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: center;
}

/* Make the center one pop or hover effect */
.device-frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(0, 255, 136, 0.15);
    border-color: #3a3a3a;
}

.device-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px; /* Inner radius matching bezel curve */
    /* Remove previous direct styling on img */
    box-shadow: none;
    border: none;
    animation: none;
}

/* Add a subtle reflection/shine element if desired, 
   but clean bezel is usually enough for "Premium" */

/* Responsive adjustments */
@media (max-width: 768px) {
    .device-frame {
        width: 70vw; /* Responsive width on mobile */
        border-width: 8px;
        border-radius: 28px;
    }
    .device-frame img {
        border-radius: 20px;
    }
}

/* Features Section */
.features {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    /* Placeholder for icon */
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Footer */
footer {
    padding: 50px 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding-top: 140px;
    }
}
