/* Modern Reset & Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #0a0a0a;
    --bg-card: rgba(20, 20, 20, 0.7);
    --accent: #ff3333;
    --accent-glow: rgba(255, 51, 51, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Layout */
    --nav-height: 80px;
    --container-width: 1400px;
}

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

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255, 51, 51, 0.02) 0%, var(--bg-dark) 100%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    /* Subtly tighter for smoothness */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Glassmorphism NavBar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    /* Reduced height for a more modern look */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    width: 100%;
    max-width: 100%;
    /* Spanning the whole width */
    padding: 0 5%;
    /* Using percentage for better edge spacing */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: lowercase;
}

.logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}


.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* Modern Button Styles (Inspired by User Request) */
.btn-modern {
    appearance: none;
    background-color: #fafbfc;
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 8px;
    /* Slightly more rounded for premium feel */
    box-shadow:
        rgba(27, 31, 35, 0.04) 0 1px 0,
        rgba(255, 255, 255, 0.25) 0 1px 0 inset;
    box-sizing: border-box;
    color: #1a1a1a;
    cursor: pointer;
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-modern:hover {
    background-color: #ffffff;
    border-color: rgba(27, 31, 35, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-modern:active {
    background-color: #f6f8fa;
    box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;
    transform: translateY(0);
}

.btn-modern:focus {
    outline: none;
}

/* Secondary Button (Accent) */
.btn-primary {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    background-color: var(--accent);
    color: white;
    border: none;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background-color: #ff4d4d;
    box-shadow: 0 6px 20px var(--accent-glow);
    color: white;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at top, rgba(255, 51, 51, 0.05) 0%, transparent 50%);
}

.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: center;
}

.accent-text {
    color: var(--accent);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Secondary Button Style */
.btn-secondary {
    appearance: none;
    background-color: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* App Preview Card */
.hero-preview {
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    perspective: 1200px;
    transform-style: preserve-3d;
    pointer-events: auto;
    /* Force events */
    cursor: default;
}

.app-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-out;
    will-change: transform;
    /* Hero Image Background */
    transform-style: preserve-3d;
}

.card-bg {
    position: absolute;
    inset: -2px;
    /* Slightly larger to prevent white edges */
    background-image: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(225deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    z-index: 1;
}

.software-img {
    position: relative;
    z-index: 2;
    max-width: 75%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation: float 6s ease-in-out infinite;
    transition: transform 0.5s ease;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}


/* Features Section */
.features {
    padding: 40px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.features-header {
    margin-bottom: 60px;
}

.features-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #888;
    /* Grey as requested */
    font-size: 0.9rem;
    display: block;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.features-title {
    font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
    font-weight: 400;
    font-size: 36px;
    color: rgb(255, 255, 255);
    line-height: 1.1em;
    letter-spacing: -0.03em;
}

.features-subtitle {
    font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
    font-weight: 400;
    font-size: 36px;
    color: rgb(133, 133, 133);
    line-height: 1.1em;
    letter-spacing: -0.03em;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Unlock Dominance Grid */
.unlock-dominance {
    margin-top: 20px;
}

.section-header {
    margin-bottom: 50px;
    text-align: left;
    /* Aligned left as per image */
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-family: "Inter Display", sans-serif;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 16px;
    color: rgb(133, 133, 133);
    font-family: "Inter", sans-serif;
}

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

.f-card {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 24px;
    text-align: left;
    transition: all 0.3s ease;
}

.f-icon {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

.f-card:hover {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.f-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: "Inter", sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.f-card p {
    font-size: 15px;
    color: rgb(133, 133, 133);
    line-height: 1.5;
    font-family: "Inter", sans-serif;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .feature-info {
        max-width: 100%;
    }

    .feature-info .btn-modern {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 0 20px;
    }

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .features-title,
    .features-subtitle {
        font-size: 2rem;
    }
}

/* Pricing Section */
.pricing {
    padding: 60px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-header {
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.p-card {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.p-card.best-seller {
    border-color: rgba(255, 51, 51, 0.5);
    background: rgba(25, 15, 15, 0.5);
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.1);
}

.p-card:hover {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.p-card.best-seller:hover {
    border-color: var(--accent);
}

.p-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.p-top h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    font-family: "Inter", sans-serif;
}

.p-badge-red {
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.p-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
}

.p-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.p-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.p-type {
    font-size: 0.9rem;
    color: #666;
}

.p-desc {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
    margin-bottom: 32px;
    min-height: 45px;
}

.btn-purchase {
    display: block;
    width: 100%;
    padding: 14px;
    background: #fff;
    /* Default to White */
    color: #000;
    /* Black text */
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.btn-purchase:hover {
    background: #e0e0e0;
    transform: scale(0.98);
}

.best-seller .btn-purchase {
    background: var(--accent);
    /* Red for Best Seller */
    color: #fff;
}

.best-seller .btn-purchase:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

.p-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

.p-divider::before,
.p-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #222;
}

.p-divider span {
    padding: 0 15px;
    color: #444;
    font-size: 0.85rem;
    text-transform: capitalize;
}

.p-feature-list {
    list-style: none;
    padding: 0;
}

.p-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #888;
    font-size: 0.9rem;
}

.check-icon {
    width: 18px;
    height: 18px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid var(--accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Section */
.footer {
    background: #050505;
    border-top: 1px solid #111;
    padding: 80px 5% 40px;
    margin-top: 100px;
    /* More space before footer */
}

.footer-container {
    max-width: 100%;
    /* Spanning full width like navbar */
    padding: 0 5%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    text-transform: lowercase;
    /* Matches Navbar */
}

.footer-brand p {
    color: #888;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-link img {
    width: 24px;
    height: 24px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.social-link:hover img {
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.link-group ul {
    list-style: none;
    padding: 0;
}

.link-group li {
    margin-bottom: 12px;
}

.link-group a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #111;
    text-align: center;
}

.footer-bottom p {
    color: #444;
    font-size: 0.9rem;
}

/* Reveal on Scroll */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}