/* Mathab Honey - Main CSS */

/* ============== ROOT VARIABLES ============== */
:root {
    /* Colors */
    --background: hsl(43, 70%, 97%);
    --foreground: hsl(30, 30%, 15%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(30, 30%, 15%);
    --primary: hsl(30, 60%, 25%);
    --primary-foreground: hsl(43, 70%, 97%);
    --secondary: hsl(35, 85%, 55%);
    --secondary-foreground: hsl(30, 30%, 15%);
    --muted: hsl(43, 40%, 90%);
    --muted-foreground: hsl(30, 20%, 45%);
    --border: hsl(35, 30%, 85%);
    --destructive: hsl(0, 84.2%, 60.2%);
    
    /* Gradients */
    --gradient-honey: linear-gradient(135deg, hsl(38, 90%, 60%), hsl(35, 85%, 55%));
    --gradient-warm: linear-gradient(180deg, hsl(43, 70%, 97%), hsl(43, 50%, 90%));
    
    /* Shadows */
    --shadow-honey: 0 10px 30px -10px hsl(35 85% 55% / 0.3);
    --shadow-soft: 0 4px 16px hsl(30 30% 15% / 0.08);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ============== CONTAINER ============== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============== HEADER ============== */
.mathab-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-soft);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
    flex-direction: row-reverse; /* RTL: Logo right, Cart left */
}

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

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.125rem;
}

.logo-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    .mobile-nav {
        display: none;
    }
}

.mobile-nav {
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    overflow: visible;
}

.nav-link {
    color: var(--foreground);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 80px;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link:hover,
.nav-link.active {
    background: var(--gradient-honey);
    color: white;
}

.nav-link:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Mobile nav layout for small screens */
@media (max-width: 480px) {
    .mobile-nav {
        gap: 0.4rem;
    }
    
    .nav-link {
        font-size: 0.8125rem;
        padding: 0.5rem 0.5rem;
        min-width: 72px;
    }
}

.cart-button {
    position: relative;
    background: var(--gradient-honey);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-honey);
}

.cart-button:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--destructive);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============== CART DRAWER ============== */
.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}

.cart-drawer.active {
    display: block;
}

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.cart-drawer-content {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 450px;
    background: var(--card);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.cart-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--foreground);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.cart-close:hover {
    background: var(--muted);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.cart-empty h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: var(--muted-foreground);
}

.cart-items {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
}

.cart-item-name {
    font-weight: bold;
    font-size: 1rem;
}

.cart-item-details {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem;
    transition: var(--transition-smooth);
}

.remove-btn:hover {
    transform: scale(1.1);
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    background: var(--card);
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition-smooth);
}

.quantity-btn:hover {
    border-color: var(--secondary);
    background: var(--muted);
}

.quantity-display {
    width: 32px;
    text-align: center;
    font-weight: bold;
}

.item-price {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--secondary);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.total-price {
    font-size: 1.5rem;
    color: var(--secondary);
}

/* ============== BUTTONS ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-honey);
    color: var(--foreground);
    box-shadow: var(--shadow-honey);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--secondary);
    background: var(--muted);
}

.btn-link {
    background: none;
    border: none;
    color: var(--muted-foreground);
    text-decoration: underline;
    font-size: 0.875rem;
    padding: 0.5rem;
    cursor: pointer;
}

.btn-link:hover {
    color: var(--foreground);
}

.btn-checkout {
    width: 100%;
    height: 48px;
    font-size: 1.125rem;
}

/* ============== HERO SECTION ============== */
.hero-section {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 5rem 1rem;
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 600px;
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.hero-emoji {
    display: inline-block;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-emoji {
        animation: heroFloat 3.6s ease-in-out infinite;
        will-change: transform;
    }
}

@keyframes heroFloat {
    0%, 100% { 
        transform: translateY(-3px); 
    }
    50% { 
        transform: translateY(3px); 
    }
}

/* Mobile: single line for hero emoji text */
@media (max-width: 480px) {
    .hero-emoji {
        font-size: clamp(16px, 4vw, 20px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: inline-block;
    }
}

.hero-subtitle {
    color: var(--secondary);
    display: inline-block;
    margin-top: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn-hero {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    height: auto;
}

/* ============== GALLERY SECTION ============== */
.gallery-section {
    padding: 3rem 0;
    background: var(--gradient-warm);
}

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

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.gallery-slider {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-honey);
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: none;
}

@media (min-width: 768px) {
    .gallery-image {
        height: 500px;
    }
}

.gallery-image.active {
    display: block;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    z-index: 10;
}

.gallery-btn:hover {
    opacity: 0.9;
    transform: translateY(-50%) scale(1.05);
}

.gallery-prev {
    right: 1rem;
}

.gallery-next {
    left: 1rem;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-dot.active {
    width: 32px;
    border-radius: 1rem;
    background: var(--secondary);
}

/* ============== OFFER SECTION ============== */
.offer-section {
    padding: 3rem 0;
    background: var(--card);
}

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

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

.offer-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

/* Mobile: single line for opening offer title (no animation) */
@media (max-width: 480px) {
    .offer-title {
        font-size: clamp(15px, 3.8vw, 19px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

.offer-subtitle {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .offer-subtitle {
        font-size: 1.5rem;
    }
}

.offer-image-wrapper {
    max-width: 700px;
    margin: 0 auto 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-honey);
}

.offer-image {
    width: 100%;
    height: auto;
    display: block;
}

.offer-description {
    max-width: 900px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    line-height: 1.8;
}

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

.offer-description p {
    margin-bottom: 0.75rem;
}

.btn-offer {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

/* ============== MODAL ============== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--card);
    border-radius: 1rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 101;
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--foreground);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: var(--muted);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.offer-card {
    flex: 1;
    background: var(--gradient-warm);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.offer-card:hover {
    transform: scale(1.03);
    border-color: var(--secondary);
    box-shadow: var(--shadow-honey);
}

.offer-card h4 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.offer-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.offer-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ============== ABOUT SECTION ============== */
.about-section {
    padding: 3rem 0;
    background: var(--gradient-warm);
}

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

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

.about-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

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

.about-text {
    font-size: 1rem;
    line-height: 1.8;
}

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

.about-text p {
    margin-bottom: 1rem;
}

.about-text .highlight {
    font-weight: bold;
    color: var(--secondary);
}

/* ============== PRODUCTS SECTION ============== */
.products-section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--secondary);
}

/* ============== TABS ============== */
.tabs-list {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: wrap;
    justify-content: center;
}

.tabs-list::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    font-family: inherit;
    flex: 1 1 auto;
    min-width: 140px;
    min-height: 48px;
}

/* Mobile: responsive tabs for 4 buttons */
@media (max-width: 768px) {
    .tabs-list {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .tab-btn {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 130px;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        padding: 0.75rem 0.75rem;
        font-size: 0.9375rem;
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 120px;
    }
}

.tab-btn:hover {
    transform: scale(1.05);
}

.tab-btn:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.tab-btn.active {
    background: var(--gradient-honey);
    color: white;
    box-shadow: var(--shadow-honey);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

/* ============== PRODUCT GRID ============== */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

/* ============== PRODUCT CARD ============== */
.product-card {
    background: var(--card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-honey);
}

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

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.product-base-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 1rem;
}

.product-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--foreground);
}

.product-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    background: var(--card);
    color: var(--foreground);
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.product-select:hover,
.product-select:focus {
    border-color: var(--secondary);
    outline: none;
}

.product-price {
    padding: 1rem;
    background: var(--muted);
    border-radius: 0.5rem;
    text-align: center;
}

.price-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.price-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary);
}

