/* ===========================
   CSS RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-blue: #0098D8;
    --dark-blue: #006A9C;
    --light-blue: #E8F5FA;
    --teal-gradient-start: #0098D8;
    --teal-gradient-end: #00B4A0;
    
    --orange: #FF9800;
    --yellow: #FFC107;
    --green: #4CAF50;
    
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    --white: #FFFFFF;
    --black: #000000;
    
    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-max-width: 1400px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    overflow-x: hidden;
}

/* ===========================
   ACCESSIBILITY
   =========================== */
/* Skip Link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 100;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Enhanced focus states (WCAG 2.4.7 / 2.4.13) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Fallback for browsers without :focus-visible */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Remove focus ring for mouse clicks (only show for keyboard) */
a:focus:not(:focus-visible), button:focus:not(:focus-visible) {
    outline: none;
}

/* High contrast mode support */
@media (forced-colors: active) {
    a:focus-visible, button:focus-visible, input:focus-visible {
        outline: 3px solid LinkText;
    }
    
    .skip-link:focus {
        background: LinkText;
        color: Canvas;
    }
}

/* Visually hidden class for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===========================
   HEADER
   =========================== */
.header {
    background-color: var(--white);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.logo:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.logo-handy {
    color: var(--primary-blue);
}

.logo-tarif {
    color: var(--gray-800);
}

.logo-sim {
    color: var(--primary-blue);
}

.logo-prepaid {
    color: var(--gray-800);
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--gray-800);
    transition: all 0.3s ease;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    background: linear-gradient(135deg, var(--teal-gradient-start), var(--teal-gradient-end));
    color: var(--white);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===========================
   INFO SECTION
   =========================== */
.info-section {
    padding: var(--spacing-xl) 0;
}

.info-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.info-card-top {
    background: linear-gradient(135deg, rgba(178, 235, 242, 0.6), rgba(129, 212, 250, 0.4));
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid var(--primary-blue);
}

.info-card-bottom {
    background: linear-gradient(135deg, rgba(178, 235, 242, 0.6), rgba(129, 212, 250, 0.4));
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-xxl);
    border-left: 4px solid var(--primary-blue);
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.info-text {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* ===========================
   FEATURES SECTION
   =========================== */
.features-section {
    margin: 2rem 0 0 0;
    padding: 2rem 0 1rem 0;
}

.features-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xl);
    letter-spacing: 0.5px;
    position: relative;
}

.features-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-gradient-start), var(--teal-gradient-end));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--teal-gradient-start), var(--teal-gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 4px 12px rgba(0, 152, 216, 0.3);
}

.icon-symbol {
    font-size: 2.5rem;
    filter: brightness(0) invert(1);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.3px;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
}

/* ===========================
   PRIORITY SECTION (Was ist Ihnen wichtig?)
   =========================== */
.priority-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin: 0;
}

.priority-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
    position: relative;
}

.priority-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-gradient-start), var(--teal-gradient-end));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.priority-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.priority-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.priority-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-gradient-start), var(--teal-gradient-end));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.priority-card:hover::before {
    transform: scaleX(1);
}

.priority-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(20, 194, 194, 0.15);
    border-color: var(--teal-gradient-start);
}

.priority-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    filter: grayscale(20%);
}

.priority-card:hover .priority-icon {
    filter: grayscale(0%);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.priority-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.priority-card-text {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
    flex-grow: 1;
}

.priority-card-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--teal-gradient-start);
    margin: 0;
}

.price-period {
    font-size: 0.875rem;
    font-weight: 400;
    color: #666;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .priority-cards {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .priority-title {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
    
    .priority-card {
        padding: 1.5rem 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .priority-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .priority-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===========================
   DATA VOLUME FILTER SECTION
   =========================== */
.data-volume-filter-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin: 0;
}

.data-volume-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
    position: relative;
}

.data-volume-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-gradient-start), var(--teal-gradient-end));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.data-volume-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.data-volume-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    min-height: 200px;
}

.data-volume-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(20, 194, 194, 0.25);
}

.data-volume-header {
    width: 100%;
    text-align: left;
    margin-bottom: 0.5rem;
}

.data-volume-prefix {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.data-volume-amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin: 0.75rem 0;
    text-align: center;
}

.data-volume-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    text-align: center;
}

.data-volume-price {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-top: auto;
}

.data-volume-period {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-top: 0.25rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .data-volume-cards {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .data-volume-title {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
    
    .data-volume-card {
        min-height: 180px;
        padding: 1.5rem 1.25rem;
    }
    
    .data-volume-amount {
        font-size: 2.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .data-volume-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================
   RATGEBER SECTION
   =========================== */
.ratgeber-section {
    background: linear-gradient(135deg, var(--teal-gradient-start), var(--teal-gradient-end));
    padding: var(--spacing-xxl) 0;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.ratgeber-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.ratgeber-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.ratgeber-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

.ratgeber-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ratgeber-content {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.ratgeber-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-800);
    margin-bottom: var(--spacing-md);
}

.ratgeber-content p:last-child {
    margin-bottom: 0;
}

.ratgeber-content strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ===========================
   FAQ SECTION
   =========================== */
.faq-section {
    margin-top: 0;
    padding: 1rem 0 1rem 0;
}

.faq-main-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xl);
    letter-spacing: 0.5px;
    position: relative;
}

.faq-main-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-gradient-start), var(--teal-gradient-end));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ===========================
   FAQ SEARCH BAR
   =========================== */
.faq-search-container {
    max-width: 900px;
    margin: 2rem auto;
}

.faq-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-search-box:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 152, 216, 0.2);
}

.faq-search-box.search-active {
    border-color: var(--teal-gradient-end);
    background: linear-gradient(to right, rgba(0, 152, 216, 0.05), rgba(0, 180, 160, 0.05));
    box-shadow: 0 4px 16px rgba(0, 180, 160, 0.25);
}

