/* ========================================
   PlanCo Tool - Complete Design System
   Brand Colors: Navy Blue #0E6674 | Golden Yellow #E2B007
   ======================================== */

/* === CSS VARIABLES === */
:root {
    /* Brand Colors */
    --primary-navy: #0E6674;
    --secondary-gold: #E2B007;
    --charcoal-gray: #4E4E50;
    --light-sand: #F7F5EF;
    --teal-soft: #1BAFBF;

    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #E6E6E6;
    --medium-gray: #999999;
    --dark-gray: #333333;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 96px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(14, 102, 116, 0.08);
    --shadow-md: 0 4px 16px rgba(14, 102, 116, 0.12);
    --shadow-lg: 0 8px 32px rgba(14, 102, 116, 0.16);
    --shadow-xl: 0 16px 48px rgba(14, 102, 116, 0.20);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-heading: 'Poppins', 'Cairo', sans-serif;
    --font-body: 'Inter', 'IBM Plex Sans Arabic', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
}

/* === GLOBAL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    background-color: var(--light-sand);
    line-height: var(--leading-normal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--primary-navy);
}

h1 {
    font-size: var(--text-5xl);
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: var(--text-4xl);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: var(--text-3xl);
    margin-bottom: var(--spacing-md);
}

h4 {
    font-size: var(--text-2xl);
    margin-bottom: var(--spacing-sm);
}

p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--spacing-md);
    color: var(--charcoal-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 14px 22px;
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-navy);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #0a4f5a;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-gold);
    border: 2px solid var(--secondary-gold);
}

.btn-secondary:hover {
    background: var(--secondary-gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 32px;
    font-size: var(--text-lg);
}

/* === CARDS === */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(14, 102, 116, 0.1);
    transition: all var(--transition-base);
}

.navbar-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    height: 50px;
    transition: all var(--transition-base);
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
}

.navbar-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--text-base);
    color: var(--charcoal-gray);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-gold);
    transition: width var(--transition-base);
}

.navbar-link:hover {
    color: var(--primary-navy);
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-cta {
    margin-left: var(--spacing-lg);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-navy);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-4xl) var(--spacing-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-sand) 0%, #e8f4f6 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(14, 102, 116, 0.03) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(14, 102, 116, 0.03) 1.5px, transparent 1.5px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: var(--radius-sm);
    opacity: 0.3;
    transition: transform 0.3s ease-out, opacity 0.3s ease;
    will-change: transform;
}

