/* CSS Variables */
:root {
    /* Colors - Elegant Villa Emilia Palette */
    --primary-color: #57bd9e;
    --primary-light: #7dd4b8;
    --primary-dark: #3da582;
    --secondary-color: #2c3e50;
    --secondary-light: #34495e;
    --secondary-dark: #1a252f;

    /* Elegant Accent Colors */
    --accent-turquoise: #57bd9e;
    --accent-gold: #d4af37;
    --soft-white: #fafafa;
    --elegant-cream: #f8f9fa;
    --subtle-gray: #e8f0f2;

    /* Grays - Refined Palette */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #2c3e50;
    --gray-900: #1a252f;

    /* Semantic colors */
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --text-light: #8b95a1;
    --text-white: #ffffff;

    /* Background colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-accent: #e8f0f2;
    --bg-dark: #2c3e50;

    /* Gradients - Elegant & Modern */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(87, 189, 158, 0.25) 100%);
    --gradient-elegant: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-soft: linear-gradient(135deg, #f8f9fa 0%, #e8f0f2 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(87, 189, 158, 0.1) 0%, rgba(87, 189, 158, 0.05) 100%);

    /* Shadows - Elegant & Refined */
    --shadow-sm: 0 2px 4px 0 rgba(44, 62, 80, 0.06);
    --shadow-md: 0 4px 12px -2px rgba(44, 62, 80, 0.08), 0 2px 6px -1px rgba(44, 62, 80, 0.05);
    --shadow-lg: 0 10px 24px -4px rgba(44, 62, 80, 0.12), 0 4px 8px -2px rgba(44, 62, 80, 0.08);
    --shadow-xl: 0 20px 40px -8px rgba(44, 62, 80, 0.15), 0 8px 16px -4px rgba(44, 62, 80, 0.10);
    --shadow-accent: 0 8px 20px -4px rgba(87, 189, 158, 0.25), 0 4px 8px -2px rgba(87, 189, 158, 0.15);
    --shadow-elegant: 0 12px 28px -4px rgba(44, 62, 80, 0.1), 0 4px 12px -2px rgba(87, 189, 158, 0.08);

    /* Typography */
    --font-family-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-family-display: 'Playfair Display', serif;

    /* Spacing */
    --container-max-width: 1200px;
    --container-padding: 1rem;

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;

    /* Border radius - Organic Style */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-3xl: 2.5rem;
    --radius-organic: 1.25rem;
    --radius-full: 9999px;

    /* Z-index */
    --z-dropdown: 10;
    --z-sticky: 20;
    --z-fixed: 30;
    --z-modal-backdrop: 40;
    --z-modal: 50;
    --z-popover: 60;
    --z-tooltip: 70;
    --z-toast: 80;
}

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

html {
    scroll-behavior: smooth;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section Styling */
.section__header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section__title {
    font-family: var(--font-family-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav {
    height: 80px;
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.nav__logo-img {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.nav__icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary-color);
}

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

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

.nav__link {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary-color);
}

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.nav__cta {
    background: linear-gradient(135deg, #57bd9e, #7dd4b8);
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(87, 189, 158, 0.25);
}

.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(87, 189, 158, 0.35);
}

.nav__login {
    background: transparent;
    color: #57bd9e;
    padding: 0.75rem 1.5rem;
    border: 2px solid #57bd9e;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav__login:hover {
    background: #57bd9e;
    color: var(--text-white);
    border-color: #57bd9e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(87, 189, 158, 0.25);
}

.nav__login i {
    font-size: 1rem;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.nav__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Slider */
.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero__slide.active {
    opacity: 1;
}

.hero__slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

/* Slider Controls */
.hero__slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 2;
    pointer-events: none;
}

.hero__slider-btn {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(87, 189, 158, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    pointer-events: all;
}

.hero__slider-btn:hover {
    background: rgba(87, 189, 158, 0.2);
    border-color: rgba(87, 189, 158, 0.8);
    box-shadow: 0 4px 12px rgba(87, 189, 158, 0.25);
    transform: scale(1.05);
}

.hero__slider-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Slider Indicators */
.hero__slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 2;
}

.hero__indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: 0;
}

.hero__indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.15);
}

.hero__indicator.active {
    background: #57bd9e;
    border: 2px solid #57bd9e;
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(87, 189, 158, 0.3);
}

