/* ========================================
   Ceylon Parking - Advanced Professional Design
   ======================================== */

/* ==================== Variables ==================== */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    
    /* Neutrals */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --light: #f8fafc;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.16);
    --shadow-colored: 0 8px 32px rgba(99, 102, 241, 0.25);
    
    /* Effects */
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --blur: blur(20px);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 300px;
}

/* Prevent horizontal overflow */
*, *::before, *::after {
    max-width: 100%;
}

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

/* Ensure text doesn't overflow */
h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== Animated Background ==================== */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background: linear-gradient(135deg, #fdfcfb 0%, #f8f9fa 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    top: -300px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    top: 50%;
    right: -150px;
    animation-delay: 7s;
}

.orb-3 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    bottom: -200px;
    left: 30%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-80px, 80px) scale(0.9);
    }
}

/* ==================== Navigation ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: var(--shadow-colored);
}

.logo-text {
    color: var(--dark);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-nav {
    background: var(--gradient-primary);
    color: white !important;
    padding: 10px 24px !important;
    box-shadow: var(--shadow-colored);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--dark);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-outline-new {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-new:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-primary-new {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-primary-new:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.4);
}

/* ==================== Hero Section ==================== */
.hero {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100); /* Mobile viewport height fix */
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    animation: slideDown 0.8s ease-out;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
    animation: slideUp 0.8s ease-out 0.2s both;
}

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

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 580px;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeIn 1s ease-out 0.8s both;
}

.trust-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-left: -12px;
    box-shadow: var(--shadow-md);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-count {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark);
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
    margin-left: -12px;
    box-shadow: var(--shadow-md);
}

.trust-text {
    line-height: 1.4;
}

.trust-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fbbf24;
    font-weight: 700;
    margin-bottom: 4px;
}

.trust-text p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* ==================== Phone Mockup 3D ==================== */
.hero-visual {
    position: relative;
    animation: slideLeft 1s ease-out 0.4s both;
}

.phone-mockup-3d {
    position: relative;
    perspective: 1000px;
}

.phone-shadow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 50px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    filter: blur(20px);
}

.phone-device {
    width: 320px;
    height: 650px;
    background: var(--dark);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.6s ease;
    animation: phoneFloat 3s ease-in-out infinite;
    margin: 0 auto;
}

.phone-device:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

@keyframes phoneFloat {
    0%, 100% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0);
    }
    50% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(-15px);
    }
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: var(--dark);
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 35px;
    overflow: hidden;
}

.app-screen {
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 16px;
}

.app-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--dark);
}

.status-icons {
    display: flex;
    gap: 6px;
}

.app-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    color: var(--primary);
    font-weight: 700;
}

.app-dashboard {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.card-icon.accent {
    background: rgba(236, 72, 153, 0.1);
    color: var(--accent);
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 11px;
    color: var(--gray);
    font-weight: 500;
}

.card-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.ticket-display {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    margin-top: 8px;
}

.ticket-header {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.ticket-body {
    display: flex;
    gap: 12px;
}

.ticket-qr {
    flex-shrink: 0;
}

.qr-code {
    width: 70px;
    height: 70px;
    background: var(--dark);
    border-radius: 8px;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 8px, white 8px, white 10px),
        repeating-linear-gradient(90deg, transparent, transparent 8px, white 8px, white 10px);
}

.ticket-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}

.detail-row span {
    color: var(--gray);
}

.detail-row strong {
    color: var(--dark);
    font-weight: 700;
}

/* ==================== Floating Cards ==================== */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    animation: cardFloat 3s ease-in-out infinite;
}

.float-card i {
    font-size: 24px;
    color: var(--primary);
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 40%;
    left: -15%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

/* ==================== Hero Wave ==================== */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ==================== Stats Section ==================== */
.stats-section {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: var(--light);
    border-radius: 20px;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: var(--shadow-colored);
}

.stat-content h3 {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 15px;
    color: var(--gray);
    font-weight: 500;
}

/* ==================== Section Styles ==================== */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 20px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==================== Features Section ==================== */
.features {
    background: var(--light);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.feature-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 64px;
    background: white;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 320px;
    padding: 20px;
}

.visual-box {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.3),
                0 10px 20px rgba(139, 92, 246, 0.2);
    animation: floatPulse 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
}

