/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (LIGHT THEME)
   ========================================================================== */
:root {
    /* Colors */
    --color-bg-main: #f8fafc;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #ffffff;
    --color-bg-header: rgba(255, 255, 255, 0.85);
    --color-bg-footer: #0f172a; /* Keep dark footer for professional contrast, or light. Let's make it dark for high-end feel, or clean light. Let's go with clean light footer to match white theme fully, or dark for structural contrast. Let's use clean light slate #f1f5f9. */
    
    --color-primary: #0f62fe;
    --color-primary-dark: #0043ce;
    --color-secondary: #10b981;
    --color-secondary-dark: #047857;
    
    --color-text-main: #0f172a;
    --color-text-muted: #475569;
    --color-text-light: #ffffff;
    --color-text-dark: #0f172a;
    
    --gradient-primary: linear-gradient(135deg, #0f62fe 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-dark: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    
    --border-glass: #e2e8f0;
    --border-glass-glow: rgba(15, 98, 254, 0.3);
    
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 20px 40px -15px rgba(15, 98, 254, 0.12), 0 1px 5px rgba(0, 0, 0, 0.02);
    --shadow-glow-blue: 0 10px 25px -5px rgba(15, 98, 254, 0.2), 0 8px 10px -6px rgba(15, 98, 254, 0.2);
    --shadow-glow-green: 0 10px 25px -5px rgba(16, 185, 129, 0.2), 0 8px 10px -6px rgba(16, 185, 129, 0.2);
    
    /* Typography */
    --font-sans: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout */
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* ==========================================================================
   REUSABLE COMPONENTS & UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-glow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 98, 254, 0.35);
    background: var(--color-primary-dark);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-glow-green);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
    background: var(--color-secondary-dark);
}

.btn-outline {
    border: 2px solid rgba(15, 98, 254, 0.3);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: rgba(15, 98, 254, 0.04);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Section Header */
.section-header {
    margin-bottom: 64px;
}

.section-subtitle {
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--color-text-main);
}

.section-lead {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Badges */
.badge {
    background: rgba(15, 98, 254, 0.08);
    border: 1px solid rgba(15, 98, 254, 0.2);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-block;
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.site-header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-bg-header);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
}

.logo-icon {
    width: 50px;
    height: 50px;
    color: var(--color-primary);
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 500;
    display: block;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

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

.nav-cta {
    margin-left: 16px;
}

/* Hamburger Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1010;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.98) 68%);
    z-index: 1;
}

.hero-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-content .badge {
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    color: var(--color-text-main);
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 28px;
    height: 45px;
    border: 2px solid #cbd5e1;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    opacity: 0.8;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(15px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   URGENCY ALERT SECTION
   ========================================================================== */
.alert-section {
    padding: 80px 0;
    position: relative;
}

.alert-card {
    background: #fffbeb; /* Soft Amber */
    border: 1px solid #fef3c7;
    border-left: 6px solid #d97706; /* Amber Dark */
    border-radius: var(--border-radius-md);
    padding: 48px;
    box-shadow: var(--shadow-soft);
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.alert-icon {
    width: 40px;
    height: 40px;
    color: #d97706;
    flex-shrink: 0;
}

.alert-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #92400e;
}

.alert-content p {
    font-size: 1.125rem;
    color: #78350f;
    margin-bottom: 28px;
    line-height: 1.8;
}

.alert-content strong {
    color: #451a03;
}

.alert-info-box {
    background: rgba(217, 119, 6, 0.06);
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: var(--border-radius-sm);
    padding: 18px 24px;
    font-size: 1rem;
    display: inline-block;
    color: #92400e;
}

.highlight-text {
    color: #d97706;
    font-weight: 700;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--color-bg-main);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 40px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    border-color: var(--border-glass-glow);
    box-shadow: var(--shadow-hover);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background: rgba(15, 98, 254, 0.06);
    border: 1px solid rgba(15, 98, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--gradient-primary);
    color: var(--color-text-light);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(15, 98, 254, 0.25);
}

.feature-icon {
    width: 28px;
    height: 28px;
}

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

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

/* ==========================================================================
   VISUAL PROMOTION SECTION
   ========================================================================== */
.visual-promo-section {
    padding: 100px 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
    align-items: center;
}

.promo-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-glass);
}

.promo-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
}

.promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.promo-image-wrapper:hover .promo-image {
    transform: scale(1.03);
}

.promo-tag {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 12px;
}

.promo-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
    color: var(--color-text-main);
}

.promo-content p {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.promo-list {
    list-style: none;
}

.promo-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--color-text-main);
}

.list-check {
    width: 20px;
    height: 20px;
    color: var(--color-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   COURSE & PRICING SECTION
   ========================================================================== */
.courses-section {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 48px auto;
}

.pricing-card {
    background: var(--color-bg-main);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-hover);
    background: #ffffff;
}

.pricing-card.premium-card {
    background: #ffffff;
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-hover);
}