/* Horizontal bars - Primary */
.shape-1 {
    top: 8%;
    left: 3%;
    width: 120px;
    height: 24px;
    background: linear-gradient(90deg, var(--primary-navy), #1e8a9a);
}

.shape-2 {
    top: 25%;
    right: 8%;
    width: 160px;
    height: 20px;
    background: linear-gradient(90deg, var(--secondary-gold), #f5a623);
}

.shape-3 {
    bottom: 30%;
    left: 8%;
    width: 140px;
    height: 22px;
    background: linear-gradient(90deg, var(--teal-soft), #2dd4bf);
}

.shape-4 {
    top: 55%;
    right: 15%;
    width: 100px;
    height: 18px;
    background: linear-gradient(90deg, var(--primary-navy), #0891b2);
}

/* Additional shapes for more dynamic feel */
.shape-5 {
    top: 15%;
    right: 25%;
    width: 80px;
    height: 16px;
    background: linear-gradient(90deg, #818cf8, #6366f1);
    opacity: 0.25;
}

.shape-6 {
    bottom: 15%;
    right: 5%;
    width: 130px;
    height: 20px;
    background: linear-gradient(90deg, var(--secondary-gold), #fbbf24);
}

.shape-7 {
    top: 40%;
    left: 12%;
    width: 90px;
    height: 18px;
    background: linear-gradient(90deg, #34d399, #10b981);
    opacity: 0.25;
}

.shape-8 {
    bottom: 45%;
    left: 25%;
    width: 70px;
    height: 14px;
    background: linear-gradient(90deg, var(--primary-navy), #0e7490);
}

.shape-9 {
    top: 70%;
    left: 5%;
    width: 110px;
    height: 20px;
    background: linear-gradient(90deg, #f472b6, #ec4899);
    opacity: 0.2;
}

.shape-10 {
    top: 5%;
    right: 40%;
    width: 60px;
    height: 14px;
    background: linear-gradient(90deg, var(--teal-soft), #14b8a6);
}

.shape-11 {
    bottom: 8%;
    left: 40%;
    width: 100px;
    height: 18px;
    background: linear-gradient(90deg, #a78bfa, #8b5cf6);
    opacity: 0.22;
}

.shape-12 {
    top: 85%;
    right: 30%;
    width: 85px;
    height: 16px;
    background: linear-gradient(90deg, var(--secondary-gold), #f59e0b);
}

/* Additional shapes for increased density */
.shape-13 {
    top: 12%;
    left: 35%;
    width: 95px;
    height: 18px;
    background: linear-gradient(90deg, #06b6d4, #0891b2);
    opacity: 0.25;
}

.shape-14 {
    top: 35%;
    left: 45%;
    width: 75px;
    height: 14px;
    background: linear-gradient(90deg, var(--primary-navy), #0e7490);
    opacity: 0.2;
}

.shape-15 {
    bottom: 25%;
    right: 35%;
    width: 110px;
    height: 20px;
    background: linear-gradient(90deg, #f472b6, #db2777);
    opacity: 0.18;
}

.shape-16 {
    top: 75%;
    left: 30%;
    width: 65px;
    height: 12px;
    background: linear-gradient(90deg, var(--teal-soft), #14b8a6);
    opacity: 0.22;
}

.shape-17 {
    top: 20%;
    left: 60%;
    width: 80px;
    height: 16px;
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
    opacity: 0.2;
}

.shape-18 {
    bottom: 40%;
    right: 45%;
    width: 70px;
    height: 14px;
    background: linear-gradient(90deg, var(--secondary-gold), #eab308);
    opacity: 0.18;
}

.shape-19 {
    top: 50%;
    left: 55%;
    width: 55px;
    height: 12px;
    background: linear-gradient(90deg, #34d399, #059669);
    opacity: 0.2;
}

.shape-20 {
    bottom: 60%;
    right: 55%;
    width: 90px;
    height: 16px;
    background: linear-gradient(90deg, var(--primary-navy), #155e75);
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(14, 102, 116, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-xl);
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge-icon {
    width: 20px;
    height: 20px;
    background: var(--secondary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-xs);
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title-highlight {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--teal-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--charcoal-gray);
    margin-bottom: var(--spacing-2xl);
    line-height: var(--leading-relaxed);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === SECTIONS === */
.section {
    padding: var(--spacing-4xl) var(--spacing-xl);
    position: relative;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-lg);
    background: rgba(14, 102, 116, 0.1);
    color: var(--primary-navy);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: var(--text-4xl);
    color: var(--primary-navy);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--charcoal-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* === FEATURES GRID === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--teal-soft));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--primary-navy);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-navy), var(--teal-soft));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
    stroke-width: 1.8px;
    fill: none;
}

.feature-title {
    font-size: var(--text-xl);
    color: var(--primary-navy);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    font-size: var(--text-base);
    color: var(--charcoal-gray);
    line-height: var(--leading-relaxed);
}

/* === SCREENSHOTS === */
.screenshots {
    background: var(--white);
}

.screenshots-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

/* === PRICING === */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--light-gray);
    text-align: left;
    transition: all var(--transition-base);
    max-width: 700px;
    margin: 0 auto;
}

.pricing-card:hover {
    border-color: var(--secondary-gold);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.pricing-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-lg);
    background: var(--secondary-gold);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.pricing-title {
    font-size: var(--text-2xl);
    color: var(--primary-navy);
    margin-bottom: var(--spacing-md);
}

.pricing-price {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-sm);
}

.pricing-period {
    font-size: var(--text-base);
    color: var(--medium-gray);
    margin-bottom: var(--spacing-xl);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
    text-align: left;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    font-size: var(--text-base);
    color: var(--charcoal-gray);
}

.pricing-feature::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(14, 102, 116, 0.1);
    color: var(--primary-navy);
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

/* === TESTIMONIALS === */
.testimonials {
    background: linear-gradient(135deg, rgba(248, 245, 240, 0.7) 0%, rgba(232, 244, 246, 0.7) 100%);
    padding-top: 40px;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-quote {
    font-size: var(--text-lg);
    color: var(--charcoal-gray);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-navy), var(--teal-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: var(--text-lg);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.testimonial-role {
    font-size: var(--text-sm);
    color: var(--medium-gray);
}

/* === User Comments Section === */
.user-comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
}

.user-comments-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 30px;
}

.user-comments-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.user-comment-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--light-gray);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.user-comment-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.user-comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.user-comment-info {
    flex: 1;
}

.user-comment-rating {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-left: auto;
}

.user-comment-message {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
    padding-left: 52px;
}

.user-comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-navy), var(--teal-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-comment-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-comment-name {
    font-weight: 600;
    color: var(--charcoal-gray);
}

.user-comment-date {
    font-size: 0.75rem;
    color: var(--medium-gray);
}

/* Load More Comments Button */
.load-more-comments-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px auto 0;
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--teal-soft);
    color: var(--teal-soft);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-comments-btn:hover {
    background: var(--teal-soft);
    color: white;
    transform: translateY(-2px);
}

.load-more-comments-btn svg {
    transition: transform 0.3s ease;
}

.load-more-comments-btn:hover svg {
    transform: translateY(3px);
}

/* === Feedback Form === */
.feedback-form-container {
    margin-top: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feedback-form-card {
    background: linear-gradient(135deg, rgba(14, 102, 116, 0.05), rgba(212, 175, 55, 0.05));
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
}

.feedback-form-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.feedback-form-subtitle {
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: 30px;
}

.feedback-form .form-group {
    margin-bottom: 20px;
}

.feedback-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--charcoal-gray);
    font-weight: 500;
}

.feedback-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s;
    font-family: inherit;
}

.feedback-form textarea:focus {
    outline: none;
    border-color: var(--primary-navy);
}

/* Star Rating */
.rating-container {
    text-align: center;
    margin-bottom: 24px;
}

.star-rating {
    display: inline-flex;
    gap: 8px;
    margin-top: 8px;
}

.star-rating .star {
    font-size: 2rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
}

.star-rating .star:hover,
.star-rating .star.active {
    color: #fbbf24;
    transform: scale(1.1);
}

.star-rating .star.hovered {
    color: #fbbf24;
}

/* Feedback messages */
.feedback-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.feedback-success {
    background: #f0fdf4;
    color: #15803d;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.feedback-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Login Prompt */
.feedback-login-prompt {
    text-align: center;
    margin-top: 40px;
    padding: 24px;
    background: rgba(14, 102, 116, 0.05);
    border-radius: var(--radius-md);
}

.feedback-login-prompt p {
    color: var(--charcoal-gray);
    margin: 0;
}

.feedback-login-prompt a {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: underline;
}

/* === FAQ === */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--light-gray);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--primary-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--teal-soft);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(14, 102, 116, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.faq-icon::after {
    content: '+';
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary-navy);
}

.faq-item.active .faq-icon {
    background: var(--primary-navy);
    transform: rotate(45deg);
}

.faq-item.active .faq-icon::after {
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    font-size: var(--text-base);
    color: var(--charcoal-gray);
    line-height: var(--leading-relaxed);
}

/* === FOOTER === */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: var(--spacing-3xl) var(--spacing-xl) var(--spacing-xl);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-size: var(--text-lg);
}

.footer-logo {
    height: 50px;
    margin-bottom: var(--spacing-md);
    filter: brightness(0) invert(1);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    list-style: none;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xs) 0;
    transition: all var(--transition-base);
}

.footer-link:hover {
    color: var(--secondary-gold);
    padding-left: var(--spacing-xs);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--secondary-gold);
    transform: translateY(-4px);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #ffffff;
    font-size: var(--text-sm);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    :root {
        --text-6xl: 2.5rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
    }

    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-xl);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-base);
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero {
        min-height: auto;
        padding: var(--spacing-3xl) var(--spacing-lg);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.mt-xl {
    margin-top: var(--spacing-xl);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* === SCROLL ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === LOADING ANIMATION === */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right,
            var(--light-gray) 0%,
            var(--off-white) 50%,
            var(--light-gray) 100%);
    background-size: 1000px 100%;
}

/* === USER PROFILE === */
.user-profile {
    position: relative;
    cursor: pointer;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 20px;
    transition: background-color 0.2s;
}

.user-trigger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    display: none;
    z-index: 1000;
    margin-top: 8px;
    border: 1px solid #eee;
}

.user-dropdown.active {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: var(--primary-navy);
}

.dropdown-item.text-danger {
    color: #dc3545;
}

.dropdown-item.text-danger:hover {
    background-color: #fff5f5;
}

/* ========================================
   SHOPPING CART STYLES
   ======================================== */

/* Cart Button */
.cart-button {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    color: var(--primary-navy);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-button:hover {
    transform: scale(1.1);
    color: var(--teal-soft);
}

/* Cart Badge - unified with notification badge */
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.cart-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(14, 102, 116, 0.2);
    backdrop-filter: blur(4px);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    bottom: 0;
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1002;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: var(--spacing-lg) var(--spacing-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 245, 239, 0.9));
    border-bottom: 1px solid rgba(14, 102, 116, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h2 {
    font-size: var(--text-2xl);
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--teal-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cart-close {
    background: rgba(14, 102, 116, 0.05);
    border: none;
    cursor: pointer;
    color: var(--primary-navy);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.cart-close:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: rotate(90deg);
}

.cart-sidebar-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.empty-cart {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    text-align: center;
}

.empty-cart svg {
    color: var(--light-gray);
    margin-bottom: var(--spacing-sm);
}

.empty-cart p {
    font-size: var(--text-lg);
    font-weight: 500;
}

.cart-items {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.cart-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    display: flex;
    gap: var(--spacing-md);
    border: 1px solid rgba(14, 102, 116, 0.1);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    animation: slideInRight 0.3s ease-out forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 102, 116, 0.2);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    background: var(--light-sand);
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-item-price {
    font-size: var(--text-sm);
    color: var(--teal-soft);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-xs);
}

.quantity-controls {
    display: flex;
    align-items: center;
    background: var(--off-white);
    border-radius: var(--radius-full);
    padding: 2px;
    border: 1px solid var(--light-gray);
}

.quantity-btn {
    background: var(--white);
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.quantity-btn:hover {
    background: var(--primary-navy);
    color: var(--white);
}

.quantity-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--primary-navy);
}

.remove-btn {
    background: rgba(239, 68, 68, 0.1);
    border: none;
    cursor: pointer;
    color: var(--error);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.remove-btn:hover {
    background: var(--error);
    color: var(--white);
}

.cart-footer {
    padding: var(--spacing-xl);
    background: var(--white);
    border-top: 1px solid rgba(14, 102, 116, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--primary-navy);
}

.cart-total span:last-child {
    font-size: var(--text-2xl);
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--teal-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#cartContent .btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0a4f5a 100%);
    transition: all var(--transition-base);
}

.cart-close:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: rotate(90deg);
}

.cart-sidebar-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.empty-cart {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    text-align: center;
}

.empty-cart svg {
    color: var(--light-gray);
    margin-bottom: var(--spacing-sm);
}

.empty-cart p {
    font-size: var(--text-lg);
    font-weight: 500;
}

.cart-items {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.cart-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    display: flex;
    gap: var(--spacing-md);
    border: 1px solid rgba(14, 102, 116, 0.1);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    animation: slideInRight 0.3s ease-out forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 102, 116, 0.2);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    background: var(--light-sand);
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-item-price {
    font-size: var(--text-sm);
    color: var(--teal-soft);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-xs);
}

.quantity-controls {
    display: flex;
    align-items: center;
    background: var(--off-white);
    border-radius: var(--radius-full);
    padding: 2px;
    border: 1px solid var(--light-gray);
}

.quantity-btn {
    background: var(--white);
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.quantity-btn:hover {
    background: var(--primary-navy);
    color: var(--white);
}

.quantity-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--primary-navy);
}

