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

:root {
    /* Refined Color System */
    --primary-dark: #0a0f1c;
    --primary-navy: #0f1929;
    --secondary-dark: #1a2332;
    --accent-gold: #c9a961;
    --accent-gold-subtle: rgba(201, 169, 97, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a8b2c1;
    --text-muted: #6b7280;
    --border-color: rgba(168, 178, 193, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --error-color: #ff4444;
    --success-color: #4CAF50;

    /* Typography - CVR Optimized */
    --font-heading: 'Noto Serif JP', serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* Spacing System */
    --section-padding: 100px;
    --container-padding: 24px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-primary);
    background: var(--primary-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========== Typography ========== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
}

/* Background Animation */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-navy));
    overflow: hidden;
}

.animated-bg::before,
.animated-bg::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-gold), transparent);
    opacity: 0.05;
    animation: float 20s infinite ease-in-out;
}

.animated-bg::before {
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.animated-bg::after {
    bottom: -200px;
    left: -200px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Navigation */
}

/* Main Content */
main {
    padding-top: 100px;
    min-height: calc(100vh - 100px);
    position: relative;
}

/* Page Header with Animation */
.page-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 20px;
    margin-bottom: 10px;
}

.highlight-text {
    color: var(--accent-gold);
    font-weight: 500;
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Form Container with Glass Effect */
.form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 60px;
    margin-top: 40px;
    animation: slideInFromBottom 0.8s ease 0.3s both;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.form-group {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--accent-gold);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.required {
    color: var(--error-color);
    margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

/* Select option styles for better visibility */
select option {
    background: var(--secondary-dark);
    color: var(--text-primary);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.2);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* Animated Submit Button */
.submit-container {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-gold), #d4b576);
    color: var(--primary-dark);
    padding: 20px 60px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
    }
    50% {
        box-shadow: 0 10px 40px rgba(201, 169, 97, 0.5);
    }
}

.btn-submit:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.5);
    background: linear-gradient(135deg, #d4b576, var(--accent-gold));
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

/* Info Cards */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    animation: slideInFromLeft 0.8s ease 0.5s both;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.info-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.2);
}

.info-icon {
    font-size: 36px;
    margin-bottom: 16px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.info-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--accent-gold);
}

.info-content {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ========== CTA Buttons - Psychology Optimized ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}


.btn-contact {
    padding: 10px 24px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-size: 14px;
}

.btn-contact:hover {
    background: var(--glass-bg);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.nav-cta {
    display: flex;
    gap: 16px;
    margin-left: 20px;
}

/* ========== Footer ========== */
footer {
    background: var(--primary-dark);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 100px;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

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

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

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 32px;
    }

    .form-container {
        padding: 40px 20px;
    }

    .nav-menu {
        display: none;
    }

    .btn-submit {
        padding: 16px 40px;
        font-size: 18px;
    }
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.loading.active {
    display: block;
}

.spinner {
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    display: none;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--success-color);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    animation: slideDown 0.5s ease;
}

.success-message.active {
    display: block;
}