.search-icon {
    color: var(--gray-500);
    margin-right: 0.75rem;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.faq-search-box:focus-within .search-icon {
    color: var(--primary-blue);
}

.faq-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--gray-800);
    background: transparent;
    font-family: var(--font-family);
}

.faq-search-input::placeholder {
    color: var(--gray-400);
}

.search-clear-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    margin-left: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
}

.search-clear-btn:hover {
    color: var(--gray-700);
    background: var(--gray-100);
}

.faq-search-results {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--light-blue);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--gray-700);
    display: none;
    border: 1px solid rgba(0, 152, 216, 0.2);
}

.faq-search-results.active {
    display: block;
}

.btn-reset-search:hover,
.btn-reset-search-small:hover {
    background: var(--dark-blue) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 152, 216, 0.3);
}

.faq-item.hidden {
    display: none;
}

.faq-item.highlight {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 152, 216, 0.15);
    animation: highlightPulse 0.5s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% { 
        border-color: var(--primary-blue);
    }
    50% { 
        border-color: var(--teal-gradient-end);
        box-shadow: 0 6px 16px rgba(0, 180, 160, 0.25);
    }
}

/* FAQ Category Sections */
.faq-container h3[id] {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-container h3[id][style*="display: none"] {
    opacity: 0;
    transform: translateY(-10px);
}

/* ===========================
   POPULAR TOPICS GRID
   =========================== */
/* OLD POPULAR TOPICS CSS - REPLACED BY NEW VERSION BELOW 
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    padding: 0 1rem;
}

.topic-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: var(--gray-800);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.topic-card:hover {
    border-color: var(--primary-blue);
    background: var(--light-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 152, 216, 0.15);
}

.topic-card:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

.topic-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.topic-title {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    color: var(--gray-800);
    transition: color 0.3s ease;
}

.topic-card:hover .topic-title {
    color: var(--primary-blue);
}
END OF OLD CSS */

/* ===========================
   TOPICS GRID (FOR FAQ PAGE)
   =========================== */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    padding: 0 1rem;
}

.topic-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: var(--gray-800);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.topic-card:hover {
    border-color: var(--primary-blue);
    background: var(--light-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 152, 216, 0.15);
}

.topic-card:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

.topic-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.topic-title {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    color: var(--gray-800);
    transition: color 0.3s ease;
}

.topic-card:hover .topic-title {
    color: var(--primary-blue);
}

/* ===========================
   FAQ ITEMS
   =========================== */
.faq-item {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: var(--gray-900);
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-blue);
    background-color: var(--light-blue);
}

.faq-question:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: -3px;
}

.faq-icon {
    font-size: 0.8rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 var(--spacing-lg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-md);
}

.faq-answer p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: justify;
}

.faq-answer strong {
    color: var(--gray-900);
    font-weight: 600;
}

.faq-more-link {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.btn-faq-more {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--teal-gradient-start), var(--teal-gradient-end));
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-faq-more:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Info Card Buttons */
.btn-info-primary {
    padding: 0.75rem 1.75rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-info-primary:hover {
    background-color: #0277BD;
    transform: translateY(-1px);
}

.btn-info-secondary {
    padding: 0.75rem 1.75rem;
    background-color: var(--white);
    color: var(--gray-800);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-info-secondary:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-400);
}

/* ===========================
   POPULAR TOPICS SECTION
   =========================== */
.popular-topics-section {
    background: #f8f9fa;
    padding: 2.5rem 2rem;
    margin: 1rem 0 2rem 0;
    border-radius: 12px;
}

.popular-topics-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    position: relative;
}

.popular-topics-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-gradient-start), var(--teal-gradient-end));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.popular-topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.topic-category {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-width: 310px;
}

.topic-category:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.topic-category-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--teal-gradient-start);
    line-height: 1.3;
}

.topic-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topic-links li {
    margin-bottom: 0.75rem;
}

.topic-links li:last-child {
    margin-bottom: 0;
}

.topic-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.topic-links a::before {
    content: "›";
    margin-right: 0.5rem;
    color: var(--teal-gradient-start);
    font-weight: 700;
    font-size: 1.2rem;
}

.topic-links a:hover {
    color: var(--teal-gradient-start);
    padding-left: 0.5rem;
}

.topic-links a.more-link {
    color: var(--teal-gradient-start);
    font-weight: 600;
    margin-top: 0.5rem;
}

.topic-links a.more-link::before {
    content: "";
    margin-right: 0;
}

.topic-links a.more-link:hover {
    color: var(--teal-gradient-end);
}

/* Responsive Design for Popular Topics */
@media (max-width: 1024px) {
    .popular-topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .popular-topics-section {
        padding: 2rem 1.5rem;
    }

    .popular-topics-title {
        font-size: 1.5rem;
    }

    .popular-topics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .topic-category {
        padding: 1.25rem;
    }

    .topic-category-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .popular-topics-section {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }

    .popular-topics-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .topic-links a {
        font-size: 0.9rem;
    }
}

/* ===========================
   FILTER SECTION
   =========================== */
.filter-section {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.filter-label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-800);
}

.filter-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-blue);
    background-color: var(--white);
    color: var(--primary-blue);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--light-blue);
}

.filter-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* ===========================
   TARIFF TABLE HEADER & CARDS
   =========================== */
.tariff-table-header {
    display: grid;
    grid-template-columns: 100px 1fr 150px 90px 100px 170px;
    gap: var(--spacing-md);
    background-color: #D4A574;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.tariff-table-header > div {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-800);
}

.tariff-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.tariff-card {
    display: grid;
    grid-template-columns: 100px 1fr 150px 90px 100px 170px;
    gap: var(--spacing-md);
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    align-items: center;
}

.tariff-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
    transform: translateY(-2px);
}

/* Card Rank */
.card-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
    white-space: nowrap;
}

.badge-best {
    background-color: var(--primary-blue);
    color: var(--white);
}

