:root {
    --light: #f8fafc;
    --dark: #0f172a;
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #64748b;
    --accent: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --border: #e2e8f0;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #475569;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light);
    overflow-x: hidden;
}

/* Parallax Background with Image */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('https://paycre.com/images/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    will-change: transform;
}

/* Dark overlay for better text readability */
.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(75deg, rgba(14, 16, 18, 0.85) 0%, rgba(30, 41, 59, 0.9) 100%);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

header.sticky {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

.menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.menu a:not(.cta-nav):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.menu a:not(.cta-nav):hover:after {
    width: 100%;
}

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

.cta-nav {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Cookie Banner */ .cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(15, 23, 42, 0.98); color: #ffffff; padding: 20px; z-index: 10000; box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2); backdrop-filter: blur(10px); display: flex; justify-content: center; align-items: center; transform: translateY(100%); transition: transform 0.3s ease; } .cookie-banner.show { transform: translateY(0); } .cookie-content { max-width: 1200px; width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; } .cookie-content p { flex: 1; min-width: 300px; margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); } .cookie-buttons { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; } .cookie-btn { padding: 10px 24px; border: none; border-radius: 6px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; } .cookie-btn.accept { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; } .cookie-btn.reject { background: rgba(255, 255, 255, 0.1); color: white; border: 1px solid rgba(255, 255, 255, 0.3); } .cookie-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .cookie-link { color: var(--primary); text-decoration: none; font-size: 0.9rem; font-weight: 500; } .cookie-link:hover { text-decoration: underline; }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    padding: 0 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 26, 38, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button.large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.cta-button.full-width {
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

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

/* Cards Grid */
.cards-grid {
    display: grid;
    gap: 2rem;
}

.cards-grid.two-columns {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.cards-grid.four-columns {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Styles */
.card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 1rem;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.calculator-card, .start-card {
    text-align: center;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.calculator-form input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.calculator-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.calculate-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.calculate-btn:hover {
    background: var(--primary-dark);
}

.disclaimer, .support-text {
    font-size: 0.875rem;
    color: var(--secondary);
    margin-top: 1rem;
}

/* Platform Hero */
.platform-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 5rem 0;
}

.platform-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.platform-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.platform-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.platform-image {
    margin: 3rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.platform-image img {
    width: 100%;
    height: auto;
    display: block;
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature p {
    opacity: 0.8;
    font-size: 0.9rem;
}

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

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-content i {
    color: var(--primary);
    opacity: 0.3;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: var(--secondary);
}

/* Slogan Section */
.slogan-section {
    position: relative;
    margin: 5rem 0;
}

.slogan-image {
    height: 400px;
    overflow: hidden;
}

.slogan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slogan-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
}

.slogan-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slogan-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-share {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-share a {
    font-size: 1.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
}

.footer-bottom .links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transition: right 0.3s ease;
    }

    .menu.active {
        right: 0;
    }

    .menu a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .menu a:last-child {
        border-bottom: none;
    }

  /* Cookie Banner */ .cookie-content { flex-direction: column; text-align: center; } .cookie-buttons { justify-content: center; }
  
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .cards-grid.two-columns,
    .cards-grid.four-columns {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 3rem 1rem;
    }

    .platform-features {
        grid-template-columns: 1fr;
    }

    .slogan-content h2 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cards-grid.two-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid.four-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    .parallax-bg,
    .menu-toggle,
    .cookie-banner,
    .footer-share,
    .calculator-form,
    .cta-nav {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        padding: 0;
    }

    a {
        color: black !important;
        text-decoration: underline;
    }
}