.remove-btn {
    background: rgba(239, 68, 68, 0.1);
    border: none;
    cursor: pointer;
    color: var(--error);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.remove-btn:hover {
    background: var(--error);
    color: var(--white);
}

.cart-footer {
    padding: var(--spacing-xl);
    background: var(--white);
    border-top: 1px solid rgba(14, 102, 116, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--primary-navy);
}

.cart-total span:last-child {
    font-size: var(--text-2xl);
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--teal-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#cartContent .btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0a4f5a 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

#cartContent .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 102, 116, 0.25);
}

/* ========================================
   LOGIN MODAL - Enhanced Design
   ======================================== */

/* Modal Overlay */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 102, 116, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.login-modal {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    max-width: 480px;
    width: 90%;
    box-shadow:
        0 20px 60px rgba(14, 102, 116, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-modal-overlay.active .login-modal {
    transform: translateY(0) scale(1);
}

/* Close Button */
.login-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(78, 78, 80, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--charcoal-gray);
}

.login-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
    transform: rotate(90deg);
}

.login-modal-close svg {
    width: 20px;
    height: 20px;
}

/* Modal Content */
.login-modal-content {
    text-align: center;
}

/* Icon */
.login-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--teal-soft) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseGlow 2s ease-in-out infinite;
    box-shadow:
        0 10px 30px rgba(14, 102, 116, 0.3),
        0 0 0 8px rgba(14, 102, 116, 0.05);
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 10px 30px rgba(14, 102, 116, 0.3),
            0 0 0 8px rgba(14, 102, 116, 0.05);
    }

    50% {
        transform: scale(1.05);
        box-shadow:
            0 15px 40px rgba(14, 102, 116, 0.4),
            0 0 0 12px rgba(14, 102, 116, 0.08);
    }
}

