:root {
  --bg-main: #F8FAFC;
  --bg-section: #FFFFFF;
  --bg-soft: #EFF6FF;

  --text-main: #0F172A;
  --text-muted: #334155;
  --text-light: #475569;

  --primary: #2563EB;
  --primary-dark: #1E40AF;
  --primary-soft: #DBEAFE;

  --accent: #0F766E;
  --accent-soft: #CCFBF1;

  --success: #16A34A;
  --warning: #F59E0B;

  --border: #E2E8F0;
  --card-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background effects */
.bg-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    z-index: -1;
}

.blob-1 {
    top: -10%;
    left: -5%;
}

.blob-2 {
    top: 40%;
    right: -5%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.08), transparent 70%);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(90deg, #1D4ED8, #0F766E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    color: var(--text-muted);
}

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

.section {
    padding: 6rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    letter-spacing: -0.04em;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    font-family: var(--font-heading);
}

.btn-primary, .btn-glow {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
    border: none;
}

.btn-primary:hover, .btn-glow:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
}

.btn-outline, .btn-secondary {
    background: #FFFFFF;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-outline:hover, .btn-secondary:hover {
    background: var(--bg-soft);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.logo-icon-svg {
    color: var(--primary);
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    background: radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.08), transparent 32%), linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: var(--primary-soft);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    line-height: 1.5;
    max-width: 600px;
}

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

.hero-proof {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.hero-proof span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-proof span::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

.hero-visual {
    position: relative;
    perspective: 1200px;
}

.mockup-container {
    position: relative;
    width: 100%;
    height: 550px;
    transform-style: preserve-3d;
}

.mockup {
    position: absolute;
    border-radius: 32px;
    box-shadow: var(--card-shadow);
    border: 8px solid #FFFFFF;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mockup-front {
    width: 300px;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%) rotateY(-12deg) rotateX(4deg);
    z-index: 2;
}

.mockup-back {
    width: 280px;
    top: 45%;
    left: 70%;
    transform: translate(-50%, -50%) rotateY(-18deg) rotateX(8deg) translateZ(-60px);
    opacity: 0.8;
}

.hero-visual:hover .mockup-front {
    transform: translate(-50%, -52%) rotateY(0deg) rotateX(0deg);
}

.hero-visual:hover .mockup-back {
    transform: translate(-45%, -48%) rotateY(0deg) rotateX(0deg) translateZ(-20px);
    opacity: 1;
}

/* Features */
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--bg-section);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 24px;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-soft);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: var(--primary-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.feature-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Workflow */
.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

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

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--bg-section);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.step-connector {
    flex: 0.3;
    height: 2px;
    background: var(--border);
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.testimonial-stars {
    color: var(--warning);
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-main);
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info strong {
    display: block;
    color: var(--text-main);
    font-size: 1rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Security Section */
.security-section {
    background: #0F172A;
    color: #FFFFFF;
}

.security-section .section-header h2,
.security-section .section-header p {
    color: #FFFFFF;
}

.security-section .section-tag {
    color: var(--accent-soft);
}

.security-section .feature-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.security-section .feature-card h3 {
    color: #FFFFFF;
}

.security-section .feature-card p {
    color: #94A3B8;
}

.security-section .feature-card:hover {
    border-color: var(--accent);
}

.security-section .feature-icon-wrapper {
    background: rgba(15, 118, 110, 0.2);
    color: var(--accent-soft);
}

/* Table */
.table-container {
    overflow-x: auto;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-section);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.styled-table thead tr {
    background-color: var(--bg-main);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.styled-table th {
    color: var(--text-main);
}

.styled-table th,
.styled-table td {
    padding: 1.2rem 1.5rem;
}

.styled-table tbody tr {
    border-bottom: 1px solid var(--border);
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #FAFAF9;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid var(--primary);
}

/* Pricing */
.pricing {
    background: var(--bg-main);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #FFFFFF;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

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

.price {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.price span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.04em;
}

.savings {
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

.pricing-features li strong {
    color: var(--text-main);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Footer */
.footer {
    background: #0F172A;
    color: #FFFFFF;
    padding: 4rem 0 2rem;
}

.footer .logo-text {
    color: #FFFFFF;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #94A3B8;
}

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

.link-group h4 {
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.link-group a {
    display: block;
    color: #94A3B8;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: #94A3B8;
}

.disclaimer {
    max-width: 400px;
    text-align: right;
    font-size: 0.8rem;
}

/* Checkout */
.checkout-section {
    padding: 10rem 0 6rem;
    min-height: 80vh;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.order-summary {
    background: var(--bg-soft);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    height: fit-content;
}

.order-summary h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
    font-size: 1.5rem;
    font-weight: 700;
}

.payment-form {
    background: var(--bg-section);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.payment-form h3 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.payment-form h3:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.secure-badge svg {
    color: var(--success);
}

/* Responsive Design */
@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero-visual {
        margin-top: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .workflow-steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step-connector {
        display: none;
    }

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

    .disclaimer {
        text-align: center;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid var(--border);
    animation: slideUp 0.5s ease-out;
}

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

.cookie-content {
    flex: 1;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 1.5rem;
    }
    
    .cookie-actions {
        width: 100%;
    }
    
/* Spinner micro-interaction */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Floating CTA */
.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: white;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    z-index: 999;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    border-top: 1px solid var(--border);
}

.mobile-cta.visible {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .mobile-cta {
        display: flex;
        justify-content: center;
    }
}
