:root {
    /* Premium Indigo Palette */
    --primary: #4f46e5;
    /* Indigo 600 */
    --primary-dark: #4338ca;
    /* Indigo 700 */
    --primary-light: #e0e7ff;
    /* Indigo 100 */
    --accent: #8b5cf6;
    /* Violet 500 for gradients */
    --secondary: #10b981;
    /* Emerald 500 */

    /* Neutrals */
    --dark: #0f172a;
    /* Slate 900 */
    --gray: #64748b;
    /* Slate 500 */
    --light: #f1f5f9;
    /* Slate 100 */
    --surface: #ffffff;

    /* Shadows & Glass */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    /* Subtle off-white base */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Polish */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 800;
    /* Bolder headings */
    letter-spacing: -0.025em;
    color: var(--dark);
}

h1 {
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modern Buttons */
.btn {
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
    filter: brightness(1.1);
}

.btn-outline-secondary {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

.btn-outline-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* White Button for Dark Backgrounds */
.btn-white {
    background-color: #ffffff;
    color: var(--primary);
    border: 1px solid white;
}

.btn-white:hover {
    background-color: #f8fafc;
    color: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Section Polish */
.hero-section {
    padding: 120px 0 100px;
    background-color: var(--surface);
    background-image:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Grid Pattern Overlay */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.3;
    pointer-events: none;
}

/* Glassmorphic Widget */
.qr-widget {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.qr-widget:hover {
    transform: translateY(-5px);
}

.qr-preview-box {
    background: linear-gradient(to bottom, #f8fafc, #edf2f7);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

/* Inputs Polish */
.form-control {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Cards Polish */
.card {
    border: none;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Soft, minimal shadow */
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Utilities */
.section-padding {
    padding: 100px 0;
}

.bg-light-alt {
    background-color: #f8fafc;
}

/* Steps */
.step-circle {
    width: 70px;
    height: 70px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

/* Pricing Badge */
.popular-badge {
    background: var(--dark);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    /* Deep Indigo Base */
    color: white;
    position: relative;
}

/* Features Polish */
.feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-light);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(3deg);
}

/* Process Steps Polish */
.step-card {
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
}

.step-connector {
    position: absolute;
    top: 25px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
    display: none;
}

@media (min-width: 768px) {
    .step-connector {
        display: block;
    }
}

/* Use Cases Polish */
.use-case-card {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.use-case-card:hover::before {
    opacity: 1;
}

.use-case-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s;
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1);
}

/* Pricing Polish */

/* Pricing Polish */
.pricing-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.pricing-card {
    border: 1px solid #f1f5f9;
    background: white;
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.pricing-popular {
    border: 2px solid var(--primary);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
    z-index: 10;
}

.popular-badge {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 0 0 12px 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.check-icon {
    color: var(--secondary);
    flex-shrink: 0;
    background: #ecfdf5;
    border-radius: 50%;
    padding: 2px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

/* Testimonials Polish */
.testimonial-card {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    position: relative;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray);
    font-size: 1.25rem;
}

.quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 4rem;
    line-height: 1;
    color: #f1f5f9;
    font-family: serif;
    z-index: 0;
}

/* Utility for new cards */
.transition-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1) !important;
}

/* QR Generator Form Redesign */
.qr-types-nav::-webkit-scrollbar {
    display: none;
}

.qr-types-nav {
    -ms-overflow-style: none;
    scrollbar-width: none;
    border-bottom: 2px solid #f8fafc;
}

.qr-type-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    min-width: 80px;
    border-radius: 16px;
    color: var(--gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    background: transparent;
}

.qr-type-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.qr-type-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.qr-input-group {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.qr-input-group:focus-within {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15) !important;
    border-color: var(--primary);
}

.qr-input-group .form-control,
.qr-input-group .input-group-text {
    border-color: #e2e8f0;
}

.qr-input-group:focus-within .form-control,
.qr-input-group:focus-within .input-group-text {
    border-color: var(--primary);
}

.qr-input-group .form-control:focus {
    box-shadow: none;
}

.btn-generate-qr {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    border: none;
    border-radius: 14px;
    transition: all 0.3s;
}

.btn-generate-qr:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(79, 70, 229, 0.4) !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary);
    box-shadow: none;
}

.custom-accordion .accordion-button {
    font-size: 0.95rem;
}

.custom-accordion .accordion-item {
    transition: all 0.2s;
}

.custom-accordion .accordion-item:focus-within {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cursor-pointer {
    cursor: pointer;
}