.login-modal-icon svg {
    width: 48px;
    height: 48px;
    color: white;
}

/* Title */
.login-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--teal-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.login-modal-description {
    font-size: 1.125rem;
    color: var(--charcoal-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Google Sign In Button */
.btn-google-signin {
    width: 100%;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid rgba(14, 102, 116, 0.15);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--charcoal-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.btn-google-signin::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 102, 116, 0.05), transparent);
    transition: left 0.5s ease;
}

.btn-google-signin:hover::before {
    left: 100%;
}

.btn-google-signin:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(14, 102, 116, 0.15),
        0 0 0 3px rgba(14, 102, 116, 0.08);
    border-color: var(--primary-navy);
}

.btn-google-signin:active {
    transform: translateY(0);
}

.btn-google-signin svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Footer Text */
.login-modal-footer {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-modal-footer::before {
    content: '✨';
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-modal {
        padding: 2rem;
        max-width: 90%;
    }

    .login-modal-title {
        font-size: 1.5rem;
    }

    .login-modal-description {
        font-size: 1rem;
    }

    .login-modal-icon {
        width: 64px;
        height: 64px;
    }

    .login-modal-icon svg {
        width: 36px;
        height: 36px;
    }
}

/* Download Notification Enhancement */
.download-notification {
    position: fixed;
    bottom: -100px;
    right: 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow:
        0 20px 40px rgba(14, 102, 116, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    z-index: 10000;
    min-width: 350px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-notification.show {
    bottom: 2rem;
}

.download-notification-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.download-notification-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.download-notification-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.download-notification-text {
    flex: 1;
}

.download-notification-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
}

.download-notification-text p {
    font-size: 0.875rem;
    color: var(--charcoal-gray);
    margin: 0;
}

.download-notification-close {
    background: rgba(78, 78, 80, 0.1);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--charcoal-gray);
    flex-shrink: 0;
}

.download-notification-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

.download-notification-close svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .download-notification {
        right: 1rem;
        left: 1rem;
        min-width: 0;
        max-width: calc(100% - 2rem);
    }
}