.pricing-card.premium-card:hover {
    box-shadow: 0 20px 40px -10px rgba(15, 98, 254, 0.2);
}

.card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #cbd5e1;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    color: #475569;
}

.premium-card .card-badge {
    background: rgba(15, 98, 254, 0.1);
    color: var(--color-primary);
}

.pricing-header {
    margin-bottom: 36px;
}

.course-name {
    font-size: 1.625rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--color-text-main);
}

.course-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    color: var(--color-text-main);
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
}

.tax {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-left: 4px;
}

.pricing-body {
    margin-bottom: 40px;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li strong {
    color: var(--color-primary);
}

.pricing-card.premium-card .pricing-features li strong {
    color: var(--color-primary);
}

.course-note {
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.course-note p {
    margin-bottom: 8px;
}

/* ==========================================================================
   PROCESS TIMELINE SECTION
   ========================================================================== */
.timeline-section {
    padding: 100px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
    padding-left: 100px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    top: 0;
    left: 15px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.15);
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-badge {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.timeline-panel {
    background: #ffffff;
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-panel {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-hover);
}

.timeline-item:nth-child(even):hover .timeline-panel {
    border-color: var(--color-secondary);
}

.timeline-heading h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

.timeline-body p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

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

.faq-item {
    background: var(--color-bg-main);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.faq-item:hover {
    border-color: rgba(15, 98, 254, 0.2);
    background: #ffffff;
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-weight: 700;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--color-text-main);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-toggle-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-toggle-icon svg {
    width: 100%;
    height: 100%;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 24px 24px 24px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid #f1f5f9;
}

.faq-item.active {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: var(--shadow-hover);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-item.active .faq-question {
    color: var(--color-primary);
}

/* ==========================================================================
   CONTACT & APPLICATION FORM SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
}

.contact-info .contact-tag {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 12px;
}

.contact-info h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
    color: var(--color-text-main);
}

.contact-info p {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 48px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(15, 98, 254, 0.06);
    border: 1px solid rgba(15, 98, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.method-icon {
    width: 22px;
    height: 22px;
}

.method-detail {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.method-val {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-main);
}

.method-sub {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* Form Styles */
.contact-form-container {
    background: #ffffff;
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.contact-form {
    transition: opacity 0.4s ease;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.form-group label .required {
    background: #ef4444;
    color: white;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    color: var(--color-text-main);
    transition: var(--transition-smooth);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 48px;
}

.form-group select option {
    background-color: #ffffff;
    color: var(--color-text-main);
}

.form-group textarea {
    resize: vertical;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 4px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 0.9375rem;
    user-select: none;
    gap: 10px;
    color: var(--color-text-main);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--color-primary);
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--gradient-primary);
    border-color: transparent;
}

.checkmark::after {
    content: "";
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none;
    margin-top: -2px;
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

/* Privacy check link styling */
.privacy-check {
    margin-top: 32px;
}

.privacy-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.privacy-link:hover {
    color: var(--color-primary-dark);
}

/* Error states */
.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea,
.form-group.has-error .checkmark {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
}

.form-group.has-error .error-message {
    display: block;
}

/* Submit Loading State */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: none;
    animation: rotation 1s linear infinite;
    position: absolute;
}

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

.btn.submitting .btn-text {
    opacity: 0;
}

.btn.submitting .btn-loader {
    display: block;
}

.btn.submitting {
    pointer-events: none;
}

/* Success Message Overlay */
.form-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    margin-bottom: 28px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.success-icon-wrapper svg {
    width: 40px;
    height: 40px;
}

.form-success-message h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.form-success-message p {
    color: var(--color-text-muted);
    font-size: 1rem;
    max-width: 500px;
    line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.brand-desc {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 380px;
}

.footer-grid h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-legal a {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 40px;
    color: var(--color-text-muted);
    font-size: 0.8125rem;
}

/* ==========================================================================
   SCROLL & FADE IN ANIMATIONS
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .promo-grid, .contact-grid {
        gap: 40px;
    }
    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    /* Navigation Mobile */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #ffffff;
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        padding: 40px;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
        z-index: 999;
        pointer-events: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-link {
        font-size: 1.25rem;
        font-weight: 700;
    }
    
    .nav-cta {
        margin-left: 0;
        width: 100%;
        max-width: 280px;
    }
    
    /* Hamburger Icon Open States */
    .hamburger.open .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.open .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero */
    .hero-section {
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 60px;
        min-height: auto;
    }
    .hero-bg-overlay {
        background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.98) 80%);
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-lead {
        font-size: 1.1rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Grid adjustments */
    .features-grid {
        grid-template-columns: 1fr;
    }
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .promo-image-wrapper {
        order: -1;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    /* Elements */
    .alert-card, .contact-form-container {
        padding: 24px;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        padding-left: 50px;
    }
    .timeline-badge {
        left: 0;
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
    .hero-title {
        font-size: 2rem;
    }
}
