/* NIS2 Compliance Landing Page Styles */

:root {
    /* Colors */
    --background: 255 255 255;
    --foreground: 15 23 42;
    --card: 255 255 255;
    --card-foreground: 15 23 42;
    --primary: 15 23 42;
    --primary-foreground: 248 250 252;
    --secondary: 241 245 249;
    --secondary-foreground: 15 23 42;
    --muted: 241 245 249;
    --muted-foreground: 100 116 139;
    --accent: 241 245 249;
    --accent-foreground: 15 23 42;
    --border: 226 232 240;
    --ring: 15 23 42;
    --radius: 8px;
    
    /* Fonts */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: 'Source Serif Pro', Georgia, "Times New Roman", Times, serif;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, rgb(15 23 42), rgb(59 130 246));
    --gradient-surface: linear-gradient(180deg, rgb(255 255 255), rgba(241 245 249 / 0.35));
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Core Web Vitals optimizations */
    font-display: swap;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: rgb(var(--background));
    color: rgb(var(--foreground));
    line-height: 1.7;
    font-size: 16px;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 600;
}

p {
    font-weight: 400;
    color: rgb(var(--foreground) / 0.9);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    letter-spacing: -0.01em;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gradient-primary);
    color: rgb(var(--primary-foreground));
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
}

.btn-outline {
    background: transparent;
    color: rgb(var(--foreground));
    border: 1px solid rgb(var(--border));
}

/* Hero button overrides for visibility on dark backgrounds */
.hero-content .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgb(var(--secondary));
    transform: translateY(-1px);
}

.hero-content .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-cta {
    background: rgb(var(--primary-foreground));
    color: rgb(var(--primary));
    border: 1px solid rgb(var(--primary-foreground));
    font-weight: 600;
}

.btn-cta:hover {
    background: rgb(var(--secondary));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgb(var(--border));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 1rem;
    background: white;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
}

@media (min-width: 768px) {
    .hero-carousel {
        height: 72vh;
        min-height: 500px;
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    z-index: 2;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .hero-content {
        align-items: center;
        padding: 4rem 0;
    }
}

.hero-text {
    max-width: 48rem;
    color: white;
    animation: fadeIn 0.4s ease-out;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    color: white;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.05;
    }
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: white;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.125rem;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.hero-sectors {
    font-size: 0.75rem;
    opacity: 0.8;
    color: white;
}

@media (min-width: 768px) {
    .hero-sectors {
        font-size: 0.875rem;
    }
}

/* Section Styles */
.section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

.content-center {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    color: rgb(var(--foreground));
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        line-height: 1.15;
    }
}

.section-description {
    color: rgb(var(--muted-foreground));
    margin-bottom: 0.75rem;
}

/* Sectors Grid */
.sectors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sectors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sector-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgb(var(--border));
    background: rgb(var(--card));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sector-card:hover {
    border-color: rgba(var(--ring), 0.4);
    transform: scale(1.02);
}

.sector-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.sector-icon {
    padding: 0.75rem;
    border-radius: var(--radius);
    background: rgb(var(--secondary));
    color: rgb(var(--secondary-foreground));
    flex-shrink: 0;
}

.sector-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sector-description {
    font-size: 0.875rem;
    color: rgb(var(--muted-foreground));
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgb(var(--border));
    background: rgb(var(--card));
}

.requirement-icon {
    margin-top: 0.25rem;
    color: rgb(var(--primary));
    flex-shrink: 0;
}

.requirement-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.requirement-description {
    font-size: 0.875rem;
    color: rgb(var(--muted-foreground));
}

/* CTA Section */
.cta-section {
    position: relative;
    background: var(--gradient-primary);
    color: rgb(var(--primary-foreground));
}

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

.cta-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-description {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.cta-button-wrapper {
    margin-bottom: 0.5rem;
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
}

.floating-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
    color: white;
    text-decoration: none;
}

