/* 
 * QR Menu Landing Page Styles 
 * Modern, Dark, Animated Theme
 */

:root {
    --bg-color: #0b0b0f;
    --bg-darker: #050507;
    --card-bg: #15151a;
    --primary-color: #ff4d4d;
    /* Reddish Orange Accent */
    --primary-glow: rgba(255, 77, 77, 0.4);
    --secondary-color: #ffffff;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #2a2a30;

    --font-main: 'Outfit', sans-serif;

    --transition: all 0.3s ease;
    --gradient-text: linear-gradient(45deg, #ffffff, #ff4d4d);

    --container-width: 1200px;
    --section-padding: 100px 0;
}

/* Light Mode Variables */
body.light-mode {
    --bg-color: #ffffff;
    --bg-darker: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #2d3436;
    --text-muted: #636e72;
    --border-color: #e9ecef;
    --secondary-color: #2d3436;
    /* Headings become dark */
}

/* Light Mode Specific Overrides */
body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .hero-text p {
    color: #636e72;
}

body.light-mode .feature-card,
body.light-mode .pricing-card,
body.light-mode .testimonial-card,
body.light-mode .glass-card,
body.light-mode .contact-wrapper {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    border-color: #e9ecef;
}

body.light-mode .phone-mockup {
    border-color: #e9ecef;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

body.light-mode .floating-badge {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.05);
    color: #2d3436;
}

body.light-mode .floating-badge span {
    color: #2d3436;
    /* Fix text color in light mode */
}

body.light-mode .step-number {
    color: rgba(0, 0, 0, 0.03);
}

body.light-mode .step-icon {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
}

body.light-mode .nav-links li a {
    color: #2d3436;
}

body.light-mode .nav-links li a:hover {
    color: var(--primary-color);
}

body.light-mode .hamburger .bar {
    background-color: #2d3436;
}

body.light-mode .contact-wrapper {
    background: #ffffff;
}

body.light-mode .personal-card {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
}

body.light-mode .personal-card h3 {
    color: #2d3436;
}

/* Theme Toggle Button */
.theme-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.theme-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: rotate(15deg);
}

body.light-mode .theme-btn {
    border-color: #dfe6e9;
    color: #ffa502;
    /* Sun color */
}

/* Light Mode Text Visibility Fixes */
body.light-mode .text-gradient {
    /* Darker gradient for light mode */
    background: linear-gradient(45deg, #d63031, #2d3436);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5 {
    color: #2d3436;
}

body.light-mode .logo {
    color: #2d3436;
}

body.light-mode .price-amount {
    color: #2d3436;
}

body.light-mode .btn-secondary {
    color: #2d3436;
    border-color: #b2bec3;
}

body.light-mode .btn-secondary:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

body.light-mode .limit-text {
    color: #636e72;
}

body.light-mode .benefit-list li {
    color: #2d3436;
}

/* Fix navbar scroll logic color in JS, but ensure default matches */
body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Buttons */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll from animations */
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    /* Increased for better readability of detailed text */
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-darker {
    background-color: var(--bg-darker);
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: 4.5rem;
    /* Larger hero title */
    margin-bottom: 25px;
    letter-spacing: -2px;
}

h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 25px;
    font-weight: 300;
}

.section-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 77, 77, 0.2);
    border-radius: 30px;
    background: rgba(255, 77, 77, 0.05);
}

/* Buttons */
.btn-primary,
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--primary-color);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px var(--primary-glow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::after,
.btn-submit:hover::after {
    left: 100%;
}

.btn-primary:hover,
.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--primary-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid var(--border-color);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-left: 20px;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 77, 77, 0.05);
}

.btn-primary-sm {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-primary-sm:hover {
    background-color: #ff3333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    background: rgba(11, 11, 15, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.logo .accent {
    color: var(--primary-color);
}

/* Navbar text in light mode */
body.light-mode .nav-links li a {
    color: #2d3436;
}

body.light-mode .nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: 0.3s;
}

.nav-links li a:hover {
    color: white;
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-darker);
        padding: 40px 20px;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 20px;
        display: inline-flex;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .bar {
        width: 30px;
        height: 3px;
        background-color: white;
        margin: 6px 0;
        transition: 0.3s;
        border-radius: 2px;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-secondary {
        margin-left: 0;
        justify-content: center;
    }

    .btn-primary {
        justify-content: center;
    }

    .btn-primary {
        justify-content: center;
    }

    /* Mobile - Theme Toggle specific */
    .theme-btn {
        margin: 0 auto;
        /* Center in mobile menu */
    }
}



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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #b0b0b0;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 77, 77, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.phone-mockup {
    position: relative;
    width: 320px;
    height: 640px;
    background: #050505;
    border-radius: 45px;
    border: 10px solid #2a2a30;
    margin: 0 auto;
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    z-index: 10;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: #111;
    position: relative;
    overflow: hidden;
}

.screen-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.floating-badge {
    position: absolute;
    background: rgba(22, 22, 26, 0.85);
    padding: 18px 28px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
    z-index: 12;
}

.floating-badge i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.floating-badge span {
    font-weight: 600;
    color: white;
    font-size: 1.05rem;
}

