/* ========================================
   HomeHealthSoft - Complete Styles
   Professional Blue & White Theme
   ======================================== */

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --secondary: #DBEAFE;
    --accent: #752275;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #FFFFFF;
    --green: #10B981;
    --red: #EF4444;
    --brown: #97330C;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
}

img {
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

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

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* ========== Header & Navigation ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--gray-900);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--gray-600);
    transition: all 0.2s;
}

.nav-link:hover {
    background: var(--gray-50);
    color: var(--gray-900);
}

.nav-link.active {
    background: var(--secondary);
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    gap: 0.75rem;
}

.desktop-nav {
    display: none;
}

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

.mobile-menu-btn {
    padding: 0.5rem;
    border: none;
    background: none;
    color: var(--gray-600);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
}

.mobile-nav {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    animation: slideDown 0.2s ease-out;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav .nav-link {
    display: block;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
}

.mobile-nav-buttons {
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--gray-900);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-50);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-100);
}

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.btn-full {
    width: 100%;
}

/* ========== Hero Section ========== */
.hero-section {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--white) 50%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    animation: fadeInLeft 0.7s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    color: var(--primary-dark);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

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

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.hero-feature i {
    color: var(--green);
    font-size: 1.25rem;
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.7s 0.2s ease-out both;
}

.image-carousel {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.carousel-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: none;
    transition: opacity 1s ease;
}

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

.carousel-indicators {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator:hover {
    background: var(--gray-400);
}

.indicator.active {
    width: 2rem;
    background: var(--primary);
}

.floating-card {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.7s 0.5s ease-out both;
    z-index: 10;
}

.floating-card-icon {
    width: 3rem;
    height: 3rem;
    background: #D1FAE5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card-icon i {
    color: var(--green);
    font-size: 1.5rem;
}

.floating-card-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-900);
}

.floating-card-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ========== Stats Section ========== */
.stats-section {
    padding: 4rem 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

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

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

.stat-item {
    text-align: center;
    animation: zoomIn 0.5s ease-out;
}

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

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

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

@media (min-width: 768px) {
    .stat-label { font-size: 1rem; }
}

/* ========== Why Choose Section ========== */
.why-choose-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

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

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.tagline-box {
    background: var(--secondary);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
}

.tagline-text {
    font-size: 1rem;
    color: var(--accent);
    line-height: 1.8;
    font-style: italic;
    text-align: justify;
}

.benefits-grid {
    display: grid;
    gap: 1.5rem;
}

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

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

.benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.benefit-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.benefit-card.highlighted {
    border: 2px solid var(--primary);
    background: rgba(219, 234, 254, 0.3);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ========== Features Section ========== */
.features-section {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

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

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
    group: hover;
}

.feature-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
}

.feature-icon i {
    color: var(--primary);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========== Testimonials Section ========== */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

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

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    transition: box-shadow 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #FBBF24;
    font-size: 1.125rem;
}

.testimonial-content {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
}

.testimonial-author img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--gray-900);
}