.badge-popular {
    background-color: var(--green);
    color: var(--white);
}

.crown-badge {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.rank-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-800);
}

/* Card Provider */
.card-provider {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.provider-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.provider-badges {
    display: inline-flex;
    gap: var(--spacing-xs);
}

.provider-badge {
    display: inline-block;
    padding: 3px 10px;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
}

.tariff-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}

.provider-details {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
}

.tariff-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 4px 0;
}

.tariff-description {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}

/* Card Rating */
.card-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stars {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.star {
    color: var(--yellow);
}

.rating-count {
    font-size: 0.7rem;
    color: var(--gray-500);
    margin: 0;
}

.rating-text {
    font-size: 0.7rem;
    color: var(--gray-600);
    margin: 2px 0 0 0;
}

/* Card Score */
.card-score {
    display: flex;
    justify-content: center;
    align-items: center;
}

.score-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

/* Card Data */
.card-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.data-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
}

.data-label {
    font-size: 0.7rem;
    color: var(--gray-600);
    margin: 2px 0 0 0;
}

/* Card Action */
.card-action {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.btn-primary {
    width: 100%;
    padding: 0.7rem 1rem;
    background-color: var(--green);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-align: center;
}

.btn-primary:hover {
    background-color: #3daf67;
    transform: translateY(-1px);
}

.btn-secondary {
    width: 100%;
    padding: 0.7rem 1rem;
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--light-blue);
}

/* Additional Tariffs Section */
.additional-tariffs {
    margin-top: var(--spacing-xxl);
}

/* ===========================
   SECTION HEADER
   =========================== */
.section-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(90deg, #FFF4E6 0%, #FFE8CC 100%);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.crown-icon {
    font-size: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xxl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-700);
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-md);
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table td {
        padding: var(--spacing-sm);
    }
    
    .providers-header,
    .provider-card {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}

/* ===========================
   PROVIDERS GRID LAYOUT
   =========================== */
.providers-header {
    display: grid;
    grid-template-columns: 100px 1fr 200px 100px 150px 200px;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: #D4A574;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--gray-800);
    margin-bottom: var(--spacing-lg);
}

.providers-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.provider-card {
    display: grid;
    grid-template-columns: 100px 1fr 200px 100px 150px 200px;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    align-items: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.provider-card:hover {
    background-color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
    transform: translateY(-2px);
}

.provider-rank {
    text-align: center;
}

.provider-main {
    display: flex;
    align-items: center;
}

.provider-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: var(--spacing-xs);
}

.provider-rating {
    text-align: center;
}

.provider-score {
    display: flex;
    justify-content: center;
}

.provider-data {
    text-align: center;
}

.provider-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1200px) {
    .tariff-table-header,
    .tariff-card {
        grid-template-columns: 80px 1fr 130px 80px 90px 150px;
    }
}