.badge-1 {
    top: 15%;
    left: -40px;
}

.badge-2 {
    bottom: 15%;
    right: -40px;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-25px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 35px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 77, 77, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(255, 77, 77, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.feature-card:hover .icon-box {
    background: var(--primary-color);
    transform: rotateY(360deg);
}

.feature-card:hover .icon-box i {
    color: white;
}

.icon-box i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

/* How It Works */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 80px;
    position: relative;
}

.step-item {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 25px;
}

.step-number {
    font-size: 6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    font-family: var(--font-main);
}

.step-icon {
    width: 100px;
    height: 100px;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

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

.step-connector {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin-top: 50px;
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: runLine 3s infinite linear;
    box-shadow: 0 0 15px var(--primary-color);
}

@keyframes runLine {
    0% {
        left: 0;
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .steps-container {
        flex-direction: column;
        gap: 70px;
    }

    .step-connector {
        display: none;
    }
}

/* Benefits Section */
.row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.col-text,
.col-image {
    flex: 1;
}

.benefit-list {
    margin-top: 40px;
}

.benefit-list li {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.benefit-list i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 5px;
    filter: drop-shadow(0 0 10px rgba(255, 77, 77, 0.4));
}

.benefit-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--card-bg), var(--bg-color));
    border-radius: 40px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Stylized visual elements for benefits */
.benefit-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color), transparent);
    opacity: 0.1;
    filter: blur(40px);
}

.bc-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
}

.bc-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: -20px;
}

.glass-card {
    position: absolute;
    background: rgba(22, 22, 26, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 35px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

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

.card-1 {
    top: 30%;
    left: 10%;
    animation: float 5s ease-in-out infinite alternate;
}

.card-2 {
    bottom: 25%;
    right: 15%;
    background: rgba(40, 40, 45, 0.8);
    border-color: rgba(255, 77, 77, 0.3);
    animation: float 7s ease-in-out infinite alternate-reverse;
}

.feature-icon-lg {
    font-size: 3rem;
    color: var(--secondary-color);
}

@media(max-width: 900px) {
    .row {
        flex-direction: column;
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 45px 35px;
    border-radius: 24px;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(255, 77, 77, 0.2);
    margin-bottom: 25px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #cc0000);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

/* Contact */
.contact-wrapper {
    display: flex;
    /* Changed from grid to flex for better centering */
    flex-direction: column;
    align-items: center;
    gap: 50px;
    /* Removed background on wrapper to let section bg show, or keep distinct */
    background: transparent;
    border-radius: 40px;
    overflow: hidden;
    padding: 70px;
    border: 1px solid var(--border-color);
    position: relative;
}

/* Decorative circle in contact form */
.contact-wrapper::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 77, 77, 0.05), transparent);
    pointer-events: none;
}

.contact-info {
    padding-right: 0;
}

.contact-methods {
    margin: 50px 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 1.15rem;
    color: var(--text-color);
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: 0.3s;
    font-size: 1.2rem;
}

.contact-method:hover i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.social-links-lg {
    display: flex;
    gap: 18px;
}

.social-links-lg a {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
    font-size: 1.2rem;
}

.social-links-lg a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media(max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
    }
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -1px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.95rem;
    opacity: 0.6;
}