.hero__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero__title {
    font-family: var(--font-family-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__title--accent {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero__scroll {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.hero__scroll-indicator {
    width: 2px;
    height: 3rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    position: relative;
}

.hero__scroll-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background: var(--text-white);
    border-radius: var(--radius-full);
    animation: scrollIndicator 2s ease-in-out infinite;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, #57bd9e 0%, #7dd4b8 100%);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(87, 189, 158, 0.25);
}

.btn--primary:hover {
    background: linear-gradient(135deg, #3da582 0%, #57bd9e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 189, 158, 0.35);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-color: rgba(87, 189, 158, 0.5);
    backdrop-filter: blur(10px);
}

.btn--secondary:hover {
    background: rgba(87, 189, 158, 0.15);
    border-color: #57bd9e;
}

.btn--outline {
    background: transparent;
    color: #57bd9e;
    border-color: #57bd9e;
}

.btn--outline:hover {
    background: #57bd9e;
    color: var(--text-white);
    border-color: #57bd9e;
}

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

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn__icon {
    width: 1.25rem;
    height: 1.25rem;
}

.btn__loading {
    display: none;
}

.btn.loading .btn__text {
    display: none;
}

.btn.loading .btn__loading {
    display: inline;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-organic);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.feature__icon svg {
    width: 2rem;
    height: 2rem;
}

.feature__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature__description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* News Section */
.news {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news__card {
    background: var(--bg-primary);
    border-radius: var(--radius-organic);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.news__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.news__card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.news__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news__date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.news__category {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news__category--announcement {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
}

.news__category--maintenance {
    background: rgba(245, 158, 11, 0.1);
    color: var(--secondary-color);
}

.news__category--event {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.news__card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news__card-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
}

.news__card-footer {
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news__read-more {
    color: #57bd9e;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-fast);
}

.news__read-more:hover {
    color: #3da582;
}

.news__read-more svg {
    width: 1rem;
    height: 1rem;
    transition: transform var(--transition-fast);
}

.news__read-more:hover svg {
    transform: translateX(2px);
}

.news__load-more {
    text-align: center;
}

/* Minutes Section */
.minutes {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.minutes__item {
    background: var(--bg-primary);
    border-radius: var(--radius-organic);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.minutes__item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.minutes__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.minutes__info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.minutes__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: var(--radius-lg);
}

.minutes__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.minutes__details h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.minutes__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.minutes__actions {
    display: flex;
    gap: 0.75rem;
}

.minutes__action {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.minutes__action--view {
    background: #57bd9e;
    color: var(--text-white);
}

.minutes__action--view:hover {
    background: #3da582;
}

.minutes__action--download {
    background: var(--gray-100);
    color: var(--text-secondary);
}

.minutes__action--download:hover {
    background: var(--gray-200);
    color: var(--text-primary);
}

/* Payment CTA Section */
.payment-cta {
    padding: 6rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.payment-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: backgroundMove 20s linear infinite;
}

.payment-cta__header {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

.payment-cta__title {
    font-family: var(--font-family-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.payment-cta__subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.payment-cta__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

/* QR Payment Card */
.qr-payment-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.qr-payment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.3);
}

.qr-card__header {
    background: linear-gradient(135deg, #57bd9e, #7dd4b8);
    padding: 2rem;
    text-align: center;
    color: var(--text-white);
}

.qr-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.qr-card__icon .material-icons,
.qr-card__icon .material-symbols-outlined {
    font-size: 2rem;
    color: var(--text-white);
}

.qr-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.qr-card__description {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.5;
}

.qr-card__body {
    padding: 2.5rem 2rem;
    background: var(--bg-secondary);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-container {
    position: relative;
    width: 280px;
    height: 280px;
    background: white;
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.qr-code-container:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.qr-code-container:hover .qr-code-overlay {
    opacity: 1;
}

.qr-code-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-md);
}

.qr-code-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 125, 210, 0.9);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    opacity: 0;
    transition: opacity var(--transition-normal);
    color: white;
}

.qr-code-overlay .material-icons,
.qr-code-overlay .material-symbols-outlined {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.qr-code-overlay p {
    font-weight: 500;
    font-size: 1rem;
}

.qr-card__footer {
    padding: 2rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--gray-200);
}

.qr-instructions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.qr-instruction-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 0.5rem;
}

.qr-instruction-item .material-icons,
.qr-instruction-item .material-symbols-outlined {
    font-size: 1.75rem;
    color: var(--primary-color);
    background: rgba(45, 125, 210, 0.1);
    padding: 0.875rem;
    border-radius: var(--radius-full);
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-instruction-item span:last-child {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Alternative Payment Card */
.alternative-payment-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
}

.alternative-payment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.3);
}

.alternative-card__content {
    padding: 3rem 2.5rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.alternative-card__icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-coral));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-warm);
}

.alternative-card__icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--text-white);
}

.alternative-card__text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.alternative-card__text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.alternative-payment-card .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
}

.alternative-payment-card .btn .material-icons,
.alternative-payment-card .btn .material-symbols-outlined {
    margin-left: 0.5rem;
    font-size: 1.25rem;
}

/* Location Section */
.location {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
}

.location__content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.location__details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.location__details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.location__features {
    display: grid;
    gap: 1.5rem;
}

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

.location__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

.location__feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.location__feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.location__feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.location__map {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map__container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map__container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 1rem 1rem 0 0;
}

.map__info {
    padding: 2rem;
    text-align: center;
}

.map__address h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.map__address p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact__content {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.contact__card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
}

.contact__info {
    padding: 2rem;
    text-align: center;
}

.contact__info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.contact__item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.contact__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact__item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact__item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Form Styles */
.contact__form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.form__group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form__input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-primary);
    transition: all var(--transition-fast);
}