/* ========================================
   Notification System Styles
   ======================================== */

/* Notification Button */
.notification-button {
    position: relative;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--charcoal-gray);
    transition: all var(--transition-base);
    border-radius: 50%;
}

.notification-button:hover {
    background: rgba(14, 102, 116, 0.1);
    color: var(--primary-navy);
}

.notification-button svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Notification Badge - matches cart badge */
.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.notification-badge.has-notifications {
    display: flex;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Notification Wrapper */
.notification-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Notification Dropdown */
.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 360px;
    max-height: 480px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.notification-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Notification Header */
.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--light-gray);
    background: var(--off-white);
}

.notification-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-navy);
    margin: 0;
}

.notification-header a {
    font-size: 13px;
    color: var(--primary-navy);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.notification-header a:hover {
    color: var(--teal-soft);
    text-decoration: underline;
}

/* Notification List */
.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: transparent;
}

.notification-list::-webkit-scrollbar-thumb {
    background: var(--light-gray);
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: var(--medium-gray);
}

/* Notification Item */
.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.notification-item:hover {
    background: rgba(14, 102, 116, 0.05);
}

.notification-item:last-child {
    border-bottom: none;
}

/* Unread notification styling */
.notification-unread {
    background: rgba(14, 102, 116, 0.08);
}

.notification-unread:hover {
    background: rgba(14, 102, 116, 0.12);
}

/* Notification Icon */
.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon svg {
    width: 20px;
    height: 20px;
}

