/* ========================================
   WebDesign by Tomi - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0f172a;
    --accent: #22d3ee;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-accent: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 800px;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--gray-100);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.text-danger {
    color: var(--danger);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow), 0 0 0 0 rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
}

.navbar:not(.scrolled) .logo {
    color: white;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.5rem;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.navbar:not(.scrolled) .nav-links a:hover {
    color: white;
}

.nav-cta {
    padding: 0.625rem 1.25rem !important;
    background: var(--gradient-primary);
    color: white !important;
    border-radius: var(--radius-md);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Language Toggle */
.lang-toggle {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    margin-left: 0.5rem;
}

.lang-toggle:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-800);
}

/* Mobile language toggle - visible on mobile only */
.mobile-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.lang-toggle-mobile {
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.navbar:not(.scrolled) .lang-toggle-mobile {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.navbar:not(.scrolled) .lang-toggle-mobile:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

@media (max-width: 768px) {
    .mobile-actions {
        display: flex;
    }
}

.navbar:not(.scrolled) .lang-toggle {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.navbar:not(.scrolled) .lang-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition);
}

.navbar:not(.scrolled) .mobile-toggle span {
    background: white;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.browser-mockup {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

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

.browser-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #22c55e; }

.browser-url {
    flex: 1;
    background: white;
    padding: 0.375rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.browser-content {
    padding: 1.5rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
    min-height: 300px;
}

.mockup-hero {
    margin-bottom: 1.5rem;
}

.mockup-nav {
    height: 8px;
    width: 60%;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
}

.mockup-headline {
    height: 24px;
    width: 80%;
    background: var(--gray-300);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
}

.mockup-subline {
    height: 12px;
    width: 60%;
    background: var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.mockup-cta {
    height: 36px;
    width: 120px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
}

.mockup-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mockup-card {
    height: 80px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* Floating Cards */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.card-icon {
    font-size: 1.25rem;
}

.card-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
}

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

.card-2 {
    bottom: 30%;
    left: -30px;
    animation-delay: 1s;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* Problem/Solution Section */
.problem-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    position: relative;
}

.problem-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.problem-section .container {
    position: relative;
    z-index: 1;
}

.problem-section .section-title {
    color: white;
}

.problem-section .text-danger {
    color: #f87171;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.25rem;
}

.problem-item {
    display: flex;
    gap: 0.875rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #f87171;
}

.problem-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
    border-radius: var(--radius);
    font-weight: 700;
    flex-shrink: 0;
}

.problem-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: white;
}

.problem-item p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.solution-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow);
    border: 2px solid rgba(99, 102, 241, 0.3);
    position: sticky;
    top: 100px;
}

.solution-header {
    margin-bottom: 2rem;
}

.solution-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.solution-header h3 {
    font-size: 1.5rem;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.solution-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    color: white;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 700;
}

.solution-feature span {
    font-weight: 500;
    color: var(--gray-700);
}

/* Portfolio Section */
.portfolio-section {
    padding: 50px 0 40px;
    background: linear-gradient(180deg, var(--gray-50) 0%, white 50%, var(--gray-50) 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--gray-100);
    transition: transform var(--transition-slow);
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.portfolio-item.large .portfolio-image {
    aspect-ratio: 16/9;
}

.portfolio-mockup {
    width: 100%;
    height: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

/* Portfolio Mockup Styles */
.mock-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.mock-nav .mock-logo {
    width: 60px;
    height: 12px;
    background: var(--gray-400);
    border-radius: var(--radius);
}

.mock-nav .mock-links {
    width: 120px;
    height: 8px;
    background: var(--gray-300);
    border-radius: var(--radius);
}

.mock-nav.dark {
    background: var(--gray-800);
}

.mock-nav.dark .mock-logo {
    background: white;
}

.mock-nav.dark .mock-links {
    background: var(--gray-600);
}

/* Restaurant Mockup */
.mockup-restaurant {
    background: linear-gradient(180deg, #fef3c7 0%, #fffbeb 100%);
}

.mockup-restaurant .mock-hero-img {
    height: 40%;
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.mockup-restaurant .mock-content {
    padding: 1rem;
}

.mockup-restaurant .mock-title {
    height: 16px;
    width: 70%;
    background: var(--gray-700);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.mockup-restaurant .mock-text {
    height: 8px;
    width: 90%;
    background: var(--gray-300);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.mockup-restaurant .mock-btn {
    height: 28px;
    width: 100px;
    background: #d97706;
    border-radius: var(--radius);
}

/* Fitness Mockup */
.mockup-fitness {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.mockup-fitness .mock-hero-split {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    flex: 1;
}

.mockup-fitness .mock-hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mockup-fitness .mock-hero-text .mock-title {
    height: 14px;
    width: 80%;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.mockup-fitness .mock-hero-text .mock-text {
    height: 6px;
    width: 60%;
    background: var(--gray-500);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.mockup-fitness .mock-btn.accent {
    height: 24px;
    width: 70px;
    background: var(--success);
    border-radius: var(--radius);
}

.mockup-fitness .mock-hero-image {
    flex: 1;
    background: linear-gradient(135deg, #22d3ee 0%, #10b981 100%);
    border-radius: var(--radius-lg);
}

/* Agency Mockup */
.mockup-agency {
    background: white;
}

.mockup-agency .mock-minimal-nav {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.mockup-agency .mock-logo {
    width: 40px;
    height: 10px;
    background: var(--gray-800);
    border-radius: var(--radius);
}

.mockup-agency .mock-menu-icon {
    width: 20px;
    height: 10px;
    background: var(--gray-400);
    border-radius: var(--radius);
}

.mockup-agency .mock-big-text {
    height: 40px;
    width: 60%;
    background: var(--gray-800);
    border-radius: var(--radius);
    margin: 2rem auto;
}

.mockup-agency .mock-scroll-indicator {
    width: 20px;
    height: 40px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-full);
    margin: 0 auto;
}

/* E-commerce Mockup */
.mockup-ecommerce {
    background: #fafafa;
}

.mockup-ecommerce .mock-cart {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: var(--radius);
}

.mockup-ecommerce .mock-products {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
}

.mockup-ecommerce .mock-product {
    flex: 1;
    aspect-ratio: 3/4;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* SaaS Mockup */
.mockup-saas {
    background: var(--gray-50);
}

.mockup-saas .mock-nav.light {
    background: white;
    border-bottom: 1px solid var(--gray-200);
}

.mockup-saas .mock-btn.small {
    width: 60px;
    height: 20px;
    background: var(--primary);
    border-radius: var(--radius);
}

.mockup-saas .mock-dashboard {
    display: flex;
    padding: 0.5rem;
    gap: 0.5rem;
    flex: 1;
}

.mockup-saas .mock-sidebar {
    width: 40px;
    background: var(--gray-800);
    border-radius: var(--radius);
}

.mockup-saas .mock-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-saas .mock-chart {
    flex: 2;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.mockup-saas .mock-stats {
    flex: 1;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* Lawyer Mockup */
.mockup-lawyer {
    background: #1a1a2e;
}

.mockup-lawyer .mock-nav.elegant {
    background: transparent;
}

.mockup-lawyer .mock-nav.elegant .mock-logo {
    background: #d4af37;
}

.mockup-lawyer .mock-nav.elegant .mock-links {
    background: rgba(255, 255, 255, 0.3);
}

.mockup-lawyer .mock-hero-elegant {
    padding: 2rem;
    text-align: center;
}

.mockup-lawyer .mock-title.large {
    height: 20px;
    width: 70%;
    background: white;
    border-radius: var(--radius);
    margin: 0 auto 1rem;
}

.mockup-lawyer .mock-divider {
    width: 60px;
    height: 2px;
    background: #d4af37;
    margin: 0 auto 1rem;
}

.mockup-lawyer .mock-text {
    height: 8px;
    width: 50%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    margin: 0 auto;
}

/* Portfolio Info */
.portfolio-info {
    padding: 1.5rem;
}

.portfolio-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tags span {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.portfolio-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.portfolio-cta p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

/* Process Section */
.process-section {
    padding: 50px 0;
    background: var(--gradient-dark);
    color: white;
}

.process-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.process-section .section-title {
    color: white;
}

.process-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    max-width: none;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.process-step {
    position: relative;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.step-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.step-content h3 {
    font-size: 1.125rem;
    color: white;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

/* New Process Timeline */
.process-timeline-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 2rem;
    position: relative;
}

.process-step-new {
    position: relative;
    text-align: center;
    padding: 0 1rem;
}

.step-icon-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.step-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.step-number-badge {
    position: absolute;
    top: -5px;
    right: calc(50% - 45px);
    width: 24px;
    height: 24px;
    background: #22d3ee;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.step-connector {
    position: absolute;
    top: 35px;
    left: calc(50% + 40px);
    width: calc(100% - 30px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(99, 102, 241, 0.3) 100%);
    z-index: 1;
}

.process-step-new:last-child .step-connector {
    display: none;
}

.process-step-new h3 {
    font-size: 1.125rem;
    color: white;
    margin-bottom: 0.5rem;
}

.process-step-new p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.step-time-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.step-time-badge.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

@media (max-width: 900px) {
    .process-timeline-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .step-connector {
        display: none;
    }
}

@media (max-width: 500px) {
    .process-timeline-new {
        grid-template-columns: 1fr;
    }
}

.step-time {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* Pricing Section */
.pricing-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.pricing-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-section .container {
    position: relative;
    z-index: 1;
}

.pricing-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

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

.pricing-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all var(--transition);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow), 0 30px 60px -12px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
    background: white;
}

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

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.pricing-desc {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-top: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.price-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.pricing-features {
    margin-bottom: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.8125rem;
    color: var(--gray-600);
}

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

.pricing-features .check {
    color: var(--success);
    font-weight: 700;
}

/* Custom Pricing */
.custom-pricing {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.custom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.custom-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: white;
}

.custom-text p {
    color: rgba(255, 255, 255, 0.6);
    max-width: none;
}

/* Guarantee Box */
.guarantee-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(34, 211, 238, 0.15) 100%);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-xl);
}

.guarantee-icon {
    font-size: 2rem;
}

.guarantee-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.125rem;
    color: white;
}

.guarantee-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

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

.testimonial-rating {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.0625rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

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

.author-info strong {
    color: var(--gray-900);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* FAQ Section */
.faq-section {
    padding: 50px 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, white 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: 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    transition: color var(--transition);
}

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

.faq-icon {
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* Contact Section */
.contact-section {
    padding: 50px 0;
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-content .section-title {
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.benefit-icon {
    font-size: 1.5rem;
}

.benefit-item strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.benefit-item p {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

.contact-direct {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.contact-direct p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.contact-email {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-email:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 1rem;
}

.form-success {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
}

.form-success.show {
    display: flex;
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    color: white;
    font-size: 2rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray-500);
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: var(--gradient-dark);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-800);
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    gap: 6rem;
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-column a {
    display: block;
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: white;
}

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

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: white;
}

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

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

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

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

    .hero-visual {
        display: none;
    }

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

    .solution-card {
        position: static;
    }

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

    .portfolio-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 4rem;
    }

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

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

    .custom-content {
        flex-direction: column;
        text-align: center;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        flex-direction: column;
        background: white;
        padding: 100px 2rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-slow);
        gap: 1rem;
    }

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

    .nav-links a {
        color: var(--gray-700) !important;
        font-size: 1.125rem;
        padding: 0.75rem 0;
    }

    .nav-cta {
        margin-top: 1rem;
    }

    .mobile-toggle {
        display: flex;
    }

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

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

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .portfolio-item.large {
        grid-column: span 1;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .problem-item {
        flex-direction: column;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   NEW SECTIONS - Research-Based Improvements
   ======================================== */

/* Trusted By Section */
.trusted-section {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid var(--gray-100);
}

.trusted-label {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.logo-item {
    opacity: 0.6;
    transition: opacity var(--transition);
}

.logo-item:hover {
    opacity: 1;
}

.fake-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-500);
    white-space: nowrap;
}

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

/* Payment Plan Badge */
.payment-plan {
    display: block;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Comparison Note */
.comparison-note {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.comparison-note p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    max-width: none;
    margin: 0;
}

.comparison-note strong {
    color: white;
}

/* Results highlight in portfolio */
.portfolio-info p strong {
    color: var(--success);
}

/* Urgency Badge Animation */
.hero-badge {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .trusted-logos {
        gap: 2rem;
    }

    .fake-logo {
        font-size: 1rem;
    }

    .comparison-note {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .payment-plan {
        font-size: 0.6875rem;
    }
}

/* ========================================
   NEW PORTFOLIO - Realistic Website Previews
   ======================================== */

.portfolio-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition-slow);
}

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

.portfolio-preview {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-100);
}

.preview-site {
    width: 100%;
    height: 100%;
    font-size: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Preview Navigation */
.prev-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 1.5em;
    background: white;
    border-bottom: 1px solid #eee;
}

.prev-nav.dark {
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
}

.prev-nav.light {
    background: #fafafa;
}

.prev-nav.minimal {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.prev-nav.elegant {
    background: #1a1a2e;
    border-bottom: 1px solid #2a2a4e;
}

.prev-logo {
    font-weight: 700;
    font-size: 1.4em;
    color: #333;
}

.prev-nav.dark .prev-logo {
    color: white;
}

.prev-nav.elegant .prev-logo {
    color: #d4af37;
    letter-spacing: 0.1em;
}

.prev-links {
    display: flex;
    gap: 1.5em;
    font-size: 1em;
    color: #666;
}

.prev-nav.dark .prev-links {
    color: rgba(255,255,255,0.7);
}

.prev-nav.elegant .prev-links {
    color: rgba(255,255,255,0.6);
}

.prev-cta-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.6em 1.2em;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 600;
}

.prev-cta-btn.small {
    padding: 0.4em 0.8em;
    font-size: 0.9em;
}

.cart-icon {
    font-size: 1.2em;
}

.menu-icon {
    font-size: 1.4em;
    color: #333;
}

/* Restaurant Preview */
.restaurant-preview {
    background: #fffbf5;
}

.restaurant-preview .prev-hero {
    flex: 1;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2em;
}

.restaurant-preview .prev-hero-content h3 {
    color: white;
    font-size: 2em;
    margin-bottom: 0.3em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.restaurant-preview .prev-hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2em;
    margin-bottom: 1em;
}

.restaurant-preview .prev-hero-content button {
    background: white;
    color: #8B4513;
    border: none;
    padding: 0.8em 1.6em;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1em;
}

.restaurant-preview .prev-section {
    padding: 1.5em;
    background: white;
}

.restaurant-preview .prev-cards {
    display: flex;
    gap: 1em;
    justify-content: center;
}

.prev-menu-item {
    text-align: center;
}

.prev-menu-item .menu-img {
    width: 5em;
    height: 5em;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 50%;
    margin-bottom: 0.5em;
}

.prev-menu-item span {
    font-size: 1em;
    color: #666;
}

/* Gym Preview */
.gym-preview {
    background: #0f172a;
}

.gym-preview .prev-hero {
    flex: 1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    display: flex;
    padding: 2em;
    align-items: center;
}

.gym-preview .prev-hero-content {
    flex: 1;
}

.gym-preview .prev-hero-content h3 {
    color: white;
    font-size: 2.2em;
    font-weight: 900;
    margin-bottom: 0.3em;
    letter-spacing: 0.05em;
}

.gym-preview .prev-hero-content p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1em;
    margin-bottom: 1em;
}

.gym-preview .prev-hero-content button {
    background: linear-gradient(135deg, #22d3ee 0%, #10b981 100%);
    color: white;
    border: none;
    padding: 0.8em 1.6em;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1em;
}

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

.gym-stat {
    background: rgba(255,255,255,0.1);
    padding: 1.5em;
    border-radius: 8px;
    text-align: center;
}

.gym-stat .stat-num {
    display: block;
    font-size: 2.5em;
    font-weight: 900;
    color: #22d3ee;
}

.gym-stat span:last-child {
    color: rgba(255,255,255,0.6);
    font-size: 1em;
}

.prev-features {
    display: flex;
    gap: 1em;
    padding: 1em 1.5em;
    background: #1e293b;
}

.feature-box {
    flex: 1;
    background: rgba(255,255,255,0.05);
    padding: 1em;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.feat-icon {
    font-size: 1.5em;
}

.feature-box span:last-child {
    color: rgba(255,255,255,0.8);
    font-size: 0.9em;
}

/* SaaS Preview */
.saas-preview {
    background: #fafafa;
}

.saas-preview .prev-hero {
    padding: 2em;
    text-align: center;
    background: white;
}

.prev-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.3em 0.8em;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 0.8em;
}

.saas-preview .prev-hero-content h3 {
    font-size: 2em;
    color: #1e293b;
    margin-bottom: 0.3em;
}

.saas-preview .prev-hero-content p {
    color: #64748b;
    font-size: 1.1em;
    margin-bottom: 1em;
}

.prev-btns {
    display: flex;
    gap: 0.8em;
    justify-content: center;
}

.prev-btns button.primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.7em 1.4em;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9em;
}

.prev-btns button.secondary {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    padding: 0.7em 1.4em;
    border-radius: 6px;
    font-size: 0.9em;
}

.prev-dashboard {
    display: flex;
    margin: 0 1em 1em;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 8em;
}

.dash-sidebar {
    width: 3em;
    background: #1e293b;
}

.dash-main {
    flex: 1;
    padding: 0.8em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.dash-chart {
    flex: 1;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.2) 20%,
        rgba(99, 102, 241, 0.4) 40%,
        rgba(99, 102, 241, 0.3) 60%,
        rgba(99, 102, 241, 0.5) 80%,
        rgba(99, 102, 241, 0.2) 100%);
    border-radius: 4px;
    position: relative;
}

.dash-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.3) 100%);
    border-radius: 4px;
}

.dash-metrics {
    display: flex;
    gap: 0.5em;
}

.metric {
    flex: 1;
    background: #f1f5f9;
    padding: 0.5em;
    border-radius: 4px;
    text-align: center;
    font-weight: 700;
    color: #10b981;
    font-size: 1.1em;
}

/* Shop Preview */
.shop-preview {
    background: #fafafa;
}

.shop-hero {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    padding: 2em;
    text-align: center;
}

.shop-tag {
    display: inline-block;
    background: white;
    padding: 0.3em 0.8em;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 0.5em;
}

.shop-hero h3 {
    font-size: 2em;
    color: #1e293b;
    margin-bottom: 0.5em;
}

.shop-hero button {
    background: #1e293b;
    color: white;
    border: none;
    padding: 0.7em 1.4em;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1em;
}

.shop-products {
    display: flex;
    gap: 0.8em;
    padding: 1em;
    background: white;
}

.product-card {
    flex: 1;
    text-align: center;
}

.product-img {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 6px;
    margin-bottom: 0.5em;
}

.product-name {
    display: block;
    font-size: 0.9em;
    color: #333;
}

.product-price {
    font-weight: 700;
    color: #1e293b;
    font-size: 1em;
}

/* Agency Preview */
.agency-preview {
    background: #fafafa;
    position: relative;
}

.agency-preview .prev-nav.minimal .prev-logo {
    color: #1e293b;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.agency-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3em 2em;
    text-align: center;
}

.agency-hero h2 {
    font-size: 2.5em;
    font-weight: 300;
    color: #1e293b;
    line-height: 1.2;
}

.agency-hero h2 span {
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.agency-scroll {
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

.agency-scroll span {
    font-size: 0.9em;
    color: #94a3b8;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 3em;
    background: linear-gradient(180deg, #94a3b8 0%, transparent 100%);
}

.agency-work {
    display: flex;
    gap: 0.5em;
    padding: 0 1em 1em;
}

.work-item {
    flex: 1;
    height: 4em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
}

.work-item:last-child {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Law Firm Preview */
.law-preview {
    background: #1a1a2e;
}

.law-hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2em;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.law-tag {
    display: block;
    color: #d4af37;
    font-size: 0.9em;
    letter-spacing: 0.2em;
    margin-bottom: 0.5em;
}

.law-hero-content h3 {
    color: white;
    font-size: 2em;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 0.5em;
}

.law-divider {
    width: 4em;
    height: 2px;
    background: #d4af37;
    margin: 0 auto 0.5em;
}

.law-hero-content p {
    color: rgba(255,255,255,0.6);
    font-size: 1em;
    margin-bottom: 1em;
}

.law-hero-content button {
    background: #d4af37;
    color: #1a1a2e;
    border: none;
    padding: 0.7em 1.4em;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.9em;
    letter-spacing: 0.05em;
}

.law-services {
    display: flex;
    background: #16213e;
}

.law-service {
    flex: 1;
    padding: 1em;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9em;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.law-service:last-child {
    border-right: none;
}

/* Portfolio Details */
.portfolio-details {
    padding: 1.5rem;
}

.portfolio-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.portfolio-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.portfolio-details p {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

.portfolio-details strong {
    color: var(--success);
}

/* ========================================
   REAL PROJECT PREVIEWS
   ======================================== */

/* Prati.hr - GPS Tracking */
.prati-preview {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.prati-hero {
    display: flex;
    padding: 1.5em;
    gap: 1em;
    flex: 1;
}

.prati-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prati-badge {
    display: inline-block;
    background: rgba(34, 211, 238, 0.2);
    color: #22d3ee;
    padding: 0.3em 0.8em;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 0.8em;
    width: fit-content;
}

.prati-hero-content h3 {
    color: white;
    font-size: 1.6em;
    margin-bottom: 0.3em;
    line-height: 1.2;
}

.prati-hero-content p {
    color: rgba(255,255,255,0.6);
    font-size: 1em;
    margin-bottom: 1em;
}

.prati-hero-content button {
    background: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
    color: white;
    border: none;
    padding: 0.7em 1.4em;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9em;
    width: fit-content;
}

.prati-visual {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prati-map {
    width: 100%;
    height: 8em;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2744 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.prati-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(34, 211, 238, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(34, 211, 238, 0.1) 1px, transparent 1px);
    background-size: 2em 2em;
}

.map-marker {
    position: absolute;
    width: 1.5em;
    height: 1.5em;
    background: #22d3ee;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    top: 20%;
    left: 30%;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.map-marker.m2 {
    top: 50%;
    left: 60%;
    background: #6366f1;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.map-route {
    position: absolute;
    top: 35%;
    left: 35%;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, #22d3ee, #6366f1);
    transform: rotate(30deg);
}

.prati-features {
    display: flex;
    background: #0f172a;
    padding: 1em;
    gap: 0.5em;
}

.prati-feat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5em;
    background: rgba(255,255,255,0.05);
    padding: 0.8em;
    border-radius: 6px;
}

.prati-feat span:first-child {
    font-size: 1.3em;
}

.prati-feat span:last-child {
    color: rgba(255,255,255,0.8);
    font-size: 0.85em;
}

/* Kreator Sjećanja - Memorial Service */
.kreator-preview {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.kreator-nav {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.kreator-nav .prev-logo {
    color: white;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.kreator-nav .prev-links {
    color: rgba(255,255,255,0.5);
}

.kreator-hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em;
    text-align: center;
}

.kreator-icon {
    font-size: 3em;
    margin-bottom: 0.3em;
}

.kreator-hero-content h3 {
    color: white;
    font-size: 1.8em;
    font-weight: 300;
    margin-bottom: 0.3em;
}

.kreator-hero-content p {
    color: rgba(255,255,255,0.5);
    font-size: 1em;
    margin-bottom: 1em;
}

.kreator-hero-content button {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.7em 1.4em;
    border-radius: 4px;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.kreator-cards {
    display: flex;
    gap: 0.8em;
    padding: 1em;
    background: rgba(0,0,0,0.2);
}

.kreator-card {
    flex: 1;
    text-align: center;
}

.kreator-card-img {
    height: 4em;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 6px;
    margin-bottom: 0.5em;
}

.kreator-card span {
    font-size: 0.85em;
    color: rgba(255,255,255,0.6);
}

/* MPROD-CNC - Manufacturing */
.mprod-preview {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.mprod-nav {
    background: rgba(0,0,0,0.3) !important;
}

.mprod-hero {
    display: flex;
    padding: 1.5em;
    gap: 1em;
    flex: 1;
}

.mprod-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mprod-hero-content h3 {
    color: white;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 0.3em;
}

.mprod-hero-content p {
    color: rgba(255,255,255,0.6);
    font-size: 1em;
    margin-bottom: 1em;
}

.mprod-hero-content button {
    background: #f59e0b;
    color: #0f172a;
    border: none;
    padding: 0.7em 1.4em;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9em;
    width: fit-content;
}

.mprod-visual {
    flex: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cnc-machine {
    width: 8em;
    height: 6em;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.cnc-machine::before {
    content: '';
    position: absolute;
    top: 0.5em;
    left: 0.5em;
    right: 0.5em;
    height: 2em;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 3px;
}

.cnc-part {
    position: absolute;
    bottom: 1em;
    left: 50%;
    transform: translateX(-50%);
    width: 3em;
    height: 2em;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 2px;
}

.cnc-tool {
    position: absolute;
    top: 1.5em;
    left: 50%;
    transform: translateX(-50%);
    width: 0.5em;
    height: 2em;
    background: #f59e0b;
    border-radius: 1px;
}

.mprod-services {
    display: flex;
    background: rgba(0,0,0,0.3);
    padding: 1em;
    gap: 0.8em;
}

.mprod-service {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5em;
    background: rgba(255,255,255,0.05);
    padding: 0.8em;
    border-radius: 4px;
    border-left: 2px solid #f59e0b;
}

.mprod-service span:first-child {
    font-size: 1.3em;
}

.mprod-service span:last-child {
    color: rgba(255,255,255,0.8);
    font-size: 0.85em;
}

/* EWC Portal - Web Application */
.ewc-preview {
    background: #f8fafc;
}

.ewc-nav {
    background: white !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.ewc-dashboard {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.ewc-sidebar {
    width: 4em;
    background: #1e293b;
    padding: 1em 0.5em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.ewc-menu-item {
    height: 2.5em;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.ewc-menu-item.active {
    background: rgba(99, 102, 241, 0.5);
    border-left: 2px solid #6366f1;
}

.ewc-main {
    flex: 1;
    padding: 1em;
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}

.ewc-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ewc-title-bar {
    width: 8em;
    height: 1.5em;
    background: #e2e8f0;
    border-radius: 4px;
}

.ewc-filters {
    width: 5em;
    height: 1.5em;
    background: #e2e8f0;
    border-radius: 4px;
}

.ewc-stats {
    display: flex;
    gap: 0.5em;
}

.ewc-stat-card {
    flex: 1;
    background: white;
    padding: 0.8em;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.ewc-stat-num {
    display: block;
    font-size: 1.4em;
    font-weight: 700;
    color: #6366f1;
}

.ewc-stat-card span:last-child {
    font-size: 0.75em;
    color: #64748b;
}

.ewc-chart {
    flex: 1;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    min-height: 4em;
}

.ewc-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(90deg,
        rgba(99, 102, 241, 0.3) 0%,
        rgba(99, 102, 241, 0.5) 20%,
        rgba(99, 102, 241, 0.4) 40%,
        rgba(99, 102, 241, 0.6) 60%,
        rgba(99, 102, 241, 0.3) 80%,
        rgba(99, 102, 241, 0.5) 100%
    );
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .portfolio-grid-new {
        grid-template-columns: 1fr;
    }

    .preview-site {
        font-size: 10px;
    }
}

/* ========================================
   PAYMENT MODAL
   ======================================== */

.payment-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.payment-modal.active {
    opacity: 1;
    visibility: visible;
}

.payment-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.payment-modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.payment-modal.active .payment-modal-content {
    transform: translateY(0) scale(1);
}

.payment-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition);
}

.payment-modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.payment-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.payment-modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.payment-modal-header p {
    color: var(--primary);
    font-weight: 600;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition);
}

.payment-option:hover {
    border-color: var(--gray-300);
}

.payment-option.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.payment-option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.payment-option.selected .payment-option-radio {
    border-color: var(--primary);
}

.payment-option-radio span {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition);
}

.payment-option.selected .payment-option-radio span {
    opacity: 1;
    transform: scale(1);
}

.payment-option-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.payment-option-details strong {
    font-size: 1rem;
    color: var(--gray-800);
}

.payment-option-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.payment-option-desc {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.payment-option-badge {
    position: absolute;
    top: -8px;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.payment-methods {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.payment-methods p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.payment-icon {
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.payment-icon:hover {
    opacity: 1;
}

.payment-submit {
    margin-bottom: 1rem;
}

.payment-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin: 0;
    padding-top: 0.75rem;
}

.payment-trust {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(34, 211, 238, 0.1) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
}

.payment-trust span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
    padding: 0.25rem 0.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

@media (max-width: 480px) {
    .payment-modal-content {
        padding: 1.5rem;
    }

    .payment-option {
        padding: 1rem;
    }

    .payment-trust {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

/* Payment Type Section */
.payment-type-section,
.payment-method-section {
    margin-bottom: 1.5rem;
}

.payment-type-section h4,
.payment-method-section h4 {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.payment-package-name {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.125rem;
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition);
}

.payment-method-btn:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

.method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-name {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1rem;
}

.method-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Crypto Modal */
.crypto-modal .crypto-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.25rem;
}

.crypto-providers {
    margin-bottom: 1.25rem;
}

.crypto-providers-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    text-align: center;
}

.crypto-provider-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.crypto-provider-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
}

.crypto-provider-btn:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

.provider-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.provider-logo svg {
    width: 40px;
    height: 40px;
}

.provider-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.provider-name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--gray-800);
}

.provider-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.crypto-coins-display {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.crypto-coins-display > p {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.crypto-info {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.crypto-info > p {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.crypto-coins {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.crypto-coin {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--gray-700);
}

.crypto-contact {
    text-align: left;
}

.crypto-contact p {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.crypto-contact ul {
    list-style: none;
    padding-left: 0;
}

.crypto-contact li {
    padding: 0.25rem 0;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.crypto-contact li::before {
    content: '•';
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Confirmation Modal */
.confirmation-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.confirmation-content > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.confirmation-steps {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.conf-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    text-align: left;
}

.conf-step:not(:last-child) {
    border-bottom: 1px solid var(--gray-200);
}

.conf-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.conf-step span:last-child {
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.conf-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.conf-note a {
    color: var(--primary);
    text-decoration: underline;
}

/* Thank You Modal */
.success-icon-large {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: var(--radius-full);
    margin: 0 auto 1rem;
}

.thank-you-content,
.next-steps {
    text-align: left;
}

.thank-you-content > p {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.next-steps {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.next-steps h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.next-steps ul {
    list-style: none;
}

.next-steps li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.thank-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.thank-note a {
    color: var(--primary);
}

@media (max-width: 480px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }

    .crypto-coins {
        gap: 0.5rem;
    }

    .crypto-coin {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
}
