/* Base & Typography */
:root {
    --bg-dark: #0f111a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: rgba(255, 255, 255, 0.05);
    --secondary-hover: rgba(255, 255, 255, 0.1);

    --glass-bg: rgba(15, 17, 26, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    --gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);

    --font-heading: 'Outfit', 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;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Animations */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    animation-delay: 0s;
}

.shape-2 {
    top: 40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    animation-delay: -5s;
}

.shape-3 {
    bottom: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    opacity: 0.3;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 50px) rotate(15deg);
    }
}

/* Typography Utilities */
.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}

/* Glassmorphism Classes */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.glass-nav.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 17, 26, 0.85);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

/* Navigation */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-img {
    height: 95px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 50px;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Mock App Display */
.mock-app {
    width: 320px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mock-app:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mock-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
}

.mock-dots {
    display: flex;
    gap: 6px;
    margin-right: 1rem;
}

.mock-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #475569;
}

.mock-dots span:nth-child(1) {
    background: #ef4444;
}

.mock-dots span:nth-child(2) {
    background: #f59e0b;
}

.mock-dots span:nth-child(3) {
    background: #10b981;
}

.mock-title {
    font-weight: 600;
    font-size: 0.875rem;
}

.mock-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mock-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #10b981;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

.pulse-ring {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.mock-ticket {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px dashed var(--glass-border);
    border-bottom: 1px dashed var(--glass-border);
}

.ticket-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.ticket-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mock-info {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

.mock-info strong {
    color: var(--text-main);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--text-muted);
}

/* CTA Section */
.bottom-cta {
    padding: 4rem 2rem 8rem;
}

.cta-card {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Footer */
.glass-footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(15, 17, 26, 0.8);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    opacity: 0.7;
}

.footer-links {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a:hover {
    color: var(--text-main);
}

/* Legal Page Styles */
.legal-main {
    padding-top: 140px;
    padding-bottom: 80px;
    max-width: 800px;
}

.legal-section {
    margin-bottom: 6rem;
}

.legal-section h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-main);
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
    animation-delay: 0.2s;
}

.stagger-in {
    opacity: 0;
    transform: translateY(30px);
}

/* How It Works */
.how-it-works {
    padding: 4rem 2rem;
}

.hiw-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.hiw-block {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hiw-block.reverse {
    flex-direction: row-reverse;
}

.hiw-content {
    flex: 1;
}

.hiw-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hiw-content p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.hiw-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hiw-list li {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.hiw-image-wrapper {
    flex: 1;
    padding: 1rem;
    border-radius: 20px;
    text-align: center;
}

.hiw-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.hiw-img:hover {
    transform: scale(1.02);
}

/* Pricing Section */
.pricing {
    padding: 4rem 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.4);
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
    z-index: 10;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge-popular {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-1);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: bold;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price span:first-child {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-right: 0.25rem;
}

.price span:last-child {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.pricing-features {
    flex: 1;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 991px) {

    .hiw-block,
    .hiw-block.reverse {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hiw-list {
        align-items: center;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .mock-app {
        width: 100%;
        max-width: 320px;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Padding adjustments for mobile */
    .features,
    .how-it-works,
    .pricing {
        padding: 3rem 1.5rem;
    }

    .section-desc {
        font-size: 1rem;
    }

    .hiw-content h3 {
        font-size: 1.5rem;
    }

    .hiw-content p {
        font-size: 1rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .footer-content {
        padding: 2rem 1.5rem;
    }
}