.author-role {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ========== FAQ Section ========== */
.faq-section {
    padding: 5rem 0;
    background: var(--white);
}

.faq-container {
    max-width: 56rem;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-icon {
    color: var(--primary);
    font-size: 0.875rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon.rotated {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--gray-50);
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--gray-700);
    line-height: 1.8;
    margin: 0;
}

/* ========== Contact Section ========== */
.contact-section {
    padding: 5rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

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

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid var(--gray-100);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.contact-card:hover {
    border-color: var(--primary-light);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--primary);
    font-size: 1.25rem;
}

.contact-card h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

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

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

.contact-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.office-hours {
    margin-top: 2rem;
}

.office-hours h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.hours-list {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.hours-item span:first-child {
    color: var(--gray-600);
}

.hours-item span:last-child {
    color: var(--gray-900);
    font-weight: 500;
}

.contact-form-container {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 12px;
    padding: 2rem;
}

.contact-form-container h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.contact-form .form-row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

/* ========== CTA Section ========== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-content h2 { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
    .cta-content h2 { font-size: 3rem; }
}

.cta-content > p {
    font-size: 1.25rem;
    color: rgba(219, 234, 254, 1);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(219, 234, 254, 1);
}

/* ========== Footer ========== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

.footer-brand .logo-text {
    color: var(--white);
}

.footer-col p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.footer-col a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #60A5FA;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 2rem;
    height: 2rem;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(229, 231, 235, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

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

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

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-300);
    text-decoration: none;
}

.footer-links a:hover {
    color: #60A5FA;
}

/* ========== Forms ========== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input.error,
.form-group select.error {
    border-color: var(--red);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0.25rem;
}

.password-toggle:hover {
    color: var(--gray-700);
}

.error-message {
    display: block;
    color: var(--red);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-note {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 1rem;
}

/* ========== Modals ========== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 28rem;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-content-small {
    max-width: 24rem;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    background: var(--white);
    border-radius: 1rem 1rem 0 0;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-900);
}

.modal-header p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

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

.modal-form {
    padding: 1.5rem;
}

/* ========== Login Modal ========== */
.login-options {
    padding: 1.5rem;
}

.login-option {
    width: 100%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.login-option:hover {
    border-color: var(--primary);
    background: var(--gray-50);
}

.login-option-new {
    border-color: var(--primary);
    background: rgba(219, 234, 254, 0.3);
}

.login-option-new:hover {
    background: rgba(219, 234, 254, 0.5);
}

.login-option-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-option h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.login-option-new h3 {
    color: var(--primary-dark);
}

.login-option p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.login-option-new p {
    color: var(--primary-dark);
}

.badge-new {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.625rem;
    border-radius: 9999px;
    font-weight: 600;
    margin-left: 0.5rem;
}

.login-option i {
    color: var(--gray-400);
    transition: transform 0.2s;
}

.login-option:hover i {
    transform: translateX(4px);
}

.login-option-new i {
    color: var(--primary);
}

.login-help {
    font-size: 0.75rem;
    text-align: center;
    color: var(--brown);
    background: transparent;
    padding-top: 0.5rem;
}

/* ========== Toast Notification ========== */
.toast {
    position: fixed;
    top: 5rem;
    right: 1rem;
    background: var(--gray-900);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    opacity: 0;
    transform: translateY(-1rem);
    transition: all 0.3s;
    pointer-events: none;
}

.toast.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast.success {
    background: var(--green);
}

.toast.error {
    background: var(--red);
}

/* ========== Product Page Specific ========== */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--white) 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .page-hero h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .page-hero h1 { font-size: 3.75rem; }
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
}

.product-features-section {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid-large {
    display: grid;
    gap: 2rem;
}

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

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

.feature-card-large {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card-large:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.feature-icon-large {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--secondary), var(--gray-50));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.feature-card-large:hover .feature-icon-large {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.feature-icon-large i {
    color: var(--primary);
    font-size: 1.75rem;
    transition: color 0.3s;
}

.feature-card-large:hover .feature-icon-large i {
    color: var(--white);
}

.feature-card-large h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-card-large p {
    color: var(--gray-600);
    line-height: 1.8;
}

.mobile-app-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.mobile-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .mobile-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    color: var(--primary-dark);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.mobile-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .mobile-content h2 { font-size: 2.5rem; }
}

.mobile-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.mobile-features-list {
    list-style: none;
}

.mobile-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.mobile-features-list i {
    color: var(--green);
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.mobile-image {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.mobile-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.security-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary), var(--gray-50));
}

.security-grid {
    display: grid;
    gap: 1.5rem;
}

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

.security-card {
    background: var(--white);
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.security-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.security-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.security-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ========== Animations ========== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========== Smooth Scroll Offset ========== */
html {
    scroll-padding-top: 80px;
}

/* ========== Print Styles ========== */
@media print {
    .header,
    .footer,
    .btn,
    .modal,
    .toast {
        display: none !important;
    }
}