.notification-icon-success {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.notification-icon-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.notification-icon-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.notification-icon-info {
    background: rgba(14, 102, 116, 0.15);
    color: var(--primary-navy);
}

.notification-icon-broadcast {
    background: rgba(139, 92, 246, 0.15);
    color: #7c3aed;
}

/* Broadcast Notification Item - read state */
.notification-broadcast {
    border-left: 3px solid rgba(139, 92, 246, 0.3);
    background: transparent;
}

/* Broadcast Notification Item - unread state (purple background) */
.notification-broadcast.notification-unread {
    border-left: 3px solid #7c3aed;
    background: rgba(139, 92, 246, 0.08);
}

.notification-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 4px;
}

/* Notification Content */
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-message {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.4;
    margin: 0 0 4px 0;
    word-wrap: break-word;
}

.notification-unread .notification-message {
    font-weight: 500;
}

.notification-time {
    font-size: 12px;
    color: var(--medium-gray);
}

/* Unread Dot */
.notification-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-navy);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

/* Empty State */
.notification-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--medium-gray);
}

.notification-empty svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.notification-empty p {
    font-size: 14px;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification-dropdown {
        position: fixed;
        top: 70px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 100px);
    }

    .notification-item {
        padding: 12px 16px;
    }

    .notification-icon {
        width: 36px;
        height: 36px;
    }

    .notification-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ========================================
   SHOPPING CART SIDEBAR - Modern Redesign
   ======================================== */

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 1998;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.cart-open .cart-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    pointer-events: auto;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -480px;
    width: 450px;
    max-width: 95vw;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: -8px 0 40px rgba(14, 102, 116, 0.15);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.active {
    right: 0;
}

/* Cart Header */
.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0a4f5a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cart-sidebar-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cart-sidebar-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: white;
    z-index: 1;
}

/* Remove the ::before pseudo element that was causing issues */

.cart-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* Cart Content */
.cart-sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Empty Cart */
.empty-cart {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    text-align: center;
    color: var(--medium-gray);
}

.empty-cart svg {
    opacity: 0.4;
    margin-bottom: 24px;
    stroke: var(--primary-navy);
}

.empty-cart p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-gray);
    opacity: 0.7;
}

/* Cart Items Container */
#cartContent {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: transparent;
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--light-gray);
    border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: var(--medium-gray);
}

/* Individual Cart Item */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin-bottom: 16px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(14, 102, 116, 0.08);
    border: 1px solid rgba(14, 102, 116, 0.06);
    transition: all 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(14, 102, 116, 0.12);
    border-color: rgba(14, 102, 116, 0.12);
}

.cart-item:last-child {
    margin-bottom: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    background: var(--off-white);
    border-radius: var(--radius-full);
    padding: 4px;
    border: 1px solid var(--light-gray);
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.quantity-btn:hover {
    background: var(--primary-navy);
    color: white;
    transform: scale(1.05);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    min-width: 36px;
    text-align: center;
}

/* Remove Button */
.remove-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fee2e2;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #dc2626;
    color: white;
    transform: scale(1.1);
}

/* Cart Total */
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(14, 102, 116, 0.03) 100%);
    border-top: 1px solid var(--light-gray);
}

.cart-total span:first-child {
    font-size: 1rem;
    font-weight: 500;
    color: var(--medium-gray);
}

.cart-total span:last-child {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
}

/* Checkout Button in Cart */
#cartContent .btn-primary,
.cart-sidebar-content .btn-primary,
.cart-checkout-btn {
    display: block;
    width: 65%;
    margin: 0 auto 24px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #c99a00 100%);
    color: var(--dark-gray);
    border: none;
    box-shadow: 0 4px 16px rgba(226, 176, 7, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

#cartContent .btn-primary:hover,
.cart-sidebar-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(226, 176, 7, 0.4);
}

/* Cart Badge on Icon */
#cartBadge,
.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: none;
    /* Hidden by default, JS will show it */
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* When badge has items, it will be display:flex via JS */
#cartBadge[style*="display: flex"],
.cart-badge[style*="display: flex"] {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Responsive Cart */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }

    .cart-sidebar-header {
        padding: 20px;
    }

    .cart-sidebar-header h2 {
        font-size: 1.2rem;
    }

    .cart-items {
        padding: 16px;
    }

    .cart-item {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
    }

    .cart-total {
        padding: 16px;
    }

    #cartContent .btn-primary {
        margin: 0 16px 16px;
    }
}

/* ========================================
   MODAL STYLES
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dropdown Divider */
.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

/* ========================================
   GLOBAL FLOATING SHAPES BACKGROUND
   ======================================== */