/* Alternating Content Rows */
.content-row-section {
    padding: 120px 0;
    overflow: hidden;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.content-row:last-child {
    margin-bottom: 0;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.row-text {
    flex: 1;
}

.row-image {
    flex: 1;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.row-image:hover img {
    transform: scale(1.05);
}

@media(max-width: 900px) {

    .content-row,
    .content-row.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }
}

/* --- ANIMATIONS (ENHANCED) --- */

/* Enhanced Animations */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.zoom-in {
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Fade Up */
.fade-in-up {
    transform: translateY(60px);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade Left */
.fade-in-left {
    transform: translateX(-80px);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade Right */
.fade-in-right {
    transform: translateX(80px);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom In */
.zoom-in {
    transform: scale(0.9);
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}


/* Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Enhanced Typography */
.strong-text {
    font-weight: 600;
    color: white;
    /* Default Dark Mode */
}

body.light-mode .strong-text {
    color: #2d3436;
}

/* Social Contact Buttons */
.contact-btn-lg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    border-radius: 20px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.contact-btn-lg i {
    font-size: 2.5rem;
    transition: var(--transition);
}

.contact-btn-lg span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
}

.contact-btn-lg:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.contact-btn-lg:hover span {
    color: white;
}

/* Specific Colors */
.contact-btn-lg.email:hover {
    background: #ea4335;
    border-color: #ea4335;
}

.contact-btn-lg.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.contact-btn-lg.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.contact-btn-lg.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.contact-btn-lg:hover i {
    transform: scale(1.2);
    color: white !important;
}

.contact-btn-lg.email i {
    color: #ea4335;
}

.contact-btn-lg.whatsapp i {
    color: #25d366;
}

.contact-btn-lg.linkedin i {
    color: #0077b5;
}

.contact-btn-lg.instagram i {
    color: #e1306c;
}

/* Reference Cards */
.reference-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    position: relative;
    height: 100%;
}

.reference-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.reference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.reference-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.reference-overlay i {
    font-size: 3rem;
    color: white;
    transform: scale(0.5);
    transition: var(--transition);
}

.reference-content {
    padding: 25px;
}

.reference-cat {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.reference-card h3 {
    margin-bottom: 10px;
    color: white;
}

.reference-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.reference-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.reference-card:hover .reference-image img {
    transform: scale(1.1);
}

.reference-card:hover .reference-overlay {
    opacity: 1;
}

/* --- MOBILE RESPONSIVENESS REFINEMENTS --- */

@media (max-width: 768px) {

    /* General Layout */
    :root {
        --section-padding: 60px 0;
        /* Reduce padding on mobile */
    }

    .container {
        padding: 0 25px;
    }

    /* Typography */
    h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2.2rem;
    }

    p {
        font-size: 1rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 140px;
        padding-bottom: 60px;
        min-height: auto;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
        margin-left: 0;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
        border-width: 8px;
    }

    /* Adjust Floating Badges for Mobile */
    .floating-badge {
        padding: 12px 20px;
    }

    .badge-1 {
        top: 10%;
        left: -10px;
    }

    .badge-2 {
        bottom: 10%;
        right: -10px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Steps */
    .step-item {
        margin-bottom: 40px;
    }

    .step-number {
        font-size: 5rem;
        top: -40px;
    }

    /* Benefits Overlay Images */
    .benefit-image-wrapper {
        height: 350px;
    }

    .glass-card {
        padding: 15px 25px;
    }

    .glass-card span {
        font-size: 0.9rem !important;
    }

    .glass-card span[style*="font-size: 1.5rem"] {
        font-size: 1.2rem !important;
    }

    /* Contact & Profile */
    .contact-wrapper {
        padding: 30px 20px;
    }

    .contact-wrapper h2 {
        font-size: 2rem !important;
    }

    .contact-buttons-grid {
        grid-template-columns: 1fr;
        /* Stack buttons on mobile */
    }

    /* References */
    .reference-image {
        height: 200px;
    }

    /* Animations: Simplify for performance */
    .fade-in-left,
    .fade-in-right {
        transform: translateY(30px);
        /* Convert side animations to simple up fade on mobile to avoid overflow/scroll issues */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .floating-badge {
        display: none;
        /* Hide floating badges on very small screens to focus on content */
    }

    .phone-mockup {
        width: 100%;
        max-width: 280px;
        height: auto;
        aspect-ratio: 9/19;
    }
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    align-items: center;
    /* Center cards vertically so the middle one can pop */
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: rgba(255, 77, 77, 0.03);
    box-shadow: 0 0 30px rgba(255, 77, 77, 0.1);
    transform: scale(1.05);
    /* Make it slightly larger */
    z-index: 2;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

.price-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.limit-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 15px 0 5px;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-note {
    background: rgba(255, 255, 255, 0.05);
    display: inline-block;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.pricing-features {
    flex: 1;
    /* Pushes button to bottom */
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: #ccc;
}

.pricing-features li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.pricing-footer {
    margin-top: 30px;
}

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

/* Mobile Pricing Adjustment */
@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Mobile Adjustments for Premium Look (Appended) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero {
        padding-top: 120px !important;
        padding-bottom: 60px !important;
        text-align: center;
    }

    .hero-content {
        display: flex !important;
        flex-direction: column-reverse !important;
        /* Image FIRST, then element */
        gap: 30px !important;
    }

    /* Override existing grid styles */

    /* Show image first on mobile for impact */
    .hero-image {
        transform: scale(0.9);
        margin-bottom: -20px;
    }

    .phone-mockup {
        height: 480px !important;
        /* Smaller phone graphics */
        width: 240px !important;
    }

    .floating-badge {
        padding: 10px 18px !important;
        /* Compact badges */
    }

    .badge-1 {
        left: -10px !important;
    }

    .badge-2 {
        right: -10px !important;
    }

    .hero-text {
        padding: 0 10px;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2rem !important;
    }

    /* Better spacing for cards */
    .features-grid,
    .testimonials-grid,
    .pricing-grid {
        gap: 20px !important;
    }

    .feature-card,
    .pricing-card,
    .reference-card {
        padding: 25px 20px !important;
    }

    /* Benefits Section Mobile */
    .row {
        gap: 40px !important;
    }

    .benefit-image-wrapper {
        height: 300px !important;
        /* Reduce height */
    }

    .benefit-image-wrapper .glass-card {
        padding: 10px 15px !important;
        display: flex !important;
        /* Restore flex */
    }

    .benefit-image-wrapper .glass-card i {
        font-size: 1.8rem !important;
    }

    .benefit-image-wrapper .glass-card span {
        font-size: 0.8rem !important;
    }

    /* Contact Section Mobile */
    .contact-wrapper {
        padding: 25px 15px !important;
        gap: 30px !important;
    }

    .personal-card {
        padding: 25px 15px !important;
    }

    .contact-wrapper h2 {
        font-size: 2rem !important;
    }
}