@media (max-width: 992px) {
    .tariff-table-header {
        display: none;
    }
    
    .tariff-card {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-xl);
    }
    
    .card-rank {
        order: 1;
    }
    
    .card-provider {
        order: 2;
    }
    
    .card-rating {
        order: 3;
        text-align: left;
    }
    
    .card-score {
        order: 4;
        justify-content: flex-start;
    }
    
    .card-data {
        order: 5;
        text-align: left;
    }
    
    .card-action {
        order: 6;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Popular Topics Responsive */
    .topics-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .topic-card {
        padding: 1.5rem 1rem;
        min-height: 120px;
    }
    
    .topic-icon {
        font-size: 2rem;
    }
    
    .topic-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    /* Ratgeber responsive */
    .ratgeber-title {
        font-size: 1.75rem;
    }
    
    .ratgeber-content {
        padding: var(--spacing-lg);
    }
    
    .ratgeber-content p {
        font-size: 0.95rem;
    }
    
    .tariff-card {
        padding: var(--spacing-lg);
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .provider-name {
        font-size: 1.1rem;
    }
    
    .score-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Features Grid responsive */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .features-title {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .icon-symbol {
        font-size: 2rem;
    }
    
    /* FAQ responsive */
    .faq-main-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .faq-answer {
        padding: 0 var(--spacing-md);
    }
    
    .faq-item.active .faq-answer {
        padding: 0 var(--spacing-md) var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    /* Ratgeber mobile */
    .ratgeber-title {
        font-size: 1.5rem;
        padding: 0 var(--spacing-sm);
    }
    
    .ratgeber-content {
        padding: var(--spacing-md);
    }
    
    .ratgeber-content p {
        font-size: 0.9rem;
    }
    
    .tariff-card {
        padding: var(--spacing-md);
    }
    
    .provider-name {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    /* Features Grid mobile */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: var(--spacing-lg);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .icon-symbol {
        font-size: 1.75rem;
    }
    
    /* FAQ mobile */
    .faq-main-title {
        font-size: 1.25rem;
    }
    
    .faq-question {
        font-size: 0.9rem;
        padding: var(--spacing-sm);
    }
    
    .faq-icon {
        font-size: 0.7rem;
    }
    
    .btn-faq-more {
        width: 100%;
        text-align: center;
    }
}

/* ===========================
   INTERACTIVE RATING SYSTEM
   =========================== */
.card-rating {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rating-interactive {
    cursor: pointer;
    user-select: none;
}

.stars-container {
    display: inline-flex;
    gap: 2px;
}

.star {
    font-size: 1.5rem;
    display: inline-block;
    transition: transform 0.1s ease;
    line-height: 1;
    width: 1.5rem;
    height: 1.5rem;
    text-align: center;
    font-weight: normal;
    font-style: normal;
    cursor: pointer;
    position: relative;
}

.star.filled {
    color: #FFCE00;
}

.star.empty {
    color: #E0E0E0;
}

.star.half-filled {
    position: relative;
    color: transparent;
}

.star.half-filled .star-bg {
    position: absolute;
    top: 0;
    left: 0;
    color: #E0E0E0;
    width: 100%;
}

.star.half-filled .star-fg {
    position: absolute;
    top: 0;
    left: 0;
    color: #FFCE00;
    overflow: hidden;
}

.star:hover, .star:focus {
    transform: scale(1.15);
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: 2px;
}

.rating-hover-text {
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-top: 0.5rem;
    min-height: 20px;
    font-weight: 500;
    display: block;
    width: 100%;
}

.rating-thank-you {
    color: var(--green);
    font-weight: 600;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.rating-text {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.15rem;
}

/* Star click animation */
@keyframes starPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.star-clicked {
    animation: starPulse 0.3s ease;
}

/* Disable pointer events after voting */
.rating-voted .star {
    pointer-events: none;
    cursor: default;
}

.rating-voted .stars-interactive {
    opacity: 0.9;
}

/* ===========================
   PHONE CARDS STYLES
   =========================== */

.phone-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.phone-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.phone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Dim other cards when one is highlighted */
.phone-card.dimmed {
    opacity: 0.6;
    transition: all 0.4s ease;
}

.phone-card.highlighted {
    scroll-margin-top: 120px;
    border: 4px solid #00a39f !important;
    position: relative;
    z-index: 100;
    opacity: 1 !important;
    animation: highlightPulse 2s ease-in-out;
    box-shadow: 0 0 0 0 rgba(0, 163, 159, 0.7), 0 12px 40px rgba(0, 163, 159, 0.3) !important;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

@keyframes highlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 163, 159, 0.7), 0 12px 40px rgba(0, 163, 159, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0, 163, 159, 0), 0 16px 50px rgba(0, 163, 159, 0.4);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 163, 159, 0), 0 12px 40px rgba(0, 163, 159, 0.3);
        transform: scale(1);
    }
}

.phone-image {
    background: linear-gradient(135deg, var(--teal-gradient-start), var(--teal-gradient-end));
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.phone-image img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

.phone-details {
    padding: 1.25rem;
    flex: 1;
}

.phone-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.phone-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.phone-features li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--gray-700);
    font-size: 0.875rem;
    line-height: 1.4;
}

.phone-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.phone-features strong {
    color: var(--gray-900);
    font-weight: 600;
}

.phone-colors {
    display: flex;
    gap: 0.4rem;
    margin: 0.75rem 0;
    padding: 0.4rem 0;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.color-dot:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.color-dot.active {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px var(--primary-blue);
    outline: 2px solid var(--white);
}

.color-dot:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 3px;
    transform: scale(1.15);
}

.phone-storage {
    display: flex;
    gap: 0.4rem;
    margin: 0.75rem 0;
    flex-wrap: wrap;
}

.storage-btn {
    flex: 0 0 auto;
    min-width: 90px;
    max-width: 120px;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--gray-300);
    background: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.storage-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.storage-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.phone-pricing {
    padding: 1.25rem;
    background: var(--gray-50);
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-prefix {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-right: 0.25rem;
}

.price-main {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.price-period {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.original-price {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
}

.price-strike {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-500);
    text-decoration: line-through;
}

.price-currency-small {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
}

.phone-action {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.phone-action a {
    text-decoration: none;
}

.btn-phone-primary {
    width: 100%;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #FF9800, #FF6B00);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.btn-phone-primary:hover {
    background: linear-gradient(135deg, #FF6B00, #FF9800);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.4);
    transform: translateY(-2px);
}

.availability {
    text-align: center;
    font-size: 0.9rem;
    color: var(--green);
    font-weight: 600;
}

/* Responsive Phone Cards */
@media (max-width: 1200px) {
    .phone-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .phone-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .phone-name {
        font-size: 1.3rem;
    }
    
    /* Popular Topics Mobile */
    .popular-topics-section {
        margin: 2rem auto;
    }
    
    .popular-topics-title {
        font-size: 1.5rem;
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .topic-card {
        padding: 1.25rem 0.75rem;
        min-height: 110px;
    }
    
    .topic-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .topic-title {
        font-size: 0.85rem;
    }
    
    /* FAQ Search Results Mobile */
    .faq-search-results > div {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }
    
    .btn-reset-search-small {
        align-self: flex-end;
    }
    
    .price-main {
        font-size: 2rem;
    }
    
    .phone-image {
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .phone-details {
        padding: 1rem;
    }
    
    .phone-features li {
        font-size: 0.85rem;
    }
    
    .storage-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .btn-phone-primary {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}
/* ===========================
   TARIFF CARD ENHANCEMENTS
   =========================== */

/* Upfront costs - displayed small under monthly price */
.tariff-upfront-cost {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin: 2px 0 0 0;
    font-weight: 400;
}

/* Tariff Details Toggle Button */
.tariff-details-toggle {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.tariff-details-toggle:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

.tariff-details-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.tariff-details-toggle.active::after {
    transform: rotate(180deg);
}

/* Tariff Details Content - Expandable Section */
.tariff-details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0;
}

.tariff-details-content.active {
    max-height: 300px;
    margin-top: 12px;
}

/* Tariff Feature List */
.tariff-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-700);
}

.tariff-feature-list li {
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.tariff-feature-list li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Provider Details with Contract Duration */
.provider-details-extended {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contract-duration {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
}

/* ===========================
   MOBILE BREAKPOINT (Small Phones)
   =========================== */
@media (max-width: 480px) {
    .topics-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .topic-card {
        padding: 1.5rem 1rem;
        min-height: 100px;
    }
    
    .popular-topics-title {
        font-size: 1.25rem;
    }
}

/* ===========================
   POPULAR TARIFFS SECTION
   =========================== */
.popular-tariffs-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin: 2rem 0 3rem 0;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.2);
}

.popular-tariffs-container {
    max-width: 100%;
}

.popular-tariffs-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.popular-tariffs-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 2rem;
}

.popular-tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.popular-tariff-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.popular-tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.popular-tariff-card.featured {
    border: 2px solid #ffd700;
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}

.featured-label {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-bottom-left-radius: 8px;
    letter-spacing: 0.5px;
}

.popular-tariff-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.popular-tariff-provider {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.provider-logo {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 0.5px;
}

.network-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    color: #ffffff;
    white-space: nowrap;
}

.telekom-badge {
    background: linear-gradient(135deg, #e20074 0%, #c40061 100%);
}

.vodafone-badge {
    background: linear-gradient(135deg, #e60000 0%, #c40000 100%);
}

.o2-badge {
    background: linear-gradient(135deg, #0080c9 0%, #006ba6 100%);
}

.rank-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.popular-tariff-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.popular-tariff-data {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.data-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
}

.data-period {
    font-size: 1rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

.popular-tariff-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
}

.price-period {
    font-size: 0.9rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

.popular-tariff-description {
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.popular-tariff-action {
    text-align: center;
}

.popular-tariff-action a {
    text-decoration: none;
}

.btn-popular-tariff {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-popular-tariff:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.popular-tariffs-footer {
    text-align: center;
    margin-top: 2rem;
}

.btn-view-all-tariffs {
    display: inline-block;
    background: #ffffff;
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-view-all-tariffs:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
}

/* Responsive Design for Popular Tariffs */
@media (max-width: 768px) {
    .popular-tariffs-section {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0 2rem 0;
    }

    .popular-tariffs-title {
        font-size: 1.5rem;
    }

    .popular-tariffs-subtitle {
        font-size: 0.9rem;
    }

    .popular-tariffs-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .popular-tariff-card {
        padding: 1.5rem;
    }

    .data-display {
        font-size: 2rem;
    }

    .price-amount {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .popular-tariffs-section {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .popular-tariffs-title {
        font-size: 1.25rem;
    }

    .popular-tariff-name {
        font-size: 1rem;
    }

    .data-display {
        font-size: 1.75rem;
    }

    .btn-popular-tariff {
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
    }

    .btn-view-all-tariffs {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

/* ===========================
   eSIM TRAVEL TARIFFS SECTION
   =========================== */
.esim-travel-section {
    background: linear-gradient(135deg, #f59e42 0%, #ff8c42 50%, #ff6b35 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.25);
}

.esim-travel-container {
    max-width: 100%;
}

.esim-travel-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.esim-travel-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin-bottom: 2rem;
}

.esim-travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.esim-travel-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.esim-travel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.esim-travel-card.featured {
    border: 2px solid #ffd700;
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}

.featured-label.travel {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-bottom-left-radius: 8px;
    letter-spacing: 0.5px;
}

.best-value-label {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-bottom-right-radius: 8px;
    letter-spacing: 0.5px;
}

.esim-travel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.esim-travel-provider {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.provider-logo.travel {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ff6b35;
    letter-spacing: 0.5px;
}

.esim-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #f59e42 0%, #ff8c42 100%);
    color: #ffffff;
    white-space: nowrap;
}

.rank-badge.travel {
    background: linear-gradient(135deg, #ff6b35 0%, #f59e42 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.esim-travel-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.esim-travel-coverage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f0fdf4;
    border-radius: 8px;
}

.coverage-icon {
    font-size: 1.25rem;
}

.coverage-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #059669;
}

.esim-travel-data {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.esim-travel-data .data-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b35;
    line-height: 1;
}

.esim-travel-data .data-period {
    font-size: 0.85rem;
    color: #6b7280;
    margin-left: 0.5rem;
}

.esim-travel-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.esim-travel-price .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
}

.esim-travel-price .price-period {
    font-size: 0.9rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

.esim-travel-description {
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.esim-travel-action {
    text-align: center;
}

.esim-travel-action a {
    text-decoration: none;
}

.btn-esim-travel {
    background: linear-gradient(135deg, #ff6b35 0%, #f59e42 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.btn-esim-travel:hover {
    background: linear-gradient(135deg, #f59e42 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.esim-travel-footer {
    text-align: center;
    margin-top: 2rem;
}

.btn-view-all-esim {
    display: inline-block;
    background: #ffffff;
    color: #ff6b35;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-view-all-esim:hover {
    background: #fef3f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
}

/* Responsive Design for eSIM Travel Tariffs */
@media (max-width: 768px) {
    .esim-travel-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    .esim-travel-title {
        font-size: 1.5rem;
    }

    .esim-travel-subtitle {
        font-size: 0.9rem;
    }

    .esim-travel-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .esim-travel-card {
        padding: 1.5rem;
    }

    .esim-travel-data .data-display {
        font-size: 2rem;
    }

    .esim-travel-price .price-amount {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .esim-travel-section {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .esim-travel-title {
        font-size: 1.25rem;
    }

    .esim-travel-name {
        font-size: 1rem;
    }

    .esim-travel-data .data-display {
        font-size: 1.75rem;
    }

    .btn-esim-travel {
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
    }

    .btn-view-all-esim {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

/* ===========================
   INTERNATIONAL CALLS SECTION
   =========================== */
.international-calls-section {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.25);
}

.international-calls-container {
    max-width: 100%;
}

.international-calls-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.international-calls-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin-bottom: 2rem;
}

.international-calls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.international-call-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.international-call-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.international-call-card.featured {
    border: 2px solid #ffd700;
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}

.featured-label.intl {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-bottom-left-radius: 8px;
    letter-spacing: 0.5px;
}

.best-value-label.intl {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-bottom-right-radius: 8px;
    letter-spacing: 0.5px;
}

.international-call-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.international-call-provider {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.provider-logo.intl {
    font-size: 0.9rem;
    font-weight: 700;
    color: #047857;
    letter-spacing: 0.5px;
}

.intl-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    white-space: nowrap;
}

.rank-badge.intl {
    background: linear-gradient(135deg, #047857 0%, #10b981 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
}

.international-call-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.international-call-minutes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #ecfdf5;
    border-radius: 8px;
}

.minutes-icon {
    font-size: 1.25rem;
}

.minutes-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #047857;
}

.international-call-data {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.international-call-data .data-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #047857;
    line-height: 1;
}

.international-call-data .data-period {
    font-size: 0.85rem;
    color: #6b7280;
    margin-left: 0.5rem;
}

.international-call-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.international-call-price .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
}

.international-call-price .price-period {
    font-size: 0.9rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

.international-call-description {
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.international-call-action {
    text-align: center;
}

.international-call-action a {
    text-decoration: none;
}

.btn-international-call {
    background: linear-gradient(135deg, #047857 0%, #10b981 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
}

.btn-international-call:hover {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.4);
}

.international-calls-footer {
    text-align: center;
    margin-top: 2rem;
}

.btn-view-all-intl {
    display: inline-block;
    background: #ffffff;
    color: #047857;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-view-all-intl:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.3);
}

/* Responsive Design for International Calls */
@media (max-width: 768px) {
    .international-calls-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    .international-calls-title {
        font-size: 1.5rem;
    }

    .international-calls-subtitle {
        font-size: 0.9rem;
    }

    .international-calls-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .international-call-card {
        padding: 1.5rem;
    }

    .international-call-data .data-display {
        font-size: 2rem;
    }

    .international-call-price .price-amount {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .international-calls-section {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .international-calls-title {
        font-size: 1.25rem;
    }

    .international-call-name {
        font-size: 1rem;
    }

    .international-call-data .data-display {
        font-size: 1.75rem;
    }

    .btn-international-call {
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
    }

    .btn-view-all-intl {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

/* ===========================
   PROVIDERS CAROUSEL SECTION
   =========================== */
.providers-carousel-section {
    background: linear-gradient(135deg, #1e9bcf 0%, #17b1b9 50%, #14c2c2 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 20px rgba(23, 177, 185, 0.25);
    position: relative;
    overflow: hidden;
}

.providers-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.providers-carousel-container {
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.providers-carousel-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.providers-carousel-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin-bottom: 2rem;
}

.providers-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.providers-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.8) rgba(255, 255, 255, 0.2);
    -webkit-overflow-scrolling: touch;
}

.providers-carousel::-webkit-scrollbar {
    height: 10px;
}

.providers-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.providers-carousel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.providers-carousel::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 1);
}

.provider-item {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: #1e9bcf;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.provider-item:hover {
    background: #ffffff;
    color: #1e9bcf;
    border-color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.carousel-nav {
    position: sticky;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: #1e9bcf;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.carousel-nav:hover {
    background: #ffffff;
    color: #1e9bcf;
    border-color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.carousel-nav-left {
    left: 0;
}

.carousel-nav-right {
    right: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .providers-carousel-section {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }
    
    .providers-carousel-title {
        font-size: 1.4rem;
    }
    
    .providers-carousel-subtitle {
        font-size: 0.9rem;
    }
    
    .provider-item {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .providers-carousel-title {
        font-size: 1.2rem;
    }
    
    .carousel-nav {
        display: none;
    }
    
    .providers-carousel-wrapper {
        gap: 0;
    }
}

/* ===========================
   TOPICS CAROUSEL SECTION
   =========================== */
.topics-carousel-section {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin: 3rem 0 2rem 0;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
    position: relative;
    overflow: hidden;
}

.topics-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.topics-carousel-container {
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.topics-carousel-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.topics-carousel-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin-bottom: 2rem;
}

.topics-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topics-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.8) rgba(255, 255, 255, 0.2);
    -webkit-overflow-scrolling: touch;
}

.topics-carousel::-webkit-scrollbar {
    height: 10px;
}

.topics-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.topics-carousel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.topics-carousel::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 1);
}

.topic-item {
    flex: 0 0 280px;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem;
    border-radius: 14px;
    text-decoration: none;
    color: #1e293b;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.topic-item:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.topic-item-icon {
    font-size: 2rem;
    line-height: 1;
}

.topic-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0ea5e9;
    margin: 0;
}

.topic-item-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Topics Carousel */
@media (max-width: 768px) {
    .topics-carousel-section {
        padding: 1.5rem 1rem;
        margin: 2rem 0 1.5rem 0;
    }
    
    .topics-carousel-title {
        font-size: 1.3rem;
    }
    
    .topics-carousel-subtitle {
        font-size: 0.85rem;
    }
    
    .topic-item {
        flex: 0 0 250px;
        padding: 1.25rem;
    }
    
    .topic-item-icon {
        font-size: 1.75rem;
    }
    
    .topic-item-title {
        font-size: 1rem;
    }
    
    .topic-item-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .topics-carousel-title {
        font-size: 1.1rem;
    }
    
    .topic-item {
        flex: 0 0 220px;
        padding: 1rem;
    }
}

/* ===========================
   ADVANCED SEARCH SECTION
   =========================== */
.advanced-search-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin: 2rem 0 3rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
}

.search-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.search-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Quick Filters */
.quick-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quick-filter-btn:hover {
    border-color: var(--teal-gradient-start);
    background: linear-gradient(135deg, #e0f7f4 0%, #f0fdfa 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(20, 194, 194, 0.15);
}

.quick-filter-btn.active {
    border-color: var(--teal-gradient-start);
    background: linear-gradient(135deg, var(--teal-gradient-start), var(--teal-gradient-end));
    color: white;
}

.filter-icon {
    font-size: 1.25rem;
}

/* Advanced Search Form */
.advanced-search-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.search-row-checkboxes {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.label-icon {
    font-size: 1.1rem;
}

.search-select {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    color: var(--gray-800);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.search-select:hover {
    border-color: var(--teal-gradient-start);
}

.search-select:focus {
    outline: none;
    border-color: var(--teal-gradient-start);
    box-shadow: 0 0 0 3px rgba(20, 194, 194, 0.1);
}

/* Checkboxes */
.search-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--teal-gradient-start);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    user-select: none;
}

.checkbox-icon {
    font-size: 1.1rem;
}

/* Search Actions */
.search-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-search-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--teal-gradient-start), var(--teal-gradient-end));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(20, 194, 194, 0.3);
}

.btn-search-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20, 194, 194, 0.4);
}

.btn-search-primary:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-search-reset {
    padding: 1rem 2rem;
    background: white;
    color: var(--gray-700);
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search-reset:hover {
    background: #f8f9fa;
    border-color: var(--gray-400);
}

/* Pulse Animation for Search Button */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(20, 194, 194, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(20, 194, 194, 0.5);
    }
}

/* Responsive Design for Advanced Search */
@media (max-width: 768px) {
    .advanced-search-section {
        padding: 2rem 1.5rem;
    }
    
    .search-title {
        font-size: 1.5rem;
    }
    
    .quick-filters {
        grid-template-columns: 1fr;
    }
    
    .advanced-search-form {
        padding: 1.5rem;
    }
    
    .search-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-actions {
        flex-direction: column;
    }
    
    .btn-search-primary,
    .btn-search-reset {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .advanced-search-section {
        padding: 1.5rem 1rem;
    }
    
    .search-title {
        font-size: 1.25rem;
    }
    
    .search-subtitle {
        font-size: 0.9rem;
    }
    
    .quick-filter-btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   LEGAL PAGES (Datenschutz, Impressum)
   - Override inline styles for responsive
   ============================================ */
.info-card h2,
.info-card h3,
.info-card h4 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .info-card h2[style] {
        font-size: 1.25rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .info-card h3[style] {
        font-size: 0.95rem !important;
        margin-top: 1.5rem !important;
    }
    
    .info-card h4[style] {
        font-size: 0.9rem !important;
        margin-top: 1.25rem !important;
    }
    
    .info-card p[style] {
        font-size: 0.9rem !important;
        line-height: 1.7 !important;
    }
}

@media (max-width: 480px) {
    .info-card h2[style] {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .info-card h3[style] {
        font-size: 0.9rem !important;
        margin-top: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .info-card h4[style] {
        font-size: 0.85rem !important;
    }
    
    .info-card p[style] {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        margin-bottom: 0.75rem !important;
    }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN OVERHAUL
   ============================================ */

/* --- Tablet Landscape (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Provider Grid - fix 6-column overflow on tablets */
    .providers-header,
    .provider-card {
        grid-template-columns: 60px 1fr 120px 80px 100px 140px;
        gap: var(--spacing-sm);
        font-size: 0.8rem;
    }
    
    .provider-card {
        padding: var(--spacing-md);
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Tariff table - tighter on tablets */
    .tariff-table-header,
    .tariff-card {
        grid-template-columns: 70px 1fr 120px 80px 80px 140px;
        gap: var(--spacing-sm);
    }
}

/* --- Tablet Portrait (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Header/Nav - improve mobile menu */
    .header {
        padding: var(--spacing-sm) 0;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .nav {
        gap: 0;
        padding: var(--spacing-sm);
    }
    
    .nav-link {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
        border-bottom: 1px solid var(--gray-200);
        width: 100%;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Hero responsive improvements */
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    /* Info Section - missing responsive design */
    .info-card {
        padding: var(--spacing-md);
    }
    
    .info-card-top,
    .info-card-bottom {
        padding: var(--spacing-md);
    }
    
    .info-title {
        font-size: 1.25rem;
    }
    
    .info-text {
        font-size: 0.95rem;
    }
    
    /* FAQ Search - missing responsive */
    .faq-search-container {
        padding: 0 var(--spacing-sm);
    }
    
    .faq-search-box {
        padding: 0.6rem 1rem;
        border-radius: 40px;
    }
    
    .faq-search-input {
        font-size: 0.95rem;
    }
    
    /* Provider Grid - stack on mobile */
    .providers-header {
        display: none;
    }
    
    .provider-card {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
        text-align: center;
    }
    
    .provider-rank {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .provider-main {
        flex-direction: column;
        text-align: center;
    }
    
    .provider-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .provider-actions .btn-primary,
    .provider-actions .btn-secondary {
        flex: 1;
        max-width: 200px;
    }
    
    /* Tariff Cards - stack on mobile */
    .tariff-table-header {
        display: none;
    }
    
    .tariff-card {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }
    
    .card-rank {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: flex-start;
        gap: var(--spacing-sm);
    }
    
    .card-provider {
        grid-column: 1 / -1;
    }
    
    .card-action {
        grid-column: 1 / -1;
        flex-direction: row;
    }
    
    .card-action .btn-primary,
    .card-action .btn-secondary {
        flex: 1;
    }
    
    /* Rating system responsive */
    .star {
        font-size: 1.3rem;
        width: 1.3rem;
        height: 1.3rem;
    }
    
    .rating-hover-text {
        font-size: 0.8rem;
    }
    
    /* Tariff Card Enhancements responsive */
    .tariff-details-toggle {
        font-size: 0.8rem;
    }
    
    .tariff-feature-list {
        font-size: 0.8rem;
    }
    
    /* Section Header */
    .section-header {
        padding: var(--spacing-sm) var(--spacing-md);
        flex-wrap: wrap;
    }
    
    .crown-icon {
        font-size: 1.5rem;
    }
    
    /* Topic Category min-width overflow fix */
    .topic-category {
        min-width: auto;
    }
}

/* --- Small Phones (max-width: 480px) --- */
@media (max-width: 480px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 2.5rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    /* Header small phone */
    .header {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.75rem var(--spacing-sm);
    }
    
    /* Info Section - small phone */
    .info-card {
        padding: var(--spacing-sm);
    }
    
    .info-card-top,
    .info-card-bottom {
        padding: var(--spacing-sm);
    }
    
    .info-title {
        font-size: 1.1rem;
    }
    
    .info-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Priority Section - small phone */
    .priority-card {
        padding: 1.25rem 0.75rem;
    }
    
    .priority-icon {
        font-size: 2rem;
    }
    
    .priority-card-title {
        font-size: 0.9rem;
    }
    
    .priority-card-text {
        font-size: 0.8rem;
    }
    
    .priority-card-price {
        font-size: 1rem;
    }
    
    /* Data Volume - small phone */
    .data-volume-amount {
        font-size: 2rem;
    }
    
    .data-volume-card {
        min-height: 150px;
        padding: 1.25rem 1rem;
    }
    
    .data-volume-prefix,
    .data-volume-label {
        font-size: 0.8rem;
    }
    
    .data-volume-price {
        font-size: 0.95rem;
    }
    
    /* Score Circle - small phone */
    .score-circle {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Provider Card - small phone */
    .provider-card {
        padding: var(--spacing-sm);
    }
    
    .provider-actions {
        flex-direction: column;
    }
    
    .provider-actions .btn-primary,
    .provider-actions .btn-secondary {
        max-width: 100%;
    }
    
    /* Tariff Card - small phone */
    .tariff-card {
        grid-template-columns: 1fr;
        padding: var(--spacing-sm);
    }
    
    .card-rank {
        grid-column: 1;
    }
    
    .card-provider {
        grid-column: 1;
    }
    
    .card-action {
        grid-column: 1;
        flex-direction: column;
    }
    
    .data-amount {
        font-size: 1.2rem;
    }
    
    /* Rating system - small phone */
    .star {
        font-size: 1.1rem;
        width: 1.1rem;
        height: 1.1rem;
    }
    
    .rating-hover-text {
        font-size: 0.75rem;
    }
    
    .rating-count,
    .rating-text {
        font-size: 0.7rem;
    }
    
    /* Footer - small phone */
    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-sm);
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
        padding-top: var(--spacing-sm);
    }
    
    /* Section Header - small phone */
    .section-header {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .crown-icon {
        font-size: 1.25rem;
    }
    
    /* FAQ Search - small phone */
    .faq-search-box {
        padding: 0.5rem 0.75rem;
    }
    
    .faq-search-input {
        font-size: 0.9rem;
    }
    
    .search-clear-btn {
        font-size: 1rem;
        padding: 0.2rem 0.4rem;
    }
    
    /* Tariff enhancements - small phone */
    .tariff-details-toggle {
        font-size: 0.75rem;
    }
    
    .tariff-feature-list {
        font-size: 0.75rem;
    }
    
    .tariff-feature-list li {
        gap: 6px;
    }
    
    /* Phone cards - small phone */
    .price-main {
        font-size: 1.75rem;
    }
    
    .phone-image {
        min-height: 200px;
    }
    
    .phone-name {
        font-size: 1.1rem;
    }
}

/* --- Very Small Phones (max-width: 360px) --- */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .features-title,
    .priority-title,
    .data-volume-title {
        font-size: 1.2rem;
    }
    
    .feature-card {
        padding: var(--spacing-sm);
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .icon-symbol {
        font-size: 1.5rem;
    }
    
    .popular-tariffs-section,
    .esim-travel-section,
    .international-calls-section {
        padding: 1.25rem 0.75rem;
        border-radius: 10px;
    }
    
    .cookie-banner-content {
        width: 95%;
        padding: 1.25rem 1rem;
    }
}

/* --- Touch-Friendly Improvements --- */
@media (pointer: coarse) {
    /* Larger touch targets (min 44px) */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .filter-btn {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
    }
    
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
    }
    
    .faq-question {
        min-height: 48px;
    }
    
    .cookie-btn {
        min-height: 48px;
    }
    
    /* Disable hover effects on touch */
    .tariff-card:hover,
    .provider-card:hover,
    .feature-card:hover,
    .priority-card:hover,
    .data-volume-card:hover {
        transform: none;
    }
    
    /* Active state instead of hover for touch */
    .tariff-card:active,
    .provider-card:active,
    .feature-card:active,
    .priority-card:active,
    .data-volume-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* --- Landscape Phone --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: var(--spacing-md) 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .header {
        position: relative; /* Don't use sticky in landscape phone */
    }
}

/* --- Print Styles --- */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .cookie-banner-content,
    .filter-section,
    .advanced-search-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
    }
    
    .tariff-card,
    .provider-card {
        break-inside: avoid;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* --- Smooth Scroll & Reduce Motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ===================================
   Cookie Banner
   =================================== */

/* Cookie Banner Backdrop/Overlay */
#cookie-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#cookie-banner.show {
    opacity: 1;
}

.cookie-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    max-width: 600px;
    width: 90%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    transition: transform 0.3s ease;
}

#cookie-banner.show .cookie-banner-content {
    transform: translate(-50%, -50%) scale(1);
}

.cookie-banner-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

.cookie-banner-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 1rem 0;
}

.cookie-banner-text p {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

.cookie-banner-text a {
    color: var(--primary-blue);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-banner-text a:hover {
    color: var(--teal-gradient-end);
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cookie-btn {
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--teal-gradient-start) 0%, var(--teal-gradient-end) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.cookie-btn-decline {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.cookie-btn-decline:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        width: 85%;
        padding: 1.75rem 1.5rem;
    }

    .cookie-banner-text h3 {
        font-size: 1.1rem;
    }

    .cookie-banner-text p {
        font-size: 0.9rem;
    }

    .cookie-banner-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-btn {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner-content {
        width: 90%;
        padding: 1.5rem 1.25rem;
    }

    .cookie-banner-text h3 {
        font-size: 1rem;
    }

    .cookie-banner-text p {
        font-size: 0.85rem;
    }

    .cookie-btn {
        font-size: 0.9rem;
    }
}