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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-premium: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.cta-nav {
    background: var(--gradient-premium);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: white !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--gradient-premium);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%);
    opacity: 0.6;
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 100px 0 50px;
}

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

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

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.download-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.phone-frame {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 40px;
    padding: 15px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #0a0a0a;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-animation {
    position: relative;
    width: 200px;
    height: 280px;
}

.card {
    position: absolute;
    width: 120px;
    height: 170px;
    background: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: cardDeal 4s ease-in-out infinite;
    padding: 10px;
}

.card-suit {
    font-size: 4rem;
    font-weight: bold;
}

.card-suit.spades {
    color: #1a1a1a;
}

.card-suit.hearts {
    color: #ef4444;
}

.card-suit.diamonds {
    color: #ef4444;
}

.card-suit.clubs {
    color: #1a1a1a;
}

.card-value {
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a1a;
    position: absolute;
    top: 10px;
    left: 10px;
}

.card-1 {
    left: 0;
    top: 0;
    animation-delay: 0s;
}

.card-2 {
    left: 20px;
    top: 30px;
    animation-delay: 0.2s;
}

.card-3 {
    left: 40px;
    top: 60px;
    animation-delay: 0.4s;
}

.card-4 {
    left: 60px;
    top: 90px;
    animation-delay: 0.6s;
}

@keyframes cardDeal {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

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

.feature-card {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: var(--primary-light);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.3rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

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

.showcase-card {
    position: absolute;
    width: 150px;
    height: 200px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.showcase-card:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
}

.sc-1 {
    top: 0;
    left: 0;
    transform: rotate(-10deg);
}

.sc-2 {
    top: 50px;
    left: 80px;
    transform: rotate(5deg);
}

.sc-3 {
    top: 100px;
    left: 160px;
    transform: rotate(-5deg);
}

.sc-4 {
    top: 150px;
    left: 240px;
    transform: rotate(10deg);
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.download-card {
    background: var(--gradient-premium);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.download-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.download-note {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-card);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-logo img {
    width: 35px;
    height: 35px;
    border-radius: 8px;
}

.footer-text {
    text-align: right;
}

.footer-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .phone-mockup {
        margin-top: 3rem;
    }

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

    .cards-showcase {
        margin-top: 3rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-text {
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

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

    .phone-frame {
        width: 250px;
        height: 500px;
    }

    .card {
        width: 90px;
        height: 130px;
        padding: 8px;
    }

    .card-suit {
        font-size: 3rem;
    }

    .card-value {
        font-size: 1.5rem;
        top: 8px;
        left: 8px;
    }

    .download-card {
        padding: 2rem;
    }

    .download-card h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav-links {
        display: none;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .showcase-card {
        width: 100px;
        height: 140px;
        font-size: 3rem;
    }

    .sc-1 { top: 0; left: 0; }
    .sc-2 { top: 30px; left: 50px; }
    .sc-3 { top: 60px; left: 100px; }
    .sc-4 { top: 90px; left: 150px; }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-light);
    color: white;
}
