/* CSS Custom Properties (Variables) */
:root {
    /* Color Variables */
    --primary-gold: #ffd700;
    --primary-green: #28a745;
    --secondary-green: #339253;
    --teal: #20c997;
    
    --bg-dark: #1a1a1a;
    --bg-medium: #2d2d2d;
    --bg-light: #ffffff;
    --bg-card: #E2DDD8;
    --bg-featured: linear-gradient(135deg, #D2AF7C, #e2cfb1);
    --bg-pricing: linear-gradient(to right, #f5e7d6, #f1c9a5, #be7b44);
    
    --text-white: #ffffff;
    --text-light: #cccccc;
    --text-medium: #666666;
    --text-dark: #333333;
    
    --border-color: #333333;
    --border-light: #dddddd;
    --border-lighter: #e9ecef;
    
    --accent-red: #FF5F5F;
    --accent-orange: #FFA500;
    --accent-blue: #2196f3;
    --accent-orange-alt: #ff9800;
    
    --gradient-hero: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --gradient-text: linear-gradient(135deg, #ffd700, #ffed4e);
    --gradient-button: linear-gradient(135deg, #28a745, #20c997);
    --gradient-card: linear-gradient(135deg, #9ACD32, #FFD700);
    
    /* Font Variables */
    --font-header: 'Cormorant Garamond', serif;
    --font-body: 'Rubik', sans-serif;
    --font-mono: 'Courier New', monospace;
    
    /* Shadow Variables */
    --shadow-light: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.3);
    --shadow-heavy: 0 15px 35px rgba(0,0,0,0.2);
    --shadow-button: 0 5px 15px rgba(40, 167, 69, 0.4);
    
    /* Transition Variables */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.6s ease;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--bg-dark);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--bg-dark);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

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

.logo img {
    width:60px;
}

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

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

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

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

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

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
}

.mobile-nav ul li {
    padding: 0.75rem 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav ul li a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.mobile-nav ul li a:hover {
    color: var(--primary-gold);
}

.mobile-cta {
    margin: 1rem 20px 0;
}

.cta-button {
    background: var(--gradient-button);
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: all var(--transition-fast);
    display: inline-block;
}

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--gradient-hero);
}

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

.hero-text h1 {
    font-family: var(--font-header);
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-image {
    text-align: center;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-light);
    color: var(--text-dark);
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.features-container {
    position: relative;
    height: 100%;
}

.paylinq-card {
    position: absolute;
    left: 50px;
    top: -50px;
    width: 300px;
    height: 200px;
    background: var(--gradient-card);
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    transform: rotate(-5deg);
    z-index: 2;
}

.card-logo {
    font-family: var(--font-header);
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark);
}

.card-chip {
    width: 30px;
    height: 25px;
    background: var(--primary-gold);
    border-radius: 4px;
    margin: 10px 0;
}

.card-number {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-dark);
    letter-spacing: 2px;
}

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

.card-circles {
    display: flex;
    gap: -10px;
}

.circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.circle.red {
    background: var(--accent-red);
    z-index: 2;
}

.circle.orange {
    background: var(--accent-orange);
    margin-left: -10px;
}

.features-content {
    margin-left: 400px;
    padding: 40px 0;
}

.features-title {
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: left;
}

.features-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 400px;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 2px solid var(--border-lighter);
}

.feature-icon.bills {
    background: #e8f5e8;
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.feature-icon.credit {
    background: #e3f2fd;
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.feature-icon.rewards {
    background: #fff3e0;
    border-color: var(--accent-orange-alt);
    color: var(--accent-orange-alt);
}

.feature-text h3 {
    font-family: var(--font-header);
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.5;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-dark);
}

.section-title {
    font-family: var(--font-header);
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-white);
    font-weight: bold;
}

.how-it-works-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.step-number {
    background: var(--secondary-green);
    color: var(--text-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-text {
    color: var(--text-white);
}

.step-text h3 {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.video-container video {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--bg-pricing);
    color: var(--text-dark);
}

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

.pricing-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.pricing-card.featured {
    background: var(--bg-featured);
    color: var(--text-dark);
}

.pricing-card h3 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--secondary-green);
}

.pricing-card.featured .price {
    color: var(--text-dark);
}

.features-list-pricing {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list-pricing li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.features-list-pricing li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-green);
    font-weight: bold;
}

/* Signup Section */
.signup {
    padding: 80px 0;
    background: var(--bg-dark);
    text-align: center;
}

.signup-form {
    max-width: 500px;
    margin: 0 auto;
}

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

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-medium);
    color: var(--text-white);
    font-size: 1rem;
}

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

.reward-text {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--border-lighter);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

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

/* Footer */
footer {
    background: var(--bg-dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3 {
    font-family: var(--font-header);
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-medium);
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links,
    .cta-button {
        display: none;
    }

    .paylinq-card {
        width: 250px;
        height: 160px;
        padding: 15px;
    }

    .features-content {
        margin-left: 300px;
    }

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

    .card-number {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .paylinq-card {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        margin: 0 0 2rem 0;
        width: 220px;
        height: 140px;
        padding: 12px;
    }

    .features-content {
        margin-left: 0;
        padding: 20px 0;
    }

    .features-title {
        font-size: 2rem;
        text-align: center;
    }

    .how-it-works-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        text-align: center;
    }

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

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

    .card-logo {
        font-size: 0.9rem;
    }

    .card-number {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .card-chip {
        width: 25px;
        height: 20px;
    }

    .circle {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

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

    .features-title {
        font-size: 1.8rem;
    }

    .step-text h3 {
        font-size: 1.4rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .paylinq-card {
        width: 200px;
        height: 125px;
        padding: 10px;
    }

    .card-logo {
        font-size: 0.8rem;
    }

    .card-number {
        font-size: 0.7rem;
    }

    .card-chip {
        width: 20px;
        height: 15px;
    }

    .circle {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 961px) {
    .paylinq-card {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        margin: 0 0 2rem 0;
        width: 220px;
        height: 140px;
        padding: 12px;
    }
    
    .features-content {
        margin-left: 0;
        padding: 20px 0;
    }
}