:root {
    /* Color Palette */
    --color-primary: #0056b3;
    --color-primary-dark: #004494;
    --color-secondary: #00a8cc;
    --color-accent: #f5a623;
    --color-text-main: #333333;
    --color-text-sub: #666666;
    --color-bg-light: #f9f9f9;
    --color-white: #ffffff;
    --color-error: #e74c3c;

    /* Typography */
    --font-family-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-size-base: 16px;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 40px;
    --spacing-xxl: 80px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-floating: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    width: 100%;
    max-width: 375px;
    margin: auto;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-bg-light {
    background-color: var(--color-bg-light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.logo {
    font-weight: bold;
    font-size: 24px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    position: relative;
    overflow: visible;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-tagline {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 14px;
    margin-bottom: var(--spacing-md);
    font-weight: bold;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--color-text-sub);
    margin-bottom: var(--spacing-xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-weight: bold;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 6px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 86, 179, 0.4);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 6px rgba(245, 166, 35, 0.3);
}

.btn-accent:hover {
    background-color: #e09612;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(245, 166, 35, 0.4);
}

.btn-lg {
    padding: 16px 48px;
    font-size: 18px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: #e0f2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--color-primary);
    font-size: 24px;
}

.feature-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
}

.feature-text {
    color: var(--color-text-sub);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: 18px;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.copyright {
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }
}

/* New LP Design Styles */

/* Header Override */
.header {
    height: auto;
    padding: 15px 0;
    background: transparent;
    box-shadow: none;
    position: absolute;
}

.logo {
    display: block;
}

.logo-img {
    height: 40px;
    /* Adjust based on actual image aspect ratio */
    width: auto;
}

.logo svg {
    display: none;
}

/* Hide old logo icon */

/* Hero Layout */
.hero {
    margin-top: 0;
    /* Light blue background */
    min-height: 91vh;
    width: 100%;
    max-width: 375px;
    overflow: visible;
    margin: 0 auto;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hero-left {
    flex: 1;
    text-align: left;
    max-width: 500px;
    z-index: 10;
}

.hero-right {
    flex: 1;
    max-width: 500px;
    position: relative;
    text-align: right;
}

.hero-bg-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
}

.hero-title-main {
    font-size: 56px;
    font-weight: bold;
    color: #002b5c;
    /* Dark Navy */
    line-height: 1.2;
    margin-bottom: 30px;
    background: none;
    -webkit-text-fill-color: initial;
    text-align: left;
}

.hero-checklist {
    list-style: none;
    margin-bottom: 30px;
}

.hero-checklist li {
    background: #fff0f0;
    /* Light pink background */
    color: #e07a5f;
    /* Coral/Orange text color */
    padding: 10px 15px;
    margin-bottom: 10px;
    font-weight: bold;
    border-radius: 4px;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.hero-checklist li::before {
    content: "✓";
    margin-right: 10px;
    font-weight: bold;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark semi-transparent filter over the background image */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    color: white;
}

.overlay-title {
    font-size: 28px;
    /* Reduced from 48px */
    font-weight: bold;
    color: #fdd835;
    /* Yellow */
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.overlay-subtitle {
    font-size: 14px;
    /* Reduced from 18px */
    margin-bottom: 30px;
    /* Reduced margin */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.overlay-card {
    background-color: #0d3b85;
    /* Deep Blue */
    padding: 20px;
    /* Reduced padding */
    border-radius: 10px;
    width: 90%;
    max-width: 340px;
    /* Adjusted for 375px width */
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.overlay-question {
    font-size: 16px;
    /* Reduced from 20px */
    font-weight: bold;
    margin-bottom: 20px;
}

.btn-choice {
    display: block;
    width: 100%;
    padding: 14px;
    /* Reduced padding */
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 15px;
    /* Reduced font size */
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s;
    text-decoration: none;
    border: initial;
}

.btn-choice:hover {
    transform: scale(1.02);
}

.btn-choice-primary {
    background-color: #ffffff;
    color: #000;
    box-shadow: 0 4px 0 #cccccc;
}

.btn-choice-secondary {
    background-color: #fff176;
    /* Yellow */
    color: #000;
    box-shadow: 0 4px 0 #ccb900;
}

.overlay-footer-link {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 20px;
    /* Reduced padding */
    border-radius: 30px;
    font-size: 12px;
    /* Reduced font size */
    background: rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    padding: 0;
    text-align: center;
}

.footer-container {
    padding: 8px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-links a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 10px;
}

.copyright {
    color: #999;
    font-size: 14px;
}

/* Footer Bottom Bar (Top Bar in design) */
.footer-bar {
    background-color: #666;
    color: #fff;
    padding: 10px 0;
    text-align: right;
    font-size: 12px;
    width: 100%;
}

/* Validation Error Message */
.error-message {
    color: var(--color-error);
    font-size: 13px;
    margin-top: 5px;
    font-weight: bold;
    display: block;
    line-height: 1.4;
}