.visual-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 60%
    );
    border-radius: 40px;
}

.visual-box i {
    font-size: 120px;
    color: white;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    animation: iconFloat 3s ease-in-out infinite;
}

.visual-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 35px 70px rgba(99, 102, 241, 0.4),
                0 15px 30px rgba(139, 92, 246, 0.3);
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 25px 50px rgba(99, 102, 241, 0.3),
                    0 10px 20px rgba(139, 92, 246, 0.2);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 35px 70px rgba(99, 102, 241, 0.4),
                    0 15px 30px rgba(139, 92, 246, 0.3);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50%, 100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.feature-content h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.feature-content p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
}

.feature-list i {
    color: var(--success);
    font-size: 18px;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card-modern {
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.feature-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card-modern:hover .feature-card-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.feature-card-modern h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card-modern p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}

/* ==================== How It Works ==================== */
.how-it-works {
    background: white;
}

.steps-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 80px;
    left: 16.66%;
    right: 16.66%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

.step-card {
    position: relative;
    text-align: center;
    padding: 40px 32px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.step-number-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 800;
    box-shadow: var(--shadow-colored);
    border: 5px solid white;
}

.step-icon-box {
    width: 100px;
    height: 100px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 24px;
    color: var(--primary);
    font-size: 40px;
}

.step-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.step-time {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

/* ==================== Pricing Section ==================== */
.pricing {
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
}

.pricing .section-title,
.pricing .section-description {
    color: white;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.toggle-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.toggle-label.active {
    color: white;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 34px;
    transition: var(--transition);
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + label {
    background: var(--primary);
}

.toggle-switch input:checked + label:before {
    transform: translateX(28px);
}

.discount-badge {
    padding: 4px 8px;
    background: var(--accent);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.pricing-card-new {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 48px 40px;
    transition: var(--transition);
    position: relative;
}

.pricing-card-new:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card-new.featured {
    background: white;
    color: var(--dark);
    border: none;
    transform: scale(1.05);
    box-shadow: 0 20px 80px rgba(99, 102, 241, 0.3);
}

.pricing-card-new.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.popular-ribbon {
    position: absolute;
    top: 24px;
    right: -32px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 40px;
    font-weight: 700;
    font-size: 13px;
    transform: rotate(45deg);
    box-shadow: var(--shadow-md);
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.plan-icon {
    width: 72px;
    height: 72px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary);
}

.pricing-card-new.featured .plan-icon {
    background: var(--gradient-primary);
    color: white;
}

.pricing-header h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.plan-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.pricing-card-new.featured .plan-description {
    color: var(--gray);
}

.pricing-price {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card-new.featured .pricing-price {
    border-color: rgba(0, 0, 0, 0.1);
}

.pricing-price .currency {
    font-size: 20px;
    font-weight: 600;
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 56px;
    font-weight: 900;
    margin: 0 4px;
}

.pricing-price .period {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-card-new.featured .pricing-price .period {
    color: var(--gray);
}

.pricing-features-new {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features-new li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
}

.pricing-features-new i {
    color: var(--success);
    font-size: 18px;
}

/* ==================== Testimonials ==================== */
.testimonials {
    background: var(--light);
}

/* Moved to slider.css for slider functionality */
/* .testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
} */

.testimonial-card-new {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.testimonial-rating {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    color: #fbbf24;
    font-size: 18px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar-new {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.author-details p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.company-logo {
    margin-top: 8px;
    color: var(--primary);
    font-size: 16px;
}

/* ==================== CTA Section ==================== */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    color: white;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content > p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

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

.cta-buttons .btn-primary:hover {
    background: var(--light);
}

.cta-buttons .btn-glass {
    color: white;
}

.cta-note {
    font-size: 15px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-visual {
    display: flex;
    justify-content: center;
}

.cta-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cta-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    animation: iconFloat 3s ease-in-out infinite;
}

.cta-icon:nth-child(1) { animation-delay: 0s; }
.cta-icon:nth-child(2) { animation-delay: 0.5s; }
.cta-icon:nth-child(3) { animation-delay: 1s; }
.cta-icon:nth-child(4) { animation-delay: 1.5s; }

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ==================== Contact Section ==================== */
.contact {
    background: white;
}

.contact-wrapper {
    display: grid;
    gap: 64px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    padding: 32px 24px;
    background: var(--light);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: var(--shadow-lg);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    box-shadow: var(--shadow-colored);
}

.contact-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 15px;
    color: var(--gray);
    margin: 6px 0;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.contact-link:hover {
    gap: 12px;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-modern {
    background: var(--light);
    padding: 48px;
    border-radius: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group-modern {
    margin-bottom: 24px;
}

.form-group-modern label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: white;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group-modern textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==================== Footer ==================== */
.footer-modern {
    background: var(--dark);
    color: white;
    padding: 80px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 20px 0 24px;
}

.social-links-modern {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: 20px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.badge-item i {
    color: var(--success);
}

/* ==================== Scroll to Top ==================== */
.scroll-top-modern {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-colored);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top-modern.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.4);
}

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-large {
        grid-template-columns: 1fr;
        padding: 48px;
    }
    
    .feature-visual {
        min-height: 300px;
        justify-content: center;
        margin: 0 auto;
    }
    
    .visual-box {
        width: 260px;
        height: 260px;
    }
    
    .visual-box i {
        font-size: 110px;
    }
    
    .features-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-new.featured {
        transform: scale(1);
    }
    
    /* Moved to slider.css for slider functionality */
    /* .testimonials-slider {
        grid-template-columns: 1fr;
    } */
    
    .cta-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        max-width: 400px;
        height: calc(100vh - 76px);
        background: white;
        flex-direction: column;
        padding: 32px 24px;
        gap: 8px;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(9px, -9px);
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .steps-timeline {
        grid-template-columns: 1fr;
    }
    
    .timeline-line {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .floating-cards .float-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .phone-device {
        width: 280px;
        height: 570px;
    }
    
    .contact-form-modern {
        padding: 32px 24px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .feature-large {
        padding: 32px 24px;
    }
    
    .feature-visual {
        min-height: 250px;
        padding: 15px;
    }
    
    .visual-box {
        width: 220px;
        height: 220px;
        border-radius: 35px;
    }
    
    .visual-box i {
        font-size: 95px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ==================== Extra Small Devices (300px - 380px) ==================== */
@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }
    
    /* Navigation */
    .logo {
        font-size: 18px;
        gap: 8px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .nav-wrapper {
        padding: 16px 0;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 70px;
    }
    
    .hero-content {
        padding: 40px 0;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 8px 14px;
        gap: 6px;
        margin-bottom: 16px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        gap: 8px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    /* Trust Section */
    .avatar,
    .avatar-count {
        width: 36px;
        height: 36px;
        font-size: 11px;
    }
    
    .trust-text p {
        font-size: 12px;
    }
    
    .trust-rating {
        font-size: 12px;
    }
    
    /* Phone Mockup */
    .phone-device {
        width: 240px;
        height: 490px;
        padding: 10px;
        border-radius: 35px;
    }
    
    .phone-screen {
        border-radius: 28px;
    }
    
    .app-screen {
        padding: 12px;
    }
    
    .app-status-bar {
        font-size: 9px;
        padding: 20px 6px 6px;
    }
    
    .app-navbar {
        padding: 12px;
        font-size: 13px;
    }
    
    .dashboard-card {
        padding: 12px;
        gap: 12px;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .card-label {
        font-size: 10px;
    }
    
    .card-value {
        font-size: 16px;
    }
    
    .ticket-display {
        padding: 12px;
    }
    
    .ticket-header {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .qr-code {
        width: 60px;
        height: 60px;
    }
    
    .detail-row {
        font-size: 10px;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-badge {
        font-size: 11px;
        padding: 8px 16px;
        gap: 6px;
        margin-bottom: 16px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .section-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Stats Section */
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-grid {
        gap: 16px;
    }
    
    .stat-box {
        padding: 20px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .stat-content h3 {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    /* Features Section */
    .features-showcase {
        gap: 32px;
    }
    
    .feature-large {
        padding: 24px 16px;
        gap: 32px;
    }
    
    .feature-visual {
        min-height: 220px;
        padding: 10px;
    }
    
    .visual-box {
        width: 180px;
        height: 180px;
        border-radius: 30px;
    }
    
    .visual-box i {
        font-size: 80px;
    }
    
    .visual-box::before,
    .visual-box::after {
        border-radius: 30px;
    }
    
    .feature-content h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .feature-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .feature-list {
        gap: 10px;
    }
    
    .feature-list li {
        font-size: 13px;
        gap: 8px;
    }
    
    .feature-list i {
        font-size: 14px;
    }
    
    .features-grid-modern {
        gap: 20px;
    }
    
    .feature-card-modern {
        padding: 24px 20px;
    }
    
    .feature-card-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .feature-card-modern h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .feature-card-modern p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    /* How It Works */
    .steps-timeline {
        gap: 32px;
    }
    
    .step-card {
        padding: 32px 20px;
    }
    
    .step-number-badge {
        width: 48px;
        height: 48px;
        font-size: 18px;
        border: 3px solid white;
    }
    
    .step-icon-box {
        width: 80px;
        height: 80px;
        font-size: 32px;
        margin: 32px auto 20px;
    }
    
    .step-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .step-card p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .step-time {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    /* Pricing Section */
    .pricing-cards {
        gap: 20px;
    }
    
    .pricing-card-new {
        padding: 32px 20px;
        border-radius: 24px;
    }
    
    .popular-ribbon {
        font-size: 10px;
        padding: 6px 32px;
        top: 20px;
        right: -24px;
    }
    
    .plan-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .pricing-header h3 {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .plan-description {
        font-size: 13px;
    }
    
    .pricing-price {
        margin-bottom: 24px;
        padding-bottom: 24px;
    }
    
    .pricing-price .currency {
        font-size: 16px;
    }
    
    .pricing-price .amount {
        font-size: 40px;
    }
    
    .pricing-price .period {
        font-size: 14px;
    }
    
    .pricing-features-new {
        margin-bottom: 24px;
    }
    
    .pricing-features-new li {
        padding: 10px 0;
        font-size: 13px;
        gap: 10px;
    }
    
    .pricing-features-new i {
        font-size: 14px;
    }
    
    .billing-toggle {
        gap: 12px;
        margin-top: 24px;
        flex-wrap: wrap;
    }
    
    .toggle-label {
        font-size: 13px;
    }
    
    .discount-badge {
        padding: 3px 6px;
        font-size: 10px;
    }
    
    /* Testimonials */
    /* Moved to slider.css for slider functionality */
    /* .testimonials-slider {
        gap: 20px;
    } */
    
    .testimonial-card-new {
        padding: 24px 20px;
    }
    
    .testimonial-rating {
        font-size: 14px;
        gap: 4px;
        margin-bottom: 16px;
    }
    
    .testimonial-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .author-avatar-new {
        width: 44px;
        height: 44px;
    }
    
    .author-details h4 {
        font-size: 15px;
    }
    
    .author-details p {
        font-size: 12px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-box {
        gap: 40px;
    }
    
    .cta-content h2 {
        font-size: 26px;
        margin-bottom: 16px;
    }
    
    .cta-content > p {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .cta-buttons {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .cta-note {
        font-size: 12px;
        gap: 6px;
        text-align: center;
    }
    
    .cta-icon-grid {
        gap: 16px;
    }
    
    .cta-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
        border-radius: 16px;
    }
    
    /* Contact Section */
    .contact-wrapper {
        gap: 40px;
    }
    
    .contact-info-grid {
        gap: 16px;
    }
    
    .contact-card {
        padding: 24px 16px;
    }
    
    .contact-card-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .contact-card h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .contact-card p {
        font-size: 13px;
    }
    
    .contact-link {
        font-size: 12px;
        margin-top: 10px;
    }
    
    .contact-form-modern {
        padding: 24px 16px;
        border-radius: 24px;
    }
    
    .form-row {
        gap: 16px;
    }
    
    .form-group-modern {
        margin-bottom: 16px;
    }
    
    .form-group-modern label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group-modern input,
    .form-group-modern select,
    .form-group-modern textarea {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .form-group-modern textarea {
        min-height: 100px;
    }
    
    /* Footer */
    .footer-modern {
        padding: 40px 0 24px;
    }
    
    .footer-top {
        gap: 32px;
        margin-bottom: 32px;
        padding-bottom: 32px;
    }
    
    .footer-brand p {
        font-size: 14px;
        line-height: 1.6;
        margin: 16px 0 20px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .footer-links {
        gap: 24px;
    }
    
    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .footer-column ul li {
        margin-bottom: 10px;
    }
    
    .footer-column ul li a {
        font-size: 13px;
    }
    
    .footer-bottom {
        gap: 16px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    .footer-badges {
        gap: 12px;
    }
    
    .badge-item {
        font-size: 11px;
        gap: 6px;
    }
    
    /* Scroll to Top */
    .scroll-top-modern {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    /* Mobile Nav Menu Adjustments */
    .nav-menu {
        padding: 24px 16px;
        gap: 6px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .btn-nav {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    /* Optimize animations for performance */
    .gradient-orb {
        opacity: 0.2;
    }
    
    .orb-1, .orb-2, .orb-3 {
        width: 300px;
        height: 300px;
    }
    
    /* Disable complex animations on small devices */
    .phone-device {
        animation: none;
        transform: none !important;
    }
    
    .float-card {
        animation: none;
        position: relative;
        display: none;
    }
    
    /* Simplify hover effects */
    .feature-card-modern:hover,
    .stat-box:hover,
    .pricing-card-new:hover,
    .testimonial-card-new:hover,
    .contact-card:hover {
        transform: translateY(-4px);
    }
}

/* ==================== Minimum Width Support ==================== */
@media (max-width: 320px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .phone-device {
        width: 220px;
        height: 450px;
    }
    
    .feature-visual {
        min-height: 180px;
        padding: 8px;
    }
    
    .visual-box {
        width: 140px;
        height: 140px;
        border-radius: 25px;
    }
    
    .visual-box i {
        font-size: 60px;
    }
    
    .visual-box::before,
    .visual-box::after {
        border-radius: 25px;
    }
    
    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* ==================== Touch-Friendly Improvements ==================== */
@media (max-width: 768px) {
    /* Ensure minimum tap target size of 44x44px for better touch UX */
    .btn,
    .nav-link,
    .nav-toggle,
    .social-icon,
    .contact-link,
    .scroll-top-modern {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better spacing for touch */
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu .nav-link {
        width: 100%;
        justify-content: flex-start;
    }
    
    /* Increase form input sizes for touch */
    .form-group-modern input,
    .form-group-modern select,
    .form-group-modern textarea {
        min-height: 44px;
    }
    
    /* Disable text selection on buttons */
    .btn,
    .nav-link,
    .pricing-card-new,
    .feature-card-modern {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* ==================== Print Styles ==================== */
@media print {
    .navbar,
    .nav-toggle,
    .scroll-top-modern,
    .animated-background,
    .floating-cards {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    section {
        page-break-inside: avoid;
    }
}
