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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-x: hidden;
}

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

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, #ff6b9d, #c471ed, #12c2e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary.glow {
    box-shadow: 0 0 30px rgba(255, 107, 157, 0.5);
}

.btn-primary.large {
    padding: 20px 40px;
    font-size: 1.3rem;
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 14px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #12c2e9 100%);
}

.animated-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

.blob1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.blob2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #12c2e9, #c471ed);
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.blob3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-illustrations {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    width: 80px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: floatCard 4s ease-in-out infinite;
}

.card1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.card2 {
    top: 40%;
    right: 30%;
    animation-delay: 1.5s;
}

.card3 {
    bottom: 30%;
    left: 40%;
    animation-delay: 3s;
}

.upi-qr {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

.qr-code {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #000 25%, transparent 25%), 
                linear-gradient(-45deg, #000 25%, transparent 25%);
    background-size: 8px 8px;
}

.cashback-coin {
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    animation: spin 3s linear infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Product Explainer */
.product-explainer {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

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

.explainer-cards {
    position: relative;
    height: 400px;
}

.spinning-card {
    position: absolute;
    width: 200px;
    height: 120px;
    border-radius: 12px;
    animation: gentleSpin 8s linear infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: 0;
    left: 0;
    z-index: 3;
}

.card-secondary {
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    top: 50px;
    left: 50px;
    z-index: 2;
    animation-delay: 2s;
}

.card-tertiary {
    background: linear-gradient(135deg, #12c2e9, #a8edea);
    top: 100px;
    left: 100px;
    z-index: 1;
    animation-delay: 4s;
}

.feature-block {
    margin-bottom: 3rem;
}

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

.feature-block h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

/* Features Grid */
.features-grid {
    padding: 8rem 0;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}

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

.feature-tile {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

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

.feature-tile h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-tile p {
    opacity: 0.8;
}

/* Payment Journey */
.payment-journey {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.journey-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

.journey-step h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Dashboard Demo */
.dashboard-demo {
    padding: 8rem 0;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}

.dashboard-mockup {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    border-radius: 50%;
}

.balance-display {
    text-align: right;
}

.balance-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #4ade80;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dash-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.dash-card h4 {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.cashback-amount, .transaction-count {
    font-size: 2rem;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 1rem;
}

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

.coin {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    animation: coinBounce 1s ease-in-out infinite;
}

.coin:nth-child(2) { animation-delay: 0.2s; }
.coin:nth-child(3) { animation-delay: 0.4s; }

.card-stack {
    display: flex;
    justify-content: center;
    position: relative;
}

.mini-card {
    width: 40px;
    height: 25px;
    border-radius: 4px;
    position: absolute;
}

.mini-card.card1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    z-index: 3;
}

.mini-card.card2 {
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    left: 10px;
    z-index: 2;
}

.mini-card.card3 {
    background: linear-gradient(135deg, #12c2e9, #a8edea);
    left: 20px;
    z-index: 1;
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255, 107, 157, 0.3);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-name {
    font-weight: 600;
    opacity: 0.8;
}

/* Final CTA */
.final-cta {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    text-align: center;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glowing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 8s ease-in-out infinite;
}

.orb1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    top: 20%;
    left: 20%;
}

.orb2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #12c2e9, #a8edea);
    top: 60%;
    right: 30%;
    animation-delay: 3s;
}

.orb3 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    bottom: 20%;
    left: 50%;
    animation-delay: 6s;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 3rem 0 1rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b9d;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-15px) rotateY(10deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gentleSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

/* Legal Pages Styles */
.legal-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #12c2e9 100%);
    padding: 2rem 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-link {
    color: white;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    display: block;
}

.legal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-content .intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.legal-content .section {
    margin-bottom: 2rem;
}

.legal-content h3 {
    color: #ff6b9d;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.legal-footer {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.about-image, .feature-img {
    width: 100%;
    max-width: 400px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

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

.feature-small {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.feature-small .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.features-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

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

.security-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

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

.cashback-steps, .upi-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b9d, #c471ed);
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cashback-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.category {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.category-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.cashback-rate {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4ade80;
    margin-top: 0.5rem;
}

.upi-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.upi-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.upi-feature .feature-icon {
    font-size: 2rem;
    margin-top: 0.2rem;
}

.floating-card img, .upi-qr img, .cashback-coin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.spinning-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .explainer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .legal-footer {
        flex-direction: column;
        align-items: center;
    }
    
    .features-showcase {
        grid-template-columns: 1fr;
    }
    
    .cashback-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .upi-features {
        grid-template-columns: 1fr;
    }
}