/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2D142C;
    --secondary-color: #510A32;
    --accent-color: #EE4540;
    --accent-secondary: #C72C41;
    --accent-dark: #801336;
    --text-color: #2D142C;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(45, 20, 44, 0.1);
    --shadow-lg: 0 4px 20px rgba(45, 20, 44, 0.15);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}



.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text img {
    width: 230px;
    height: auto;
    transition: width 0.3s ease;
}

.header.scrolled .logo-text img {
    width: 120px;
}

.nav {
    position: relative;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a.active {
    color: var(--accent-color);
    font-weight: 600;
}

.logo-link {
    text-decoration: none;
}


/* Page Headers & Standard Padding */
.page-header {
    padding: 8rem 0 4rem;
    background: var(--bg-light);
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.product-detail,
.cart-page,
.checkout-page {
    padding: 8rem 0 4rem;
}

/* Hero Section url('https://images.unsplash.com/photo-1513694203232-719a280e022f?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;*/
.hero {
    padding: 8rem 0 5rem 0;
    background: linear-gradient(90deg, rgb(252, 250, 250) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(235, 211, 0, 0.1) 100%),
        url('https://images.unsplash.com/photo-1513694203232-719a280e022f?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(238, 69, 64, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
    max-width: 600px;
    margin-bottom: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-title-main {
    display: block;
}

.hero-title-highlight {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-feature-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-large svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-primary.btn-large:hover svg {
    transform: translateX(5px);
}

.btn-outline.btn-large:hover svg {
    transform: scale(1.1);
}

.hero-trust-indicators {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(238, 69, 64, 0.15);
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trust-item strong {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-secondary);
    line-height: 1;
}

.trust-item span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Dynamic Background Animations */
@keyframes heroRipple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@keyframes heroPulseGreen {

    0%,
    100% {
        background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
    }

    50% {
        background: radial-gradient(circle, rgba(76, 175, 80, 0.25) 0%, transparent 70%);
    }
}

@keyframes heroPulseRed {

    0%,
    100% {
        background: radial-gradient(circle, rgba(255, 82, 82, 0.15) 0%, transparent 70%);
    }

    50% {
        background: radial-gradient(circle, rgba(255, 82, 82, 0.25) 0%, transparent 70%);
    }
}

@keyframes heroPulseBlue {

    0%,
    100% {
        background: radial-gradient(circle, rgba(33, 150, 243, 0.15) 0%, transparent 70%);
    }

    50% {
        background: radial-gradient(circle, rgba(33, 150, 243, 0.25) 0%, transparent 70%);
    }
}

@keyframes heroPulseYellow {

    0%,
    100% {
        background: radial-gradient(circle, rgba(255, 235, 59, 0.15) 0%, transparent 70%);
    }

    50% {
        background: radial-gradient(circle, rgba(255, 235, 59, 0.25) 0%, transparent 70%);
    }
}

@keyframes heroPulseOrange {

    0%,
    100% {
        background: radial-gradient(circle, rgba(255, 152, 0, 0.15) 0%, transparent 70%);
    }

    50% {
        background: radial-gradient(circle, rgba(255, 152, 0, 0.25) 0%, transparent 70%);
    }
}

@keyframes heroGlowWave {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Hero animation states */
.hero.animate-green::before {
    animation: heroPulseGreen 1.5s ease-in-out;
}

.hero.animate-red::before {
    animation: heroPulseRed 1.5s ease-in-out;
}

.hero.animate-blue::before {
    animation: heroPulseBlue 1.5s ease-in-out;
}

.hero.animate-yellow::before {
    animation: heroPulseYellow 1.5s ease-in-out;
}

.hero.animate-orange::before {
    animation: heroPulseOrange 1.5s ease-in-out;
}

/* Ripple effect overlay */
.hero-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-ripple.green {
    background: radial-gradient(circle, rgba(76, 175, 80, 0.4) 0%, transparent 70%);
    animation: heroRipple 1.2s ease-out;
}

.hero-ripple.red {
    background: radial-gradient(circle, rgba(255, 82, 82, 0.4) 0%, transparent 70%);
    animation: heroRipple 1.2s ease-out;
}

.hero-ripple.blue {
    background: radial-gradient(circle, rgba(33, 150, 243, 0.4) 0%, transparent 70%);
    animation: heroRipple 1.2s ease-out;
}

.hero-ripple.yellow {
    background: radial-gradient(circle, rgba(255, 235, 59, 0.4) 0%, transparent 70%);
    animation: heroRipple 1.2s ease-out;
}

.hero-ripple.orange {
    background: radial-gradient(circle, rgba(255, 152, 0, 0.4) 0%, transparent 70%);
    animation: heroRipple 1.2s ease-out;
}

.hero-ripple.glow {
    background: radial-gradient(circle, rgba(238, 69, 64, 0.3) 0%, transparent 70%);
    animation: heroGlowWave 1.5s ease-out;
}

/* Phone Mockup & App UI */
.phone-mockup {
    width: 320px;
    max-width: 100%;
    height: 640px;
    background: #121212;
    border-radius: 35px;
    border: 8px solid #2c2c2c;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: 0;
    transform-style: preserve-3d;
    transition: transform 0.3s ease-out, width 0.3s ease, height 0.3s ease;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #121212;
    position: relative;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

/* App Header */
.app-header {
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #121212;
    z-index: 10;
}

.app-logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.app-logo-text span {
    font-weight: 300;
}

/* Scrollable Content */
.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 15px 80px 15px;
    /* Bottom padding for nav */
    scrollbar-width: none;
}

.app-content::-webkit-scrollbar {
    display: none;
}

/* Section Headers */
.app-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    margin: 20px 0 10px 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-section-title i {
    font-size: 1rem;
}

/* Scenes Grid */
.scenes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.scene-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scene-btn {
    width: 100%;
    aspect-ratio: 1;
    background: #1e1e1e;
    border-radius: 8px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.scene-btn:hover {
    background: #2a2a2a;
}

.scene-btn svg {
    width: 24px;
    height: 24px;
}

.scene-label {
    font-size: 0.7rem;
    color: #aaa;
}

/* Security System Card */
.security-card {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #333;
    margin-bottom: 10px;
    position: relative;
}

.security-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.shield-icon {
    width: 60px;
    height: 70px;
    fill: #ff9800;
    /* Orange for Armed */
}

.security-status {
    text-align: left;
}

.security-status h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.security-status p {
    color: #ff9800;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.security-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 15px;
}

/* Device Cards (Locks, Garage) */
.device-card {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.device-icon-large {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-icon-large svg {
    width: 100%;
    height: 100%;
}

.device-info {
    flex: 1;
}

.device-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.device-state {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.state-locked,
.state-closed {
    color: #ff5252;
    /* Red */
}

.state-unlocked,
.state-open {
    color: #4caf50;
    /* Green */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #444;
}

.dot.active {
    background: #fff;
}

/* Lights List */
.light-item {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.light-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.light-icon {
    color: #fff;
}

.light-name {
    font-size: 0.95rem;
}

.light-controls {
    display: flex;
    gap: 8px;
}

.light-btn {
    width: 40px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.light-btn.active {
    background: #ffeb3b;
    border-color: #ffeb3b;
    color: #000;
}

/* Thermostat */
.thermostat-card {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #333;
    text-align: center;
}

.temp-display {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.temp-controls svg {
    cursor: pointer;
    color: #888;
}

.temp-controls svg:hover {
    color: #fff;
}

/* Bottom Navigation */
.app-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #1e1e1e;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 10px;
    /* For home indicator area */
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #888;
    font-size: 0.7rem;
    cursor: pointer;
    width: 25%;
}

.nav-btn.active {
    color: #fff;
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Utility Colors */
.text-green {
    color: #4caf50;
}

.text-red {
    color: #ff5252;
}

.text-orange {
    color: #ff9800;
}

.text-blue {
    color: #2196f3;
}

.bg-red {
    background-color: #ff5252;
}

.fill-red {
    fill: #ff5252;
}

.fill-orange {
    fill: #ff9800;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--accent-secondary);
    color: var(--white);
    border-color: var(--accent-secondary);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--white);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
    border: none;
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(45, 20, 44, 0.3), rgba(45, 20, 44, 0.9));
    transition: background 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card:hover .feature-overlay {
    background: linear-gradient(to bottom, rgba(45, 20, 44, 0.5), rgba(45, 20, 44, 0.95));
}

.feature-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon-wrapper {
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: translateY(-10px) scale(0.9);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--white);
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
    line-height: 1.2;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-title {
    transform: translateY(-10px);
}

.feature-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
}

.feature-card:hover .feature-details {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 1rem;
}

.feature-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.feature-card .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.feature-card .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Steps Section - Vertical Timeline Design */
.steps {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #f8f9fa 70%, #cf6cce 85%, #2d142c 100%);
    position: relative;
}

.steps-timeline {
    max-width: 900px;
    margin: 3rem auto;
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-color), var(--accent-dark));
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-color), var(--accent-secondary));
    animation: timeline-grow 2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes timeline-grow {
    to {
        height: 100%;
    }
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.step-item:nth-child(2) {
    animation-delay: 0.2s;
}

.step-item:nth-child(3) {
    animation-delay: 0.4s;
}

.step-item:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.step-number-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(238, 69, 64, 0.4);
    border: 4px solid var(--white);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(238, 69, 64, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 8px 35px rgba(238, 69, 64, 0.6);
        transform: scale(1.05);
    }
}

.step-image-bg {
    position: absolute;
    width: 350px;
    height: 250px;
    border-radius: 95px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
    transition: all 0.4s ease;

}

.step-item:nth-child(2) .step-image-bg {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.step-item:nth-child(3) .step-image-bg {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.step-item:nth-child(4) .step-image-bg {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.step-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.step-item:hover .step-bg-img {
    transform: scale(1.1);
}

.step-item:hover .step-image-bg {
    opacity: 1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);

}

.step-content-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--white);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(238, 69, 64, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.step-item:nth-child(odd) .step-content-wrapper {
    margin-right: calc(50% + 50px);
}

.step-item:nth-child(even) .step-content-wrapper {
    margin-left: calc(50% + 50px);
}

.step-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(238, 69, 64, 0.05), transparent);
    transition: left 0.6s;
}

.step-content-wrapper:hover::before {
    left: 100%;
}

.step-content-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(238, 69, 64, 0.15);
    border-color: var(--accent-color);
}

.step-icon-box {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(238, 69, 64, 0.1) 0%, rgba(199, 44, 65, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.step-content-wrapper:hover .step-icon-box {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    transform: rotate(5deg) scale(1.1);
}

.step-svg {
    width: 40px;
    height: 40px;
    color: var(--accent-color);
    transition: color 0.4s ease;
}

.step-content-wrapper:hover .step-svg {
    color: var(--white);
}

.step-text-content {
    flex: 1;
}

.step-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.step-desc {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.steps-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Packages Section */
.packages {
    /* padding: 4rem 0; */
    background: #2d142c;
    text-align: center;
    position: relative;


}

.packages::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
}

.packages .section-title,
.packages .section-subtitle {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.packages .btn-primary {
    position: relative;
    z-index: 1;
    background: var(--white);
    color: var(--accent-color);
    border: 2px solid var(--white);
}

.packages .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Categories Section */
.categories {
    padding: 4rem 0;
    background: var(--bg-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: linear-gradient(to bottom, rgba(238, 69, 64, 0.03), var(--white));
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid rgba(238, 69, 64, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.category-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Features at a Glance */
.features-glance {
    padding: 4rem 0;
    background: var(--white);
}

.features-glance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    padding: 1.5rem;
    border-left: 4px solid var(--accent-secondary);
    background: linear-gradient(to right, rgba(238, 69, 64, 0.05), var(--bg-light));
    border-radius: 5px;
}

.feature-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-item-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-color) 100%);
    color: var(--white);
    text-align: center;
}

.newsletter-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-input:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.newsletter-error {
    margin-top: 1rem;
    color: #ffeb3b;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.back-to-top.visible {
    display: flex;
}

.hidden {
    display: none !important;
}

/* Video Tab Styles */
.video-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #121212;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
}

.video-tabs {
    display: flex;
    border-bottom: 1px solid #333;
    background: #121212;
}

.v-tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.v-tab.active {
    color: #fff;
}

.v-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
}

.video-feed-list {
    padding: 0;
}

.video-card {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.camera-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(40, 40, 40, 0.8);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
}

.play-btn-large {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    /* Slightly transparent white */
    border-radius: 50%;
    /* Circular button */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    /* Triangle shape using borders or SVG inside */
}

.play-triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid #000;
    /* Black triangle */
    margin-left: 4px;
    /* Optical centering */
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .logo-text img {
        max-width: 120px;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--white);
        flex-direction: column;
        width: 200px;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        display: none;
        gap: 1rem;
        z-index: 100;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 10rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .hero-trust-indicators {
        gap: 1.5rem;
    }

    .trust-item strong {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .cart-btn {
        display: none !important;
    }

    .scrolly-container,
    #home {
        padding-top: 8rem;
    }

    .features-grid,
    .category-grid,
    .features-glance-grid,
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .steps-timeline {
        padding-left: 2rem;
    }

    .timeline-line {
        left: 30px;
    }

    .step-badge {
        left: 30px;
    }

    .step-number-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .step-item:nth-child(odd) .step-content-wrapper,
    .step-item:nth-child(even) .step-content-wrapper {
        margin-left: 80px;
        margin-right: 0;
    }

    .step-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .step-icon-box {
        width: 60px;
        height: 60px;
    }

    .step-svg {
        width: 30px;
        height: 30px;
    }

    .step-image-bg {
        display: none;
    }

    .step-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        margin: 0;
    }

    .step-item:nth-child(odd) .step-content-wrapper,
    .step-item:nth-child(even) .step-content-wrapper {
        margin-left: 60px;
        margin-right: 0;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Hero Section Responsive Updates */
    .hero {
        padding: 6rem 0 4rem 0;
        text-align: center;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
        align-items: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust-indicators {
        justify-content: center;
        padding-top: 1.5rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .phone-mockup {
        height: 500px;
        width: 260px;
        margin: 0 auto;
        transform: none !important;
        /* Disable parallax on mobile */
    }

    .hero-content {
        transform: none !important;
        /* Disable scroll fade on mobile */
        opacity: 1 !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-text img {
        max-width: 100px;
    }

    .hero {
        padding: 7rem 0 3rem 0;
    }

    .scrolly-container,
    #home {
        padding-top: 8rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-item {
        text-align: center;
    }

    .features,
    .steps,
    .packages,
    .categories,
    .features-glance {
        padding: 2rem 0;
    }

    .phone-mockup {
        width: 100%;
        max-width: 260px;
        height: 500px;
    }

    /* Mobile Steps Fix */
    .steps-timeline {
        padding-left: 0;
        margin: 2rem 0;
    }

    .timeline-line {
        display: none;
    }

    .step-item {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .step-badge {
        position: static;
        transform: none;
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
    }

    .step-item:nth-child(odd) .step-content-wrapper,
    .step-item:nth-child(even) .step-content-wrapper {
        margin: 0;
    }

    .step-content-wrapper {
        padding: 1.5rem;
        text-align: center;
        align-items: center;
        margin-left: 0 !important;
        /* Reset margin for smallest screens */
    }

    .steps-timeline {
        padding-left: 0;
        margin: 2rem 0;
    }

    .timeline-line {
        display: none;
    }

    .step-badge {
        position: static;
        transform: none;
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
        left: auto;
    }

    /* Footer Mobile Fix */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .newsletter-form {
        width: 100%;
    }

    .newsletter-input {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* Page Header */
.page-header {
    padding: 8rem 0 3rem 0;
    background: linear-gradient(135deg, rgba(238, 69, 64, 0.05) 0%, rgba(199, 44, 65, 0.05) 100%);
    text-align: center;
    margin-top: 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Package Cards */
.packages-section {
    padding: 4rem 0;
    background: var(--white);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.package-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.package-card.featured {
    border-color: var(--accent-secondary);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(to bottom, rgba(238, 69, 64, 0.03), var(--white));
}

.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-secondary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.package-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    color: var(--primary-color);
}

.package-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.package-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    padding: 0;
}

.package-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.package-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
    font-weight: 700;
}

.package-price {
    margin: 2rem 0;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    color: var(--text-light);
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent-secondary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0 0 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 0 1.5rem 0;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Support Options */
.support-options {
    padding: 4rem 0;
    background: var(--bg-light);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-card {
    background: linear-gradient(to bottom, rgba(238, 69, 64, 0.03), var(--white));
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid rgba(238, 69, 64, 0.1);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.support-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.support-description {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.support-info {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Legal Section */
.legal-section {
    padding: 4rem 0;
    background: var(--white);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.legal-card {
    background: linear-gradient(to right, rgba(238, 69, 64, 0.05), var(--bg-light));
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-secondary);
}

.legal-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-content {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-detail-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-detail-item p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-detail-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-detail-item a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(238, 69, 64, 0.1);
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.map-container {
    margin-top: 2rem;
}

.map-placeholder {
    background: var(--white);
    padding: 4rem 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.map-placeholder p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.map-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Smart Capabilities */
.smart-capabilities {
    padding: 4rem 0;
    background: var(--bg-light);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.capability-card {
    background: linear-gradient(to bottom, rgba(238, 69, 64, 0.03), var(--white));
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid rgba(238, 69, 64, 0.1);
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.capability-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.capability-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.capability-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Automation Section */
.automation-section {
    padding: 4rem 0;
    background: var(--white);
}

.automation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.automation-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.automation-list {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.automation-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
}

.automation-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.automation-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.automation-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
}

/* Account Section */
.account-section {
    padding: 4rem 0;
    background: var(--white);
}

.account-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    margin-bottom: -2px;
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-button.active {
    color: var(--accent-secondary);
    border-bottom-color: var(--accent-secondary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.account-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.overview-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.overview-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4caf50;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.status-details {
    color: var(--text-light);
    font-size: 0.9rem;
}

.device-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.5rem 0;
}

.count-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.count-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.subscription-info {
    margin: 1rem 0;
}

.subscription-plan {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.subscription-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
}

.subscription-status {
    color: var(--text-light);
    font-size: 0.9rem;
}

.recent-activity {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.recent-activity h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 5px;
}

.activity-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.activity-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.activity-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.device-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.device-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.device-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.device-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.device-status {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.device-status.online {
    color: #4caf50;
}

.device-location {
    color: var(--text-light);
    font-size: 0.9rem;
}

.settings-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.settings-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.settings-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.setting-item:last-child {
    border-bottom: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--accent-secondary);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.setting-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.setting-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

.billing-info {
    margin-bottom: 3rem;
}

.billing-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.billing-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
}

.plan-type {
    color: var(--text-light);
}

.billing-history {
    margin-bottom: 2rem;
}

.billing-history h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.billing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.billing-table thead {
    background: var(--bg-light);
}

.billing-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
}

.billing-table td {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
}

.status-paid {
    color: #4caf50;
    font-weight: 600;
}

.billing-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .automation-content {
        grid-template-columns: 1fr;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .account-overview {
        grid-template-columns: 1fr;
    }

    .devices-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .billing-actions {
        flex-direction: column;
    }

    .billing-actions .btn {
        width: 100%;
    }
}

/* Activity Tab Styles */
.activity-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #121212;
}

.activity-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
}

.activity-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 10px 20px;
    background: #121212;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.expand-btn {
    background: #333;
    color: #ccc;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
}

.activity-list {
    padding: 0 10px;
}

.activity-item {
    background: #1e1e1e;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.activity-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon svg {
    width: 100%;
    height: 100%;
}

.icon-yellow {
    color: #ffeb3b;
}

.icon-white {
    color: #fff;
}

.icon-red {
    color: #ff5252;
}

.icon-orange {
    color: #ff9800;
}

.icon-green {
    color: #4caf50;
}

.activity-details {
    display: flex;
    flex-direction: column;
}

.activity-name {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
}

.activity-sub {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
}

.activity-time {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 400;
}

.activity-group {
    display: flex;
    gap: 15px;
}

.no-activity {
    background: #1e1e1e;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 8px;
    color: #888;
    font-size: 0.9rem;
}

/* More Tab Styles */
.more-header {
    padding: 15px 20px;
    background: #121212;
}

.more-title {
    font-size: 1rem;
    font-weight: 400;
    color: #aaa;
}

.more-content {
    padding: 15px 15px 80px 15px;
}

.menu-section {
    background: #1e1e1e;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.menu-section-title {
    padding: 12px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: #1e1e1e;
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    padding: 15px;
    border-top: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-item:hover {
    background: #252525;
}

.menu-item:first-child {
    border-top: none;
}

.menu-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.menu-icon svg {
    width: 100%;
    height: 100%;
}

.menu-label {
    flex: 1;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 400;
}

/* Detail Views */
.detail-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #121212;
    z-index: 100;
    display: none;
    flex-direction: column;
}

.detail-view.active {
    display: flex;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.detail-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #121212;
    border-bottom: 1px solid #333;
}

.back-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
}

.back-btn:hover {
    opacity: 0.7;
}

.detail-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    flex: 1;
}

.detail-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Lock Detail View */
.lock-status {
    text-align: center;
    padding: 40px 20px;
}

.lock-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.lock-icon-large svg {
    width: 100%;
    height: 100%;
}

.lock-state-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.lock-subtext {
    font-size: 0.9rem;
    color: #888;
}

.lock-controls {
    padding: 20px;
}

.control-btn {
    width: 100%;
    padding: 15px;
    background: #1e1e1e;
    border: 2px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 15px;
}

.control-btn:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
}

.control-btn.primary {
    background: #ff5252;
    border-color: #ff5252;
}

.control-btn.primary:hover {
    background: #ff3838;
}

.control-btn.success {
    background: #4caf50;
    border-color: #4caf50;
}

.control-btn.success:hover {
    background: #45a049;
}

/* Light Control View */
.light-control-container {
    padding: 20px;
}

.light-brightness {
    text-align: center;
    padding: 40px 20px;
}

.brightness-value {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 10px;
}

.brightness-label {
    font-size: 0.9rem;
    color: #888;
}

.slider-container {
    padding: 20px;
}

.brightness-slider {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.brightness-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #ffeb3b;
    border-radius: 50%;
    cursor: pointer;
}

.brightness-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #ffeb3b;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.toggle-section {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1e1e1e;
    border-radius: 8px;
    margin-top: 20px;
}

.toggle-label {
    font-size: 1.1rem;
    color: #fff;
}

.toggle-switch {
    width: 60px;
    height: 30px;
    background: #333;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch.on {
    background: #ffeb3b;
}

.toggle-knob {
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.3s;
}

.toggle-switch.on .toggle-knob {
    left: 32px;
}

/* Video Player View */
.video-player {
    position: relative;
    width: 100%;
    height: 300px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-triangle-large {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid #000;
    margin-left: 5px;
}

.video-info {
    padding: 20px;
}

.video-timestamp {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

/* Thermostat Detail */
.thermostat-detail {
    text-align: center;
    padding: 40px 20px;
}

.temp-circle {
    width: 200px;
    height: 200px;
    border: 4px solid #333;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.temp-current {
    font-size: 4rem;
    font-weight: 300;
    color: #fff;
}

.temp-target {
    font-size: 1rem;
    color: #888;
}

.temp-adjust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.temp-btn {
    width: 60px;
    height: 60px;
    background: #1e1e1e;
    border: 2px solid #333;
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.temp-btn:hover {
    background: #2a2a2a;
    transform: scale(1.1);
}

/* Make elements clickable */
.clickable {
    cursor: pointer;
    transition: opacity 0.2s;
}

.clickable:hover {
    opacity: 0.8;
}

/* Animations for Home Section */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(255, 235, 59, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 235, 59, 0.8), 0 0 30px rgba(255, 235, 59, 0.4);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Animation Utility Classes */
.pulse-animation {
    animation: pulse 0.6s ease-out;
}

.glow-animation {
    animation: glow 1.5s ease-in-out;
}

.bounce-animation {
    animation: bounce 0.5s ease-out;
}

.rotate-animation {
    animation: rotate 0.6s ease-in-out;
}

.fade-in-animation {
    animation: fadeIn 0.4s ease-out;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    animation: ripple 0.6s ease-out;
}

/* Scene Button Enhanced */
.scene-btn:active {
    transform: scale(0.95);
}

.scene-btn.activating {
    animation: pulse 0.6s ease-out, glow 1s ease-in-out;
}

/* Device Card Enhanced */
.device-card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s;
}

.device-card.state-change {
    animation: bounce 0.5s ease-out;
}

/* Light Item Enhanced */
.light-item.on {
    animation: glow 2s ease-in-out infinite;
}

/* Status Indicators */
.state-locked::before,
.state-unlocked::before,
.state-armed::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    animation: statusPulse 2s ease-in-out infinite;
}

.state-locked::before {
    background: #4caf50;
}

.state-unlocked::before {
    background: #ff5252;
}

.state-armed::before {
    background: #ff9800;
}

/* Shimmer Effect for Interactive Elements */
.scene-btn:hover,
.device-card:hover,
.light-item:hover {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

/* Revamped Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

#features-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.features .container {
    position: relative;
    z-index: 1;
}

.features::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(238, 69, 64, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}



/* Packages Page Styles */
.packages-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.package-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border-color);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.package-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.02);
}

.package-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.package-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.package-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-right: 2rem;
    /* Space for badge */
}

.package-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Inline features as requested */
.package-features li {
    display: inline;
    color: var(--text-color);
    font-size: 0.95rem;
}

.package-features li:not(:last-child)::after {
    content: ", ";
    color: var(--text-light);
}

.package-price {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.price-original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.1rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.benefit-card svg {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--text-light);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.contact-number:hover {
    color: var(--accent-color);
}

.search-btn,
.cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    padding: 0;
}

.search-btn:hover,
.cart-btn:hover {
    color: var(--accent-color);
}

.cart-btn {
    position: relative;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

@media (max-width: 992px) {
    .header-actions {
        gap: 1rem;
    }

    .contact-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
    }

    .header-actions {
        margin-left: auto;
        margin-right: 3rem;
        /* Space for toggle */
    }

    .nav {
        position: static;
    }

    .nav-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .nav-menu {
        top: 100%;
        width: 100%;
        left: 0;
        right: auto;
        text-align: center;
    }
}

/* Home Solutions House Interactive Section */
.homeSolutionsHouse {
    position: relative;
    padding: 2rem 0;
}

.home-solutions-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
}

.home-house-img {
    width: 100%;
    height: auto;
    display: block;
}

.solution-point {
    position: absolute;
    cursor: pointer;
    z-index: 10;
}

.point-marker {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(238, 69, 64, 0.7);
    animation: pulse-marker 2s infinite;
    transition: transform 0.3s ease;
}

.solution-point:hover .point-marker {
    transform: scale(1.2);
    background: var(--primary-color);
}

.point-content {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 200px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.point-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.solution-point:hover .point-content {
    opacity: 1;
    visibility: visible;
    bottom: 40px;
}

.point-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.point-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

/* Point Positions (Adjust percentages based on the image) */
.point-security {
    top: 65%;
    left: 20%;
}

/* Front Door */
.point-energy {
    top: 30%;
    left: 50%;
}

/* Roof/Attic */
.point-automation {
    top: 55%;
    left: 75%;
}

/* Living Room Window */
.point-safety {
    top: 45%;
    left: 35%;
}

/* Kitchen/Garage */

@keyframes pulse-marker {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(238, 69, 64, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(238, 69, 64, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(238, 69, 64, 0);
    }
}

@media (max-width: 768px) {
    .point-content {
        display: none;
        /* Hide tooltips on mobile, rely on simple clicks or just visual markers */
    }
}

/* Smart Home Interactive Graphic */
.smart-home-im {
    position: relative;
    margin-bottom: 2rem;
}

.smart-home-im .smartHomeI {
    width: 100%;
    height: auto;
    display: block;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.divPlus {
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(238, 69, 64, 0.7);
    animation: pulse-red 2s infinite;
    cursor: pointer;
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
}

.divPlus:hover {
    cursor: pointer;
    transform: scale(1.1);
    animation: none;
    /* Stop pulsing on hover */
}

.map-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    /* Make icon white */
    pointer-events: none;
    /* Let clicks pass through to div */
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(238, 69, 64, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(238, 69, 64, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(238, 69, 64, 0);
    }
}

.smart-home-im .descBlock {
    position: absolute;
    border: 3px solid var(--accent-color);
    padding: 20px;
    top: 0px;
    left: 0px;
    background-color: rgb(255, 255, 255);
    max-width: 346px;
    display: none;
    z-index: 6;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 25px 0px;
    border-radius: 8px;
}

/* Icon Positioning - Updated for 3D Floor Plan */
.smart-home-im .divPlus.door-bell-camera {
    left: 34%;
    top: 72%;
}

/* Front Entrance Area */
.smart-home-im .descBlock.doorBellCamera {
    top: 50%;
    left: 10%;
}

.smart-home-im .divPlus.smart-lock {
    left: 36%;
    top: 68%;
}

/* Front Door */
.smart-home-im .descBlock.smartLock {
    top: 48%;
    left: 12%;
}

.smart-home-im .divPlus.security-panel {
    left: 42%;
    top: 60%;
}

/* Hallway */
.smart-home-im .descBlock.securityPanel {
    top: 40%;
    left: 18%;
}

.smart-home-im .divPlus.smart-thermostat {
    left: 58%;
    top: 45%;
}

/* Living Room Wall */
.smart-home-im .descBlock.smartThermostat {
    top: 25%;
    left: 35%;
}

.smart-home-im .divPlus.image-sensor {
    left: 75%;
    top: 40%;
}

/* Living Room Corner */
.smart-home-im .descBlock.imageSensor {
    top: 20%;
    left: 50%;
}

.smart-home-im .divPlus.smoke-detector {
    left: 48%;
    top: 32%;
}

/* Kitchen Ceiling */
.smart-home-im .descBlock.smokeDetector {
    top: 12%;
    left: 25%;
}

.smart-home-im .divPlus.garage-door {
    left: 42%;
    top: 85%;
}

/* Garage Door */
.smart-home-im .descBlock.garageDoor {
    top: 65%;
    left: 20%;
}

.smart-home-im .divPlus.video-camera {
    left: 68%;
    top: 60%;
}

/* Living Room View */
.smart-home-im .descBlock.videoCamera {
    top: 40%;
    left: 45%;
}

.smart-home-im .divPlus.temp-sensor {
    left: 48%;
    top: 12%;
}

/* Master Bedroom */
.smart-home-im .descBlock.tempSensor {
    top: 5%;
    left: 25%;
}

.smart-home-im .divPlus.water-sensor {
    left: 65%;
    top: 20%;
}

/* Bathroom */
.smart-home-im .descBlock.waterSensor {
    top: 5%;
    left: 40%;
}

.smart-home-im .divPlus.light-control {
    left: 22%;
    top: 40%;
}

/* Second Bedroom */
.smart-home-im .descBlock.lightControl {
    top: 20%;
    left: 5%;
}

.smart-home-im .divPlus.window-sensor {
    left: 84%;
    top: 55%;
}

/* Living Room Window */
.smart-home-im .descBlock.windowSensor {
    top: 35%;
    left: 65%;
}

/* Description Block Styling */
.smart-home-im .descBlock .dbClose {
    color: var(--accent-color);
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 18px;
    transition: 0.2s;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smart-home-im .descBlock .dbClose::before {
    content: '×';
    font-size: 24px;
    line-height: 1;
}

.smart-home-im .descBlock .dbClose:hover {
    font-size: 22px;
    cursor: pointer;
}

.smart-home-im .descBlock .dbTitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-right: 20px;
}

.smart-home-im .descBlock .dbTitle img {
    margin-right: 10px;
    max-width: 26px;
    max-height: 26px;
}

.smart-home-im .descBlock .dbContent {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .smart-home-im .descBlock {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 90%;
        z-index: 1000;
    }
}

/* Package List Styles */
.package-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 2rem;
}

.package-list {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 350px;
    margin: 0 auto;
}

.package-list:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.package-list a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-list h2 {
    font-size: 1.25rem;
    padding: 15px;
    margin: 0;
    text-align: center;
    color: var(--primary-color);
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-list .liquid-image {
    width: 100%;
    height: 220px;
    /* Fixed height for consistency */
    display: block;
    background-size: cover;
    background-position: center;
    object-fit: cover;
}

.product-price {
    padding: 15px;
    text-align: center;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.product-price-old {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
    font-size: 0.9rem;
}

.product-price-normal {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.summary {
    padding: 15px;
    flex-grow: 1;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.summary p {
    margin-bottom: 10px;
}

.summary strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 5px;
}

.btn-pink {
    display: block;
    background: var(--accent-color);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    transition: background 0.3s ease;
    margin: 15px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-pink:hover {
    background: var(--accent-dark);
    color: #fff;
    text-decoration: none;
}

/* Scrollytelling Layout */
#home.scrolly-container {
    padding-top: 8rem;
}

.scrolly-container {
    padding: 0;
    position: relative;
    background: linear-gradient(90deg, rgb(252, 250, 250) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(235, 211, 0, 0.1) 100%),
        url('https://images.unsplash.com/photo-1513694203232-719a280e022f?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    background-attachment: fixed;
    /* Parallax effect for background */
}

.scrolly-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    /* Overlay to make text readable */
    z-index: 0;
}

.scrolly-container .container {
    position: relative;
    z-index: 1;
}

.scrolly-layout {
    display: flex;
    flex-direction: column-reverse;
    /* Mobile first: text below phone */
    gap: 2rem;
}

@media (min-width: 992px) {
    .scrolly-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: flex-start;
    }
}

.scrolly-text {
    position: relative;
    z-index: 2;
    padding-bottom: 10vh;
    /* Extra space at bottom */
}

.step {
    min-height: 80vh;
    /* Each step takes up space */
    display: flex;
    align-items: center;
    opacity: 0.3;
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding: 2rem 0;
}

.step.active {
    opacity: 1;
    transform: translateX(0);
}

.step-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    max-width: 550px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.step.active .step-content {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.step-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-content p {
    font-size: 1.15rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* Special styling for the first step (Hero) */
.step[data-step="home"] {
    min-height: 100vh;
    opacity: 1;
    /* Always visible initially */
    align-items: center;
    /* Center vertically */
}

.step[data-step="home"] .step-content {
    background: transparent;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
    max-width: 100%;
    border: none;
}

.scrolly-visual {
    position: relative;
    height: 100%;
    /* Full height of container? No, sticky needs height context */
}

/* Desktop Sticky Wrapper */
@media (min-width: 992px) {
    .sticky-wrapper {
        position: sticky;
        top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        /* Occupy full viewport height to center phone */
        padding: 2rem 0;
    }
}

/* Mobile Sticky/Fixed Wrapper */
@media (max-width: 991px) {
    .sticky-wrapper {
        position: sticky;
        top: 60px;
        /* Below header */
        height: auto;
        padding: 1rem 0;
        z-index: 10;
        /*background: rgba(255, 255, 255, 0.8);*/
        /* backdrop-filter: blur(5px); */
    }

    .phone-mockup {
        transform: scale(0.8);
        /* Smaller on mobile */
        height: 500px;
        /* Reduced height */
    }

    .step {
        min-height: 60vh;
    }

    .step[data-step="home"] {
        min-height: auto;
        padding-top: 100px;
    }
}

.sticky-wrapper .phone-mockup {
    pointer-events: auto;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animation classes for phone */
.phone-mockup.shake {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Steps Section - Horizontal Card Design */
.steps {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 1;
}

.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    opacity: 0;
    /* Hidden initially for reveal animation */
    transform: translateY(30px);
}

/* Shine Effect */
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
    z-index: 1;
    pointer-events: none;
}

.step-card:hover::before {
    left: 200%;
    transition: left 0.8s ease-in-out;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: #fff;
    z-index: 2;
}

/* Connector Line */
.step-connector {
    position: absolute;
    top: 30%;
    right: -2.5rem;
    width: 3rem;
    height: 4px;
    background: #e2e8f0;
    z-index: 0;
    border-radius: 2px;
    overflow: hidden;
}

.step-card:last-child .step-connector {
    display: none;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #d42b2b, transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.step-card:hover .step-connector::after {
    transform: translateX(100%);
    transition: transform 1s ease;
}

/* Card Image */
.step-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.step-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    transition: opacity 0.3s ease;
}

.step-card:hover .step-card-overlay {
    opacity: 0.8;
}

/* Number Badge */
.step-number-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #d42b2b;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.step-card:hover .step-number-badge {
    transform: scale(1.1) rotate(10deg);
    background: #d42b2b;
    color: #fff;
}

/* Content */
.step-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(212, 43, 43, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #d42b2b;
    transition: all 0.3s ease;
    margin-top: -3rem;
    /* Overlap image */
    position: relative;
    z-index: 2;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step-card:hover .step-icon-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 43, 43, 0.2);
    color: #d42b2b;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 43, 43, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 43, 43, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 43, 43, 0);
    }
}

.step-icon {
    width: 30px;
    height: 30px;
}

.step-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a2e;
}

.step-card-desc {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

/* Reveal Animations */
.reveal-left.active {
    animation: revealLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reveal-up.active {
    animation: revealUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reveal-right.active {
    animation: revealRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes revealLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }

    .step-connector {
        display: none;
        /* Hide horizontal connectors on mobile */
    }

    /* Add vertical connector for mobile if needed, or just stack */
    .step-card::after {
        content: '';
        position: absolute;
        bottom: -3rem;
        left: 50%;
        width: 2px;
        height: 3rem;
        background: #e2e8f0;
        transform: translateX(-50%);
    }

    .step-card:last-child::after {
        display: none;
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .steps {
        padding: 4rem 0;
    }

    .timeline-line {
        left: 30px;
        transform: none;
    }

    .step-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 60px;
        padding-left: 80px;
    }
}

@media (max-width: 1000px) {

    .scrolly-text,
    .step {
        display: none !important;
    }
}

/* Responsive adjustments for Scrollytelling <= 1000px */
@media (max-width: 1000px) {

    .scrolly-text,
    .step {
        display: none !important;
    }

    .scrolly-visual {
        padding-top: 4rem;
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
    }

    .sticky-wrapper {
        position: relative;
        top: 0;
        height: auto;
        display: flex;
        justify-content: center;
    }
}

/* Page Header (Standardized for all pages) */
.page-header {
    padding: 8rem 0 4rem 0;
    background: linear-gradient(90deg, rgb(252, 250, 250) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(235, 211, 0, 0.1) 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(238, 69, 64, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
}

/* Shop Page Styles */
.shop-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    padding: 4rem 0;
}

.sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 0.5rem;
}

.category-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    font-weight: 500;
}

.category-link:hover,
.category-link.active {
    background: #f1f5f9;
    color: #1a1a2e;
    font-weight: 600;
}

.subcategory-list {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 0.25rem;
    display: none;
}

.category-item.expanded .subcategory-list {
    display: block;
}

.subcategory-link {
    display: block;
    padding: 0.35rem 0;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.subcategory-link:hover,
.subcategory-link.active {
    color: #d42b2b;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #64748b;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #1a1a2e;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-info {
    padding: 1.25rem;
}

.product-category-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
    height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d42b2b;
    margin-bottom: 1rem;
}

.btn-primary-small {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.5rem;
}

/* Responsive Styles for Shop */
@media (max-width: 992px) {
    .shop-container {
        grid-template-columns: 220px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .shop-container {
        grid-template-columns: 1fr;
        padding-top: 2rem;
    }

    .sidebar {
        margin-bottom: 2rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    /* Hide search container on mobile devices */
    .search-container {
        display: none;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    background-color: #000;
    margin: 10% auto;
    padding: 0;
    border: none;
    width: 80%;
    max-width: 800px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: visible;
}

.video-modal-close {
    color: #fff;
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.video-modal-close:hover {
    opacity: 1;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-color);
}

/* ============================================
   Cart Page Responsive Styles
   ============================================ */

/* Cart Grid Layout */
.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Cart Items Container */
.cart-items {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cart-items table {
    width: 100%;
    border-collapse: collapse;
}

.cart-items thead tr {
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.cart-items th {
    padding-bottom: 1rem;
    font-weight: 600;
    color: #1a1a2e;
}

.cart-items tbody tr {
    border-bottom: 1px solid #f1f5f9;
}

.cart-items td {
    padding: 1.5rem 0;
}

/* Product Info in Cart */
.cart-product-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-product-info img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-product-details span {
    font-weight: 500;
    display: block;
}

.cart-service-package {
    font-size: 0.85rem;
    color: #64748b;
}

.cart-remove-link {
    color: #ef4444;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 0.25rem;
    display: inline-block;
}

.cart-remove-link:hover {
    text-decoration: underline;
}

/* Quantity Controls */
.cart-quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: fit-content;
}

.cart-quantity-controls a {
    padding: 0.25rem 0.5rem;
    color: #64748b;
    text-decoration: none;
    min-width: 30px;
    text-align: center;
}

.cart-quantity-controls a:hover {
    background: #f1f5f9;
}

.cart-quantity-controls span {
    padding: 0.25rem 0.5rem;
    min-width: 30px;
    text-align: center;
    color: #1a1a2e;
    font-weight: 500;
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: #1a1a2e;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 4rem 0;
}

.empty-cart p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* ============================================
   Responsive Styles - Tablet
   ============================================ */
@media (max-width: 992px) {
    .cart-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 1.5rem;
    }

    .cart-items,
    .cart-summary {
        padding: 1.5rem;
    }

    .cart-items th,
    .cart-items td {
        font-size: 0.9rem;
    }

    .cart-product-info img {
        width: 50px;
        height: 50px;
    }
}

/* ============================================
   Responsive Styles - Mobile
   ============================================ */
@media (max-width: 768px) {

    /* Stack cart items and summary */
    .cart-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Convert table to card layout */
    .cart-items table,
    .cart-items thead,
    .cart-items tbody,
    .cart-items tr,
    .cart-items td {
        display: block;
    }

    /* Hide table headers */
    .cart-items thead {
        display: none;
    }

    /* Style each cart item as a card */
    .cart-items tbody tr {
        background: #f8f9fa;
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 1rem;
        border: 1px solid #e2e8f0;
    }

    .cart-items td {
        padding: 0.5rem 0;
        border: none;
    }

    /* Product info takes full width */
    .cart-items td:first-child {
        margin-bottom: 1rem;
    }

    .cart-product-info {
        flex-direction: row;
        gap: 1rem;
    }

    .cart-product-info img {
        width: 80px;
        height: 80px;
    }

    /* Price, Quantity, Total in mobile layout */
    .cart-items td:nth-child(2)::before {
        content: "Price: ";
        font-weight: 600;
        color: #64748b;
    }

    .cart-items td:nth-child(3) {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .cart-items td:nth-child(3)::before {
        content: "Quantity: ";
        font-weight: 600;
        color: #64748b;
    }

    .cart-items td:nth-child(4) {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1a1a2e;
        margin-top: 0.5rem;
    }

    .cart-items td:nth-child(4)::before {
        content: "Total: ";
        font-weight: 600;
        color: #64748b;
    }

    /* Adjust quantity controls for mobile */
    .cart-quantity-controls {
        flex: 0 0 auto;
    }

    .cart-quantity-controls a,
    .cart-quantity-controls span {
        padding: 0.5rem 0.75rem;
        font-size: 1rem;
    }

    /* Cart summary adjustments */
    .cart-summary {
        position: sticky;
        bottom: 0;
        z-index: 10;
    }
}

/* ============================================
   Responsive Styles - Small Mobile
   ============================================ */
@media (max-width: 480px) {

    .cart-items,
    .cart-summary {
        padding: 1rem;
        border-radius: 12px;
    }

    .cart-product-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-product-info img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    .cart-summary h3 {
        font-size: 1.1rem;
    }

    .empty-cart {
        padding: 2rem 0;
    }

    .empty-cart p {
        font-size: 1rem;
    }
}

/ *   H o w   i t   W o r k s   S e c t i o n   * /     . h o w - i t - w o r k s    {
                 p a d d i n g :    6 r e m   0 ;
                 b a c k g r o u n d - c o l o r :    v a r ( - - w h i t e ) ;
                 t e x t - a l i g n :    c e n t e r ;
         
}

         . h o w - i t - w o r k s   . s e c t i o n - t i t l e    {
                 m a r g i n - b o t t o m :    1 r e m ;
                 c o l o r :    v a r ( - - p r i m a r y - c o l o r ) ;
         
}

         . h o w - i t - w o r k s   . s e c t i o n - d e s c r i p t i o n    {
                 c o l o r :    v a r ( - - t e x t - l i g h t ) ;
                 m a r g i n - b o t t o m :    3 r e m ;
                 f o n t - s i z e :    1 . 1 r e m ;
                 m a x - w i d t h :    8 0 0 p x ;
                 m a r g i n - l e f t :    a u t o ;
                 m a r g i n - r i g h t :    a u t o ;
         
}

         . h o w - i t - w o r k s - c o n t e n t    {
                 d i s p l a y :    f l e x ;
                 j u s t i f y - c o n t e n t :    c e n t e r ;
                 a l i g n - i t e m s :    c e n t e r ;
                 f l e x - d i r e c t i o n :    c o l u m n ;
         
}

         . h o w - i t - w o r k s - v i s u a l    {
                 w i d t h :    1 0 0 % ;
                 m a x - w i d t h :    1 0 0 0 p x ;
                 m a r g i n :    0   a u t o ;
         
}

         . h o w - i t - w o r k s - v i s u a l   i m g    {
                 w i d t h :    1 0 0 % ;
                 h e i g h t :    a u t o ;
                 d i s p l a y :    b l o c k ;
                 b o r d e r - r a d i u s :    8 p x ;
                 / *   O p t i o n a l :    a d d s   s u b t l e   r o u n d i n g   * /             b o x - s h a d o w :   v a r ( - - s h a d o w ) ;
                 / *   O p t i o n a l :    a d d s   d e p t h   * /     
}

         / *   U t i l i t y   f o r   c e n t e r i n g   t e x t   i f   n o t   a l r e a d y   p r e s e n t   * /     . t e x t - c e n t e r    {
                 t e x t - a l i g n :    c e n t e r ;
         
}

         / *   E n s u r e   r e s p o n s i v e   i m a g e s   i f   c l a s s   n o t   f u l l y   d e f i n e d   * /     . i m g - r e s p o n s i v e    {
                 d i s p l a y :    b l o c k ;
                 m a x - w i d t h :    1 0 0 % ;
                 h e i g h t :    a u t o ;
         
}

     / *   F e a t u r e s   a t   a   G l a n c e   S e c t i o n   * /     . f e a t u r e s - g l a n c e    {
                 p a d d i n g :    6 r e m   0 ;
                 b a c k g r o u n d - c o l o r :    # f 8 f 9 f a ;
                 / *   L i g h t   g r e y   b a c k g r o u n d   f o r   c o n t r a s t   * /     
}

         . f e a t u r e s - g l a n c e   . s e c t i o n - t i t l e    {
                 t e x t - a l i g n :    c e n t e r ;
                 m a r g i n - b o t t o m :    4 r e m ;
                 c o l o r :    v a r ( - - p r i m a r y - c o l o r ) ;
                 p o s i t i o n :    r e l a t i v e ;
                 d i s p l a y :    i n l i n e - b l o c k ;
                 w i d t h :    1 0 0 % ;
         
}

         . f e a t u r e s - g l a n c e - g r i d    {
                 d i s p l a y :    g r i d ;
                 g r i d - t e m p l a t e - c o l u m n s :    r e p e a t ( a u t o - f i t ,    m i n m a x ( 3 0 0 p x ,    1 f r ) ) ;
                 g a p :    2 r e m ;
                 p a d d i n g :    0   1 r e m ;
         
}

         . f e a t u r e - i t e m    {
                 b a c k g r o u n d :    v a r ( - - w h i t e ) ;
                 p a d d i n g :    2 . 5 r e m   2 r e m ;
                 b o r d e r - r a d i u s :    1 6 p x ;
                 b o x - s h a d o w :    0   4 p x   6 p x   r g b a ( 0 ,    0 ,    0 ,    0 . 0 5 ) ;
                 / *   S u b t l e   i n i t i a l   s h a d o w   * /             t r a n s i t i o n :    a l l   0 . 4 s   c u b i c - b e z i e r ( 0 . 1 6 5 ,    0 . 8 4 ,    0 . 4 4 ,    1 ) ;
                 / *   S m o o t h   t r a n s i t i o n   * /             b o r d e r :    1 p x   s o l i d   r g b a ( 0 ,    0 ,    0 ,    0 . 0 3 ) ;
                 d i s p l a y :    f l e x ;
                 f l e x - d i r e c t i o n :    c o l u m n ;
                 g a p :    1 r e m ;
                 p o s i t i o n :    r e l a t i v e ;
                 o v e r f l o w :    h i d d e n ;
         
}

         / *   H o v e r   E f f e c t   * /     . f e a t u r e - i t e m : h o v e r    {
                 t r a n s f o r m :    t r a n s l a t e Y ( - 8 p x ) ;
                 b o x - s h a d o w :    0   1 5 p x   3 0 p x   r g b a ( 4 5 ,    2 0 ,    4 4 ,    0 . 1 ) ;
                 / *   D e e p   s h a d o w   u s i n g   p r i m a r y   c o l o r   t i n t   * /             b o r d e r - c o l o r :    t r a n s p a r e n t ;
         
}

         / *   O p t i o n a l :   A d d   a   s t y l i z e d   d e c o r a t i v e   l i n e   o r   d o t   * /     . f e a t u r e - i t e m : : b e f o r e    {
                 c o n t e n t :    ' '  ;
                 p o s i t i o n :    a b s o l u t e ;
                 t o p :    0 ;
                 l e f t :    0 ;
                 w i d t h :    1 0 0 % ;
                 h e i g h t :    4 p x ;
                 b a c k g r o u n d :    l i n e a r - g r a d i e n t ( 9 0 d e g ,    v a r ( - - a c c e n t - c o l o r ) ,    v a r ( - - a c c e n t - s e c o n d a r y ) ) ;
                 t r a n s f o r m :    s c a l e X ( 0 ) ;
                 t r a n s f o r m - o r i g i n :    l e f t ;
                 t r a n s i t i o n :    t r a n s f o r m   0 . 4 s   e a s e ;
         
}

         . f e a t u r e - i t e m : h o v e r : : b e f o r e    {
                 t r a n s f o r m :    s c a l e X ( 1 ) ;
         
}

         . f e a t u r e - i t e m - t i t l e    {
                 f o n t - s i z e :    1 . 2 5 r e m ;
                 f o n t - w e i g h t :    7 0 0 ;
                 c o l o r :    v a r ( - - p r i m a r y - c o l o r ) ;
                 m a r g i n - b o t t o m :    0 . 5 r e m ;
         
}

         . f e a t u r e - i t e m - d e s c r i p t i o n    {
                 c o l o r :    v a r ( - - t e x t - l i g h t ) ;
                 l i n e - h e i g h t :    1 . 6 ;
                 f o n t - s i z e :    0 . 9 5 r e m ;
         
}

         / *   A n i m a t i o n   o n   e n t r y   ( S i m p l e   f a d e   u p )   * /     / *   N o t e :   C o n s i d e r   a d d i n g   a   c l a s s   v i a   J S   f o r   s c r o l l   t r i g g e r i n g ,
   o r   k e e p   s i m p l e   c s s   a n i m a t i o n   * /     @ k e y f r a m e s   f a d e I n U p C a r d    {
                 f r o m    {
                             o p a c i t y :    0 ;
                             t r a n s f o r m :    t r a n s l a t e Y ( 2 0 p x ) ;
                     
    }

                     t o    {
                             o p a c i t y :    1 ;
                             t r a n s f o r m :    t r a n s l a t e Y ( 0 ) ;
                     
    }

         
}

         . f e a t u r e - i t e m    {
                 a n i m a t i o n :    f a d e I n U p C a r d   0 . 6 s   e a s e - o u t   f o r w a r d s ;
                 o p a c i t y :    0 ;
                 / *   I n i t i a l   s t a t e   * /     
}

         / *   S t a g g e r   a n i m a t i o n s   * /     . f e a t u r e - i t e m : n t h - c h i l d ( 1 )    {
                 a n i m a t i o n - d e l a y :    0 . 1 s ;
         
}

         . f e a t u r e - i t e m : n t h - c h i l d ( 2 )    {
                 a n i m a t i o n - d e l a y :    0 . 2 s ;
         
}

         . f e a t u r e - i t e m : n t h - c h i l d ( 3 )    {
                 a n i m a t i o n - d e l a y :    0 . 3 s ;
         
}

         . f e a t u r e - i t e m : n t h - c h i l d ( 4 )    {
                 a n i m a t i o n - d e l a y :    0 . 4 s ;
         
}

         . f e a t u r e - i t e m : n t h - c h i l d ( 5 )    {
                 a n i m a t i o n - d e l a y :    0 . 5 s ;
         
}

         . f e a t u r e - i t e m : n t h - c h i l d ( 6 )    {
                 a n i m a t i o n - d e l a y :    0 . 6 s ;
         
}

         / *   R e s p o n s i v e   A d j u s t m e n t s   * /     @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )    {
                 . f e a t u r e s - g l a n c e    {
                             p a d d i n g :    4 r e m   0 ;
                     
    }

                     . f e a t u r e s - g l a n c e - g r i d    {
                             g r i d - t e m p l a t e - c o l u m n s :    1 f r ;
                             / *   S t a c k   o n   m o b i l e   * /                     g a p :    1 . 5 r e m ;
                     
    }

                     . f e a t u r e - i t e m    {
                             p a d d i n g :    2 r e m   1 . 5 r e m ;
                     
    }

         
}

     /* Detailed Package Card Design */
.package-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.package-card-detailed {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    position: relative;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.free-delivery-tag {
    position: absolute;
    top: 2rem;
    left: -8px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.free-delivery-tag::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    border-top: 8px solid #a31a1a;
    border-left: 8px solid transparent;
}

/* Main Content: Image Left, Info Right */
.package-main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

.package-image-col {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.package-detailed-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.package-card-detailed:hover .package-detailed-img {
    transform: scale(1.02);
}

.package-info-col {
    flex: 1.2;
    min-width: 300px;
    padding-top: 1rem;
}

.package-detailed-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.package-detailed-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.price-currency {
    font-size: 1.2rem;
    margin-top: 6px;
    margin-right: 2px;
}

.package-detailed-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.package-action-form {
    max-width: 300px;
}

/* Tabs Section */
.package-tabs-container {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.package-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    overflow-x: auto;
    padding-bottom: 1px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

/* Box Content List */
.box-items-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.box-items-list li {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-color);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.box-items-list li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: 800;
    margin-right: 10px;
}

/* Tab Info Content */
.tab-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tab-info p {
    margin-bottom: 1.5rem;
    color: color-mix(in srgb, var(--text-color), black 10%);
    max-width: 800px;
}

.tab-info ul {
    list-style: none;
    padding-left: 0;
}

.tab-info ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-light);
}

.tab-info ul li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    line-height: 1;
    top: -2px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
@media (max-width: 768px) {
    .package-card-detailed {
        padding: 1.5rem;
    }

    .package-main-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .package-image-col,
    .package-info-col {
        min-width: 100%;
    }

    .package-detailed-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .package-detailed-price {
        justify-content: center;
    }

    .package-detailed-desc {
        text-align: center;
    }

    .package-action-form {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .free-delivery-tag {
        top: 1rem;
        left: -8px;
        /* Stick with design or adjust */
    }

    .package-tabs {
        justify-content: flex-start;
    }
}
