/* Clientricks - Premium Landing Page Styles */
/* Developed by Vedatricks Technologies Pvt Ltd */

:root {
    /* Primary Colors - Professional Indigo */
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #6366F1;
    --primary-glow: rgba(79, 70, 229, 0.3);

    /* Secondary Colors */
    --secondary: #1E293B;
    --secondary-dark: #0F172A;

    /* Accent Colors */
    --accent: #3B82F6;
    --accent-light: #60A5FA;

    /* Neutrals */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
    --gradient-secondary: linear-gradient(135deg, #3B82F6 0%, #4F46E5 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.3);

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Utility Classes */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(67, 56, 202, 0.1) 100%);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

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

.section-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--white);
    color: var(--dark);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    font-weight: 600;
    color: var(--gray-700);
    padding: 10px 20px;
}

.btn-login:hover {
    color: var(--primary);
}

.nav-actions .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 160px 0 120px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(79, 70, 229, 0.3);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(67, 56, 202, 0.2);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(6, 182, 212, 0.2);
    top: 40%;
    left: 30%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(67, 56, 202, 0.1) 100%);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--secondary);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 80px rgba(79, 70, 229, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    padding: 20px;
}

.scan-animation {
    position: relative;
    margin-bottom: 20px;
}

.card-preview {
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

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

.card-logo-placeholder {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 10px;
    margin: 0 auto 12px;
}

.card-name {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.card-title {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.card-company {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    color: var(--gray-600);
}

.card-details i {
    color: var(--primary);
    margin-right: 6px;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    animation: scan 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
}

@keyframes scan {
    0%, 100% { top: 0; opacity: 1; }
    50% { top: calc(100% - 3px); opacity: 0.8; }
}

.extracted-data {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.data-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: 10px;
    font-size: 13px;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.data-field:nth-child(1) { animation-delay: 0.2s; }
.data-field:nth-child(2) { animation-delay: 0.4s; }
.data-field:nth-child(3) { animation-delay: 0.6s; }

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

.data-field i:first-child {
    color: var(--primary);
    width: 16px;
}

.data-field span {
    flex: 1;
    color: var(--dark);
    font-weight: 500;
}

.data-field .success {
    color: #10b981;
    font-size: 14px;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

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

.card-1 {
    top: 60px;
    left: -40px;
    animation: floatCard 4s ease-in-out infinite;
}

.card-2 {
    top: 200px;
    right: -60px;
    animation: floatCard 5s ease-in-out infinite reverse;
}

.card-3 {
    bottom: 120px;
    left: -20px;
    animation: floatCard 6s ease-in-out infinite;
}

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

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

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

/* Trusted By Section */
.trusted-by {
    padding: 60px 0;
    background: var(--white);
}

.trusted-label {
    text-align: center;
    font-size: 14px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.logo-carousel {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 60px;
    animation: scroll 20s linear infinite;
}

.company-logo {
    flex-shrink: 0;
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-300);
    opacity: 0.7;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Problem Section */
.problem-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

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

.problem-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.problem-icon i {
    font-size: 24px;
    color: #ef4444;
}

.problem-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

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

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

.feature-card {
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    background: var(--gradient-dark);
    color: var(--white);
}

.feature-card.featured h3,
.feature-card.featured p {
    color: var(--white);
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.1);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(67, 56, 202, 0.1) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.feature-list li i {
    color: #10b981;
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.step-card {
    flex: 1;
    max-width: 340px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-primary);
    font-size: 64px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 30px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 40px rgba(79, 70, 229, 0.3);
}

.step-icon i {
    font-size: 32px;
    color: var(--white);
}

.step-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

.step-visual {
    margin-top: 24px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.mini-card, .camera-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.mini-card {
    background: var(--gray-200);
    color: var(--gray-500);
}

.camera-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.arrow {
    color: var(--gray-400);
}

.extraction-animation {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.extract-line {
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: extract 1.5s ease-in-out infinite;
}

.extract-line:nth-child(1) { width: 80%; animation-delay: 0s; }
.extract-line:nth-child(2) { width: 60%; animation-delay: 0.2s; }
.extract-line:nth-child(3) { width: 70%; animation-delay: 0.4s; }

@keyframes extract {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.save-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #10b981;
}

.save-animation i {
    font-size: 32px;
    animation: pulse 1s ease-in-out infinite;
}

.save-animation span {
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.connector-line {
    width: 40px;
    height: 2px;
    background: var(--gray-200);
}

.connector-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

/* Use Cases Section */
.use-cases {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.use-case-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.use-case-image {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.use-case-image i {
    font-size: 32px;
    color: var(--white);
}

.use-case-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.use-case-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-label {
    font-weight: 500;
    color: var(--gray-400);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-label.active {
    color: var(--dark);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

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

.save-badge {
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(79, 70, 229, 0.05) 100%);
    color: #10b981;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
}

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

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

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

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.plan-header {
    text-align: center;
    margin-bottom: 24px;
}

.plan-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.plan-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.plan-price {
    text-align: center;
    margin-bottom: 32px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-500);
    vertical-align: top;
}

.amount {
    font-family: var(--font-primary);
    font-size: 56px;
    font-weight: 800;
    color: var(--dark);
}

.period {
    font-size: 14px;
    color: var(--gray-500);
}

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

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    width: 20px;
    text-align: center;
}

.plan-features li .fa-check {
    color: #10b981;
}

.plan-features li.disabled {
    color: var(--gray-400);
}

.plan-features li.disabled i {
    color: var(--gray-300);
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    background: var(--gray-100);
    color: var(--dark);
    transition: var(--transition);
}

.btn-plan:hover {
    background: var(--gray-200);
}

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

.btn-plan-primary:hover {
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
}

.pricing-note {
    text-align: center;
    margin-top: 48px;
    font-size: 14px;
    color: var(--gray-500);
}

.pricing-note i {
    color: #10b981;
    margin-right: 8px;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #fbbf24;
    font-size: 16px;
}

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

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 16px;
}

.author-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 13px;
    color: var(--gray-500);
}

/* FAQ Section */
.faq {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: var(--transition);
    color: var(--gray-400);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

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

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

.cta-content {
    position: relative;
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

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

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--dark);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

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

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

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

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 24px;
}

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

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

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--dark-light);
    text-align: center;
    font-size: 14px;
}

.footer-bottom strong {
    color: var(--primary-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .floating-cards {
        display: none;
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: 0;
        margin: 20px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.popular {
        transform: none;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .phone-frame {
        width: 280px;
        height: 560px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .problem-grid,
    .features-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.featured {
        grid-column: span 1;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Mobile menu slide-in */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 24px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        display: flex !important;
    }

    .nav-links.active {
        right: 0;
    }

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

    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--gray-100);
    }

    /* Mobile menu button animation */
    .mobile-menu-btn {
        z-index: 1001;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Mobile nav actions */
    .nav-actions {
        display: none;
    }

    .nav-links.active + .nav-actions,
    .nav-links.active ~ .nav-actions {
        display: flex;
        flex-direction: column;
        position: fixed;
        bottom: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        background: var(--white);
        padding: 20px 24px;
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--gray-100);
        gap: 12px;
        z-index: 999;
    }

    .nav-links.active + .nav-actions .btn-login,
    .nav-links.active + .nav-actions .btn-primary {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    /* Touch-friendly buttons */
    .btn-primary,
    .btn-secondary {
        min-height: 48px;
        padding: 14px 24px;
    }

    .btn-large {
        min-height: 54px;
        padding: 16px 28px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .problem-card,
    .feature-card,
    .pricing-card {
        padding: 24px;
    }

    /* Touch-friendly FAQ */
    .faq-question {
        padding: 20px;
        min-height: 60px;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }

    /* Pricing cards mobile */
    .pricing-card.featured {
        transform: none;
        margin: 20px 0;
    }
}

/* iOS Safe Area */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }
}

/* Disable text selection on interactive elements */
.btn-primary,
.btn-secondary,
.btn-login,
.mobile-menu-btn,
.nav-links a,
.faq-question {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