.floating-cta .icon {
    font-size: 1.1rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Inline CTAs */
.cta-inline {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.cta-inline h3 {
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e40af;
}

.cta-inline p {
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
}

.cta-inline .btn {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 0.5rem;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

.cta-inline .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.cta-inline .btn.secondary {
    background: transparent;
    color: #1e40af;
    border: 2px solid #1e40af;
    box-shadow: none;
}

.cta-inline .btn.secondary:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
}

/* Urgent CTA */
.cta-urgent {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
    border: 3px solid #fca5a5;
    position: relative;
    overflow: hidden;
}

.cta-urgent::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #dc2626, #fca5a5, #dc2626);
    border-radius: 12px;
    z-index: -1;
    animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cta-urgent .warning-badge {
    display: inline-block;
    background: #fef2f2;
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cta-urgent h3 {
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    font-weight: 800;
}

.cta-urgent p {
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    opacity: 0.95;
}

.cta-urgent .penalty-text {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: 600;
}

.cta-urgent .btn {
    background: white;
    color: #dc2626;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 0.5rem;
}

.cta-urgent .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #dc2626;
    text-decoration: none;
}

/* Sector CTA */
.cta-sector {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
    border: 1px solid rgba(5, 150, 105, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cta-sector h3 {
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #059669;
}

.cta-sector p {
    margin: 0 0 2.5rem 0;
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.6;
}

.sector-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sector-icon {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(5, 150, 105, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sector-icon:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.15);
    border-color: rgba(5, 150, 105, 0.2);
}

.sector-icon .icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-radius: 8px;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.sector-icon .icon::before {
    content: attr(data-icon);
}

.sector-icon .label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
}

.cta-sector .btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

.cta-sector .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
}

/* Enhanced Main CTA Features */
.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cta-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.cta-feature .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    color: #60a5fa;
}

.cta-feature h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-feature p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-guarantees {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.guarantee-item .icon {
    color: #10b981;
    font-weight: bold;
}

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

.cta-buttons .btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-buttons .btn-primary {
    background: #dc2626;
    color: white;
}

.cta-buttons .btn-primary:hover {
    background: #991b1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    color: white;
    text-decoration: none;
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #0f172a;
    text-decoration: none;
}

/* Enhanced Footer */
.footer {
    border-top: 1px solid rgb(var(--border));
    background: rgb(var(--muted));
    padding: 4rem 0 2rem 0;
}

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

@media (min-width: 640px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-main {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(var(--foreground));
    margin-bottom: 0.5rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: rgb(var(--foreground));
    margin-bottom: 0.5rem;
}

.footer-section p {
    font-size: 0.875rem;
    color: rgb(var(--muted-foreground));
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section ul li a {
    font-size: 0.875rem;
    color: rgb(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: rgb(var(--primary));
}

.footer-contact {
    margin-top: 1rem;
}

.footer-contact p {
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: rgb(var(--primary));
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgb(var(--border));
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-legal p {
    font-size: 0.875rem;
    color: rgb(var(--muted-foreground));
    margin: 0;
}

.footer-powered {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgb(var(--muted-foreground));
}

.footer-powered a {
    font-weight: 500;
    color: rgb(var(--primary));
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-powered a:hover {
    color: rgb(var(--foreground));
}

/* New Content Sections */

/* Light background section */
.bg-light {
    background: rgb(var(--muted) / 0.3);
}

/* Sector Details Grid */
.sector-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .sector-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sector-detail-card {
    background: rgb(var(--card));
    border: 1px solid rgb(var(--border));
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.sector-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.sector-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.sector-detail-icon.energy { background: linear-gradient(135deg, #f59e0b, #d97706); }
.sector-detail-icon.finance { background: linear-gradient(135deg, #10b981, #059669); }
.sector-detail-icon.healthcare { background: linear-gradient(135deg, #ef4444, #dc2626); }
.sector-detail-icon.telecom { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.sector-detail-icon.digital { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.sector-detail-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    flex-grow: 1;
}

.criticality-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.criticality-badge.critical {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.criticality-badge.essential {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.sector-detail-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    color: rgb(var(--foreground));
}

.sector-detail-content ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.sector-detail-content li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.sector-detail-content li::before {
    content: "•";
    color: rgb(var(--primary));
    font-weight: bold;
    position: absolute;
    left: 0;
}

.compliance-timeline,
.compliance-note,
.sector-spotlight,
.regulatory-note,
.tech-note {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.compliance-timeline {
    background: rgba(239, 68, 68, 0.05);
    border-left: 4px solid #ef4444;
}

.compliance-note {
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid #3b82f6;
}

.sector-spotlight {
    background: rgba(16, 185, 129, 0.05);
    border-left: 4px solid #10b981;
}

.regulatory-note {
    background: rgba(139, 92, 246, 0.05);
    border-left: 4px solid #8b5cf6;
}

.tech-note {
    background: rgba(245, 158, 11, 0.05);
    border-left: 4px solid #f59e0b;
}

/* Country Implementation Grid */
.country-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .country-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .country-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.country-card {
    background: rgb(var(--card));
    border: 1px solid rgb(var(--border));
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.country-header {
    padding: 1.5rem 1.5rem 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.country-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.implementation-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.implementation-status.implemented {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.implementation-status.partial {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.implementation-status.planning {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.country-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.country-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
}

.country-content ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.country-content li {
    padding: 0.25rem 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.implementation-detail {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(var(--muted), 0.5);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-style: italic;
}

/* Implementation Summary */
.implementation-summary {
    margin-top: 3rem;
    padding: 2rem;
    background: rgb(var(--card));
    border: 1px solid rgb(var(--border));
    border-radius: var(--radius);
}

.implementation-summary h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.theme-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .theme-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.theme-card {
    padding: 1.5rem;
    background: rgba(var(--muted), 0.3);
    border-radius: var(--radius);
}

.theme-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.theme-card p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    margin-top: 2rem;
    padding-left: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgb(var(--border));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid rgb(var(--border));
    background: rgb(var(--background));
}

.timeline-item.completed::before {
    background: #10b981;
    border-color: #10b981;
}

.timeline-item.active::before {
    background: #f59e0b;
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.timeline-item.upcoming::before {
    background: #3b82f6;
    border-color: #3b82f6;
}

.timeline-item.future::before {
    background: #6b7280;
    border-color: #6b7280;
}

.timeline-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(var(--primary));
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.timeline-content p {
    margin: 0 0 0.5rem 0;
    line-height: 1.6;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.timeline-content li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
    font-size: 0.875rem;
}

.timeline-content li::before {
    content: "→";
    color: rgb(var(--primary));
    position: absolute;
    left: 0;
}

.urgent-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

/* Deadline Alerts */
.deadline-alerts {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .deadline-alerts {
        grid-template-columns: repeat(2, 1fr);
    }
}

.alert-critical {
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius);
}

.alert-planning {
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius);
}

.alert-critical h4,
.alert-planning h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

.alert-critical p,
.alert-planning p {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.alert-planning ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.alert-planning li {
    padding: 0.25rem 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Animations */
@keyframes fadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Mobile responsive adjustments for CTAs */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 10px;
        right: 10px;
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .cta-inline, .cta-urgent, .cta-sector {
        padding: 1.5rem 1rem;
        margin: 2rem 0;
    }
    
    .sector-icons {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }
    
    .sector-icon {
        padding: 1rem 0.5rem;
    }
    
    .sector-icon .icon {
        width: 32px;
        height: 32px;
        font-size: 0.6rem;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-guarantees {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Responsive Design */
@media (max-width: 640px) {
    .hero-section {
        margin: 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 2rem;
}

/* Focus styles for accessibility */
.btn:focus,
.footer-link:focus {
    outline: 2px solid rgb(var(--ring));
    outline-offset: 2px;
}

/* Core Web Vitals Optimizations */
.hero-image[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-image[loading="lazy"].loaded {
    opacity: 1;
}

/* Optimize Largest Contentful Paint (LCP) */
.hero-image {
    content-visibility: auto;
    contain-intrinsic-size: 1200px 600px;
}

/* Optimize First Input Delay (FID) */
.btn, .cta-inline .btn, .cta-urgent .btn, .cta-sector .btn {
    will-change: transform;
    transform: translateZ(0);
}

/* Optimize Cumulative Layout Shift (CLS) */
.hero-section {
    contain: layout style;
}

.container {
    contain: layout;
}

/* Critical path CSS inlining optimization */
.hero-content {
    contain: layout style;
}

/* Reduce layout thrashing */
.hero-title, .section-title {
    contain: layout;
}

/* Performance optimizations for animations */
@media (prefers-reduced-motion: reduce) {
    .floating-cta {
        animation: none;
    }
    
    .hero-carousel {
        animation: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .cta-inline .btn:hover,
    .cta-urgent .btn:hover,
    .cta-sector .btn:hover {
        transform: none;
    }
}

/* Efficient font loading */
