/* Thailand Digital Arrival Card - UK ETA Style Design */

:root {
    --primary-color: #8B1538;
    --primary-dark: #6B0F2B;
    --primary-light: #B91C4A;
    --secondary-color: #C9A227;
    --accent-color: #059669;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #fef7f8;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

/* Header */
.header {
    background: var(--bg-white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 21, 56, 0.35);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(254, 247, 248, 0.95) 0%, rgba(254, 243, 245, 0.9) 100%),
                url('../images/hero-thailand.jpg') center/cover no-repeat;
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.hero-badge span {
    font-size: 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 40px;
}

.hero-feature {
    text-align: center;
}

.hero-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 22px;
    color: var(--primary-color);
}

.hero-feature h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-feature p {
    font-size: 12px;
    color: var(--text-light);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.hero-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #D4AF37 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.hero-card h4 {
    font-size: 14px;
    color: var(--text-dark);
}

.hero-card p {
    font-size: 12px;
    color: var(--text-light);
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: transform 0.3s;
}

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

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.stat-sublabel {
    font-size: 12px;
    color: var(--text-light);
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.feature-card {
    background: white;
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Steps Section */
.steps {
    padding: 80px 0;
    background: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

.step-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.info-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

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

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
}

.info-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

.info-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

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

.cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background: var(--bg-light);
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    font-size: 14px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Application Page */
.application-page {
    background: var(--bg-light);
    padding: 40px 0 80px;
    min-height: calc(100vh - 80px);
}

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

.progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 10px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-step .step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.progress-step.active .step-num {
    background: var(--primary-color);
    color: white;
}

.progress-step.completed .step-num {
    background: var(--accent-color);
    color: white;
}

.progress-step span:last-child {
    font-size: 12px;
    color: var(--text-light);
}

.progress-line {
    width: 80px;
    height: 3px;
    background: #e2e8f0;
    margin-bottom: 20px;
}

.form-main {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-section-title {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.required {
    color: #ef4444;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* Processing Options */
.processing-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.processing-option {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    position: relative;
}

.processing-option:hover {
    border-color: var(--primary-color);
}

.processing-option.selected {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.processing-option.popular::before {
    content: 'Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.processing-option input {
    display: none;
}

.option-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.option-time {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 10px;
}

.option-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Legal Pages */
.legal-page {
    padding: 60px 0;
    background: var(--bg-light);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.legal-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.legal-content .last-updated {
    color: var(--text-light);
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.legal-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 25px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid::before {
        display: none;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header .btn {
        display: none;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .processing-options {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-main {
        padding: 25px;
    }
    
    .legal-content {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Logo Image Styles */
.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}