.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--primary-color);
    background: var(--bg-primary);
    padding: 0 0.5rem;
}

.form__label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    pointer-events: none;
    transition: all var(--transition-fast);
    transform-origin: left top;
}

select.form__input {
    cursor: pointer;
}

select.form__input option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

textarea.form__input {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer__logo-img {
    height: 60px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.footer__icon {
    width: 2rem;
    height: 2rem;
    color: var(--secondary-color);
}

.footer__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

.footer__description {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.footer__social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer__subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

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

.footer__link {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--text-white);
}

.footer__schedule p {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer__bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
}

.footer__copyright {
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #57bd9e, #7dd4b8);
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(87, 189, 158, 0.3);
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: var(--z-fixed);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 189, 158, 0.4);
}

.scroll-to-top svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 90vw;
    max-height: 90vh;
    width: 600px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.modal:not(.active) .modal__content {
    transform: translate(-50%, -50%) scale(0.95);
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gray-100);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 1;
}

.modal__close:hover {
    background: var(--gray-200);
    color: var(--text-primary);
}

.modal__close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.modal__header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding-right: 3rem;
}

.modal__meta {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.modal__body {
    padding: 1.5rem 2rem 2rem;
    max-height: 60vh;
    overflow-y: auto;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40%, 43% {
        transform: translateX(-50%) translateY(-15px);
    }
    70% {
        transform: translateX(-50%) translateY(-7px);
    }
    90% {
        transform: translateX(-50%) translateY(-2px);
    }
}

@keyframes scrollIndicator {
    0% {
        top: 0;
        height: 1rem;
    }
    50% {
        top: 1rem;
        height: 1rem;
    }
    100% {
        top: 2rem;
        height: 1rem;
    }
}

@keyframes backgroundMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(50px) translateY(50px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .nav__menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__login {
        margin-top: 1rem;
        width: fit-content;
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero__slider-btn {
        width: 2.5rem;
        height: 2.5rem;
        border: 2px solid rgba(87, 189, 158, 0.5);
    }

    .hero__slider-btn:hover {
        background: rgba(87, 189, 158, 0.25);
        border-color: rgba(87, 189, 158, 0.9);
    }

    .hero__slider-btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    .hero__slider-controls {
        padding: 0 1rem;
    }

    .hero__slider-indicators {
        bottom: 1.5rem;
    }

    .hero__scroll {
        bottom: 4rem;
    }

    .nav__logo-img {
        height: 45px;
        max-width: 200px;
    }

    .footer__logo-img {
        height: 50px;
        max-width: 220px;
    }

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

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

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

    .map__container {
        height: 300px;
    }

    .location__features {
        gap: 1rem;
    }

    .contact__card {
        margin: 0 1rem;
        max-width: none;
    }

    .contact__info {
        padding: 1.5rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal__content {
        width: 95vw;
        margin: 0 2.5vw;
    }

    .modal__header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal__body {
        padding: 1rem 1.5rem 1.5rem;
    }

    .minutes__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .minutes__actions {
        width: 100%;
        justify-content: stretch;
    }

    .minutes__action {
        flex: 1;
        text-align: center;
    }

    /* Payment CTA Section - Responsive */
    .payment-cta__content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .qr-code-container {
        width: 240px;
        height: 240px;
    }

    .qr-instructions {
        flex-direction: column;
        gap: 1.5rem;
    }

    .qr-card__header {
        padding: 1.5rem;
    }

    .qr-card__body {
        padding: 2rem 1.5rem;
    }

    .qr-card__footer {
        padding: 1.5rem;
    }

    .alternative-card__content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .section__title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .feature {
        padding: 2rem 1.5rem;
    }

    .news__card-header {
        padding: 1rem;
    }

    .news__card-footer {
        padding: 0.75rem 1rem;
    }

    .minutes__item {
        padding: 1rem;
    }

    .location__feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .location__feature-icon {
        margin-bottom: 0.5rem;
    }

    .map__container {
        height: 250px;
    }

    .map__info {
        padding: 1.5rem;
    }

    .contact__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: none;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }

    /* Payment CTA Section - Small Mobile */
    .payment-cta {
        padding: 4rem 0;
    }

    .qr-code-container {
        width: 200px;
        height: 200px;
        padding: 0.75rem;
    }

    .qr-card__icon {
        width: 3rem;
        height: 3rem;
    }

    .qr-card__icon .material-icons {
        font-size: 1.5rem;
    }

    .qr-card__title {
        font-size: 1.25rem;
    }

    .qr-card__description {
        font-size: 0.875rem;
    }

    .alternative-card__icon {
        width: 4rem;
        height: 4rem;
    }

    .alternative-card__icon svg {
        width: 2rem;
        height: 2rem;
    }

    .alternative-card__text h3 {
        font-size: 1.25rem;
    }

    .alternative-card__text p {
        font-size: 0.9rem;
    }
}

/* Loading and Error States */
.loading-placeholder,
.error-placeholder,
.no-data-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.error-icon,
.no-data-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.loading-placeholder p,
.error-placeholder p,
.no-data-placeholder p {
    font-size: 1.125rem;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    max-width: 400px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary-color);
    z-index: var(--z-toast);
    transform: translateX(100%);
    opacity: 0;
    transition: all var(--transition-normal);
}

.notification--show {
    transform: translateX(0);
    opacity: 1;
}

.notification--success {
    border-left-color: #10b981;
}

.notification--error {
    border-left-color: #ef4444;
}

.notification--warning {
    border-left-color: var(--secondary-color);
}

.notification--info {
    border-left-color: var(--primary-color);
}

.notification__content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.notification__icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification--success .notification__icon {
    color: #10b981;
}

.notification--error .notification__icon {
    color: #ef4444;
}

.notification--warning .notification__icon {
    color: var(--secondary-color);
}

.notification--info .notification__icon {
    color: var(--primary-color);
}

.notification__icon svg {
    width: 100%;
    height: 100%;
}

.notification__message {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.notification__close {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--text-light);
    transition: color var(--transition-fast);
    padding: 0;
    margin: 0;
}

.notification__close:hover {
    color: var(--text-primary);
}

.notification__close svg {
    width: 100%;
    height: 100%;
}

/* Minutes file size indicator */
.minutes__file-size {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Disabled download button */
.minutes__action--download:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--gray-200);
    color: var(--gray-400);
}

.minutes__action--download:disabled:hover {
    background: var(--gray-200);
    color: var(--gray-400);
    transform: none;
}

/* Mobile notification adjustments */
@media (max-width: 768px) {
    .notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* QR Code Modal */
.qr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 2rem;
}

.qr-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.qr-modal-content {
    position: relative;
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.qr-modal-overlay.active .qr-modal-content {
    transform: scale(1);
}

.qr-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: var(--gray-100);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 1;
    cursor: pointer;
}

.qr-modal-close:hover {
    background: var(--gray-200);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.qr-modal-close .material-icons,
.qr-modal-close .material-symbols-outlined {
    font-size: 1.5rem;
}

.qr-modal-image-container {
    text-align: center;
}

.qr-modal-image {
    width: 100%;
    height: auto;
    max-width: 450px;
    border-radius: var(--radius-lg);
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: var(--shadow-md);
}

.qr-modal-caption {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
    padding: 0 1rem;
}

/* QR Modal Responsive */
@media (max-width: 768px) {
    .qr-modal-overlay {
        padding: 1rem;
    }

    .qr-modal-content {
        padding: 1.5rem;
    }

    .qr-modal-image {
        max-width: 100%;
    }

    .qr-modal-caption {
        font-size: 0.9rem;
    }
}