/* ================================
   CSS Reset & Base Styles
   ================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================
   Typography
   ================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

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

/* ================================
   Layout Utilities
   ================================ */

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

/* ================================
   Navigation
   ================================ */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(71, 85, 105, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
}

.euro-badge {
    background: linear-gradient(135deg, #475569, #334155);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: #4b5563;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #475569;
}

/* ================================
   Hero Section
   ================================ */

.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 6rem 0;
    border-bottom: 1px solid rgba(71, 85, 105, 0.1);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #475569, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #475569;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================
   Buttons
   ================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #1E88E5, #1565C0);
    color: white;
    box-shadow: 0 4px 6px rgba(30, 136, 229, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 136, 229, 0.3);
}

.btn-secondary {
    background: white;
    color: #475569;
    border: 2px solid #475569;
}

.btn-secondary:hover {
    background: #f8fafc;
}

.btn-outline {
    background: white;
    color: #475569;
    border: 2px solid #475569;
}

.btn-outline:hover {
    background: #475569;
    color: white;
}

.btn-white {
    background: white;
    color: #475569;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: #475569;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ================================
   Section Styles
   ================================ */

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   How It Works Section
   ================================ */

.how-it-works {
    padding: 6rem 0;
    background: white;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 60px;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(180deg, #475569, #cbd5e1);
}

.timeline-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #475569, #334155);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 4px 6px rgba(71, 85, 105, 0.3);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.timeline-content p {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.timeline-list {
    list-style: none;
    padding-left: 0;
}

.timeline-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: #6b7280;
}

.timeline-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #475569;
    font-weight: 700;
}

/* ================================
   Product Sections
   ================================ */

.product-section {
    padding: 6rem 0;
}

.eurogate-section {
    background: linear-gradient(135deg, #FFFEF0 0%, #ffffff 100%);
}

.europathway-section {
    background: linear-gradient(135deg, #E3F2FD 0%, #ffffff 100%);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-grid.reverse {
    direction: rtl;
}

.product-grid.reverse > * {
    direction: ltr;
}

.product-tag {
    display: inline-block;
    background: #1E88E5;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #111827;
}

.product-description {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.product-logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.product-logo {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

.europathway-logo {
    width: 200px;
}

.product-name {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
}

/* ================================
   Feature List
   ================================ */

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.feature-text p {
    color: #6b7280;
    line-height: 1.6;
}

/* ================================
   Gate Illustration
   ================================ */

.gate-illustration {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.gate-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gate-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0F766E;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gate-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

/* ================================
   Pathway Illustration
   ================================ */

.pathway-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.pathway-step {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    transition: transform 0.3s ease;
}

.pathway-step:hover {
    transform: scale(1.05);
}

.pathway-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.pathway-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.pathway-arrow {
    font-size: 1.5rem;
    color: #1E88E5;
    font-weight: 700;
}

/* ================================
   Why Both Section
   ================================ */

.why-both {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

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

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(71, 85, 105, 0.1);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(71, 85, 105, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #111827;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* ================================
   Pricing Section
   ================================ */

.pricing {
    padding: 6rem 0;
    background: white;
}

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

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(71, 85, 105, 0.15);
    border-color: #475569;
}

.pricing-card.eurogate-pricing:hover {
    border-color: #0F766E;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.15);
}

.pricing-card.europathway-pricing:hover {
    border-color: #1E88E5;
    box-shadow: 0 12px 24px rgba(30, 136, 229, 0.15);
}

.pricing-card.featured {
    border-color: #1E88E5;
    border-width: 3px;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #1E88E5, #1565C0);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #111827;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6b7280;
    margin-top: 0.5rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: #111827;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: #6b7280;
    margin-top: 1.5rem;
}

.pricing-save {
    margin-top: 0.5rem;
    color: #475569;
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-feature {
    padding: 0.75rem 0;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.6;
}

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

/* ================================
   FAQ Section
   ================================ */

.faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(71, 85, 105, 0.1);
}

.faq-question {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #111827;
}

.faq-answer {
    color: #6b7280;
    line-height: 1.7;
}

/* ================================
   CTA Section
   ================================ */

.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #475569, #334155);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   Footer
   ================================ */

.footer {
    background: #111827;
    color: #9ca3af;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: #9ca3af;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #cbd5e1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    color: #6b7280;
}

/* ================================
   EuroGate Specific Styles
   ================================ */

/* EuroGate Color Scheme - Teal */
.eurogate-primary {
    color: #0F766E;
}

.eurogate-gradient {
    background: linear-gradient(135deg, #14B8A6, #0F766E);
}

.btn-eurogate {
    background: linear-gradient(135deg, #14B8A6, #0F766E);
    color: white;
    box-shadow: 0 4px 6px rgba(15, 118, 110, 0.3);
}

.btn-eurogate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(15, 118, 110, 0.4);
}

.btn-eurogate-outline {
    background: white;
    color: #0F766E;
    border: 2px solid #0F766E;
}

.btn-eurogate-outline:hover {
    background: #0F766E;
    color: white;
}

.eurogate-tag {
    display: inline-block;
    background: #0F766E;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-eurogate {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, #E6FFFB 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid rgba(15, 118, 110, 0.25);
    margin-bottom: 3rem;
}

.timeline-eurogate .timeline-number {
    background: linear-gradient(135deg, #14B8A6, #0F766E);
    box-shadow: 0 4px 6px rgba(15, 118, 110, 0.3);
}

.timeline-eurogate::after {
    display: none;
}

.timeline-europathway {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, #E3F2FD 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid rgba(30, 136, 229, 0.2);
}

.timeline-europathway .timeline-number {
    background: linear-gradient(135deg, #1E88E5, #1565C0);
    box-shadow: 0 4px 6px rgba(30, 136, 229, 0.3);
}

/* EuroPathway Specific Button Styles */
.btn-europathway-outline {
    background: white;
    color: #1E88E5;
    border: 2px solid #1E88E5;
}

.btn-europathway-outline:hover {
    background: #E3F2FD;
}

.timeline-product-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.timeline-product-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.timeline-product-info h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.timeline-product-info p {
    color: #6b7280;
    font-size: 1rem;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .timeline-item {
        gap: 1rem;
    }

    .timeline-eurogate,
    .timeline-europathway {
        padding: 1.5rem;
    }

    .timeline-product-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .timeline-product-logo {
        width: 60px;
        height: 60px;
    }

    .timeline-product-info h2 {
        font-size: 1.5rem;
    }

    .timeline-step-item {
        gap: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .pathway-illustration {
        flex-direction: column;
    }

    .pathway-arrow {
        transform: rotate(90deg);
    }
}

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

    .section-title {
        font-size: 1.5rem;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
