:root {
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6;
    --accent: #0ea5e9;
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --mesh-1: #1e1b4b;
    --mesh-2: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Mesh Gradient Background */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-dark);
    overflow: hidden;
}

.mesh-bg::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 1) 0%, transparent 100%);
    filter: blur(80px);
    animation: meshMove 20s infinite alternate ease-in-out;
}

@keyframes meshMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(5%, 5%) rotate(5deg); }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

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

.logo {
    font-size: 1.7rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -1px;
}

.btn-login-nav {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 10px 28px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-login-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 span {
    display: inline-block;
    background: linear-gradient(to right, #fff, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-layout {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 60px;
    text-align: left;
    width: 100%;
}

.hero-layout.reverse {
    flex-direction: row-reverse !important;
}

.hero-visual {
    flex: 1.2;
    position: relative;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.hero-visual img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px var(--primary-glow);
    border: 1px solid var(--glass-border);
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(30px);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 0 48px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-main {
    background: var(--primary);
    color: white;
    padding: 18px 40px;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-main:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
}

.btn-main:hover::after {
    left: 100%;
}

/* Stats Bar */
.stats-bar {
    padding: 60px 0;
    background: rgba(15, 23, 42, 0.4);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* Showcase Sections */
.showcase-section {
    padding: 120px 0;
    display: flex;
    align-items: center;
    gap: 80px;
}

.showcase-section.reverse {
    flex-direction: row-reverse;
}

.showcase-content {
    flex: 1;
}

.showcase-visual {
    flex: 1;
    max-width: 600px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
}

.showcase-visual img {
    width: 100%;
    display: block;
}

.showcase-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.showcase-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.feature-list i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Features */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-glass {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 48px 40px;
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.feature-glass:hover {
    transform: translateY(-12px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.feature-visual {
    margin-bottom: 28px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    height: 180px;
}

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

.feature-glass:hover .feature-visual img {
    transform: scale(1.1);
}

.feature-glass i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: block;
}

.feature-glass h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-glass p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Footer */
footer {
    padding: 100px 0 60px;
    background: rgba(2, 6, 23, 0.95);
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.footer-about p {
    color: var(--text-muted);
    max-width: 350px;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
    text-align: center;
}

.legal-notice {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 32px;
}

.gateway-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: 0.5s;
}

.gateway-badges:hover {
    opacity: 1;
    filter: grayscale(0);
}

.onepay-logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: #f7941e;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Pricing Cards */
.pricing-section {
    padding: 120px 0;
    position: relative;
    background: rgba(2, 6, 23, 0.5);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

/* Pricing Tabs System */
.pricing-tabs {
    margin-bottom: 60px;
    display: inline-flex;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 14px 36px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px var(--primary-glow), 0 0 10px rgba(59, 130, 246, 0.4);
    transform: scale(1.02);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 20px;
    animation: fadeInUp 0.6s ease-out;
}

/* Force 3 columns for better visibility if enough cards */
@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }
}

.price-card.popular {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
}

.price-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
}

.price-card h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.price-card .amount {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    display: block;
}

.price-card .amount span {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-card ul {
    list-style: none;
    margin: 40px 0;
    text-align: left;
}

.price-card ul li {
    margin-bottom: 0px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.price-card ul li i {
    color: var(--primary);
    margin-right: 12px;
}

/* Mobile Adjustments */
@media (max-width: 968px) {
    .features-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding: 140px 0 60px; }
    .hero-layout { flex-direction: column; text-align: center; }
    .hero-actions { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .showcase-section, .showcase-section.reverse { flex-direction: column; text-align: center; gap: 40px; }
    .showcase-content h2 { font-size: 2.2rem; }
}