.product-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.product-options {
    margin-bottom: 1rem;
}

.option-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.select-wrapper {
    position: relative;
}

.select-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    background: var(--card);
    color: var(--foreground);
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.select-input:hover,
.select-input:focus {
    border-color: var(--secondary);
    outline: none;
}

.price-display {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.price-display p:first-child {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.price-display p:last-child {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary);
}

.btn-add-cart {
    width: 100%;
    background: var(--gradient-honey);
    color: var(--foreground);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.btn-info {
    width: 100%;
    border: 2px solid var(--secondary);
}

/* ============== BENEFITS SECTION ============== */
.benefits-section {
    padding: 3rem 0;
}

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

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

.benefit-card {
    background: var(--card);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-honey);
}

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

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.benefit-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.info-card {
    background: var(--gradient-warm);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 3rem;
}

.info-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-checkmark {
    color: var(--secondary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-item p {
    line-height: 1.6;
}

.why-card {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

.why-item strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.why-item p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ============== CONTACT SECTION ============== */
.contact-section {
    padding: 3rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

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

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

.contact-card {
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-honey);
    border-color: var(--secondary);
}

.contact-card-content {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-icon-wrapper {
    width: 5rem;
    height: 5rem;
    margin: 0 auto;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.contact-card:hover .contact-icon-wrapper {
    transform: scale(1.1);
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
}

/* Gradients for social media */
.gradient-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.gradient-facebook {
    background: linear-gradient(135deg, #1877F2, #0C5CB8);
}

.gradient-instagram {
    background: linear-gradient(135deg, #E1306C, #833AB4);
}

.gradient-snapchat {
    background: linear-gradient(135deg, #FFFC00, #FED501);
}

.gradient-snapchat .contact-icon {
    color: #000;
}

.gradient-email {
    background: linear-gradient(135deg, #EA4335, #C5221F);
}

.gradient-linktree {
    background: linear-gradient(135deg, #43E55E, #2EA44F);
}

.contact-card-text h3 {
    font-size: 1.25rem;
    font-weight: bold;
    transition: var(--transition-smooth);
}

.contact-card:hover .contact-card-text h3 {
    color: var(--secondary);
}

.contact-card-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ============== FOOTER ============== */
.mathab-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--secondary);
}

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

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.btn-contact {
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
}

/* ============== TOAST ============== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card);
    color: var(--foreground);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-honey);
    z-index: 200;
    display: none;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.toast.show {
    display: block;
}

/* ============== CUSTOM MIX CARD ============== */
.custom-mix-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    padding: 2rem;
}

.custom-mix-card h2 {
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.mix-section {
    background: rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.mix-section h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.btn-confirm {
    width: 100%;
    height: 56px;
    font-size: 1.125rem;
    background: var(--gradient-honey);
}

/* ============== UTILITIES ============== */
.hover-scale {
    transition: var(--transition-smooth);
}

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

/* Screen Reader Only - for SEO h2 tags hidden from visual display */
.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;
}