.floating-shapes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: var(--radius-sm);
    transition: transform 0.2s ease-out;
    will-change: transform;
}

/* Shape positions and styles */
.floating-shape-1 {
    top: 5%;
    left: 3%;
    width: 120px;
    height: 24px;
    background: linear-gradient(90deg, var(--primary-navy), #1e8a9a);
    opacity: 0.4;
}

.floating-shape-2 {
    top: 15%;
    right: 5%;
    width: 150px;
    height: 22px;
    background: linear-gradient(90deg, var(--secondary-gold), #f5a623);
    opacity: 0.45;
}

.floating-shape-3 {
    top: 25%;
    left: 10%;
    width: 110px;
    height: 20px;
    background: linear-gradient(90deg, var(--teal-soft), #2dd4bf);
    opacity: 0.4;
}

.floating-shape-4 {
    top: 35%;
    right: 15%;
    width: 130px;
    height: 24px;
    background: linear-gradient(90deg, #818cf8, #6366f1);
    opacity: 0.35;
}

.floating-shape-5 {
    top: 45%;
    left: 5%;
    width: 100px;
    height: 18px;
    background: linear-gradient(90deg, var(--primary-navy), #0891b2);
    opacity: 0.4;
}

.floating-shape-6 {
    top: 55%;
    right: 8%;
    width: 140px;
    height: 22px;
    background: linear-gradient(90deg, #34d399, #10b981);
    opacity: 0.38;
}

.floating-shape-7 {
    top: 65%;
    left: 12%;
    width: 95px;
    height: 16px;
    background: linear-gradient(90deg, var(--secondary-gold), #fbbf24);
    opacity: 0.2;
}

.floating-shape-8 {
    top: 75%;
    right: 20%;
    width: 85px;
    height: 14px;
    background: linear-gradient(90deg, #f472b6, #ec4899);
    opacity: 0.12;
}

.floating-shape-9 {
    top: 85%;
    left: 8%;
    width: 105px;
    height: 18px;
    background: linear-gradient(90deg, var(--teal-soft), #14b8a6);
    opacity: 0.15;
}

.floating-shape-10 {
    top: 10%;
    left: 40%;
    width: 70px;
    height: 12px;
    background: linear-gradient(90deg, #a78bfa, #8b5cf6);
    opacity: 0.1;
}

.floating-shape-11 {
    top: 20%;
    right: 35%;
    width: 90px;
    height: 16px;
    background: linear-gradient(90deg, var(--primary-navy), #0e7490);
    opacity: 0.12;
}

.floating-shape-12 {
    top: 30%;
    left: 55%;
    width: 75px;
    height: 14px;
    background: linear-gradient(90deg, var(--secondary-gold), #f59e0b);
    opacity: 0.15;
}

.floating-shape-13 {
    top: 40%;
    right: 40%;
    width: 100px;
    height: 18px;
    background: linear-gradient(90deg, #06b6d4, #0891b2);
    opacity: 0.1;
}

.floating-shape-14 {
    top: 50%;
    left: 45%;
    width: 65px;
    height: 12px;
    background: linear-gradient(90deg, var(--teal-soft), #2dd4bf);
    opacity: 0.12;
}

.floating-shape-15 {
    top: 60%;
    right: 50%;
    width: 85px;
    height: 16px;
    background: linear-gradient(90deg, #f472b6, #db2777);
    opacity: 0.1;
}

.floating-shape-16 {
    top: 70%;
    left: 35%;
    width: 95px;
    height: 18px;
    background: linear-gradient(90deg, var(--primary-navy), #155e75);
    opacity: 0.12;
}

.floating-shape-17 {
    top: 80%;
    right: 30%;
    width: 80px;
    height: 14px;
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
    opacity: 0.1;
}

.floating-shape-18 {
    top: 90%;
    left: 25%;
    width: 110px;
    height: 20px;
    background: linear-gradient(90deg, var(--secondary-gold), #eab308);
    opacity: 0.15;
}

.floating-shape-19 {
    top: 8%;
    right: 25%;
    width: 60px;
    height: 10px;
    background: linear-gradient(90deg, #34d399, #059669);
    opacity: 0.1;
}

.floating-shape-20 {
    top: 95%;
    right: 10%;
    width: 70px;
    height: 12px;
    background: linear-gradient(90deg, var(--teal-soft), #0d9488);
    opacity: 0.12;
}