/* Global Styles */
:root {
    --primary-color: #FF4500;
    /* Strong Orange */
    --secondary-color: #FF8C00;
    /* Dark Orange */
    --dark-bg: #050a14;
    --card-bg: rgba(30, 10, 5, 0.7);
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --glow-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    position: relative;
    overflow: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

h2.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

p {
    margin-bottom: 15px;
    color: #cbd5e1;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.logo-text .highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    border: none;
}

.cta-button.glow {
    background: var(--gradient-main);
    color: #000;
    box-shadow: var(--glow-shadow);
}

.cta-button.glow:hover {
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.8);
    transform: translateY(-2px);
}

.cta-button.outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button.outline:hover {
    background: rgba(255, 69, 0, 0.1);
    color: #fff;
}

.cta-button.small {
    padding: 8px 20px;
    font-size: 14px;
}

.cta-button.full-width {
    width: 100%;
    margin-top: 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('assets/hero-bg.png') no-repeat center center/cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(30, 10, 5, 0.4) 0%, rgba(5, 10, 20, 1) 90%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.date-badge {
    background: rgba(255, 69, 0, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 69, 0, 0.3);
    margin-bottom: 20px;
    display: inline-block;
}

.hero-sub {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

.dark-bg-2 {
    background: #081020;
}

/* Features / Devices */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.col-text,
.col-image {
    flex: 1;
    min-width: 300px;
}

.items-center {
    align-items: center;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.device-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.device-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.device-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.device-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.app-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.badge-app {
    padding: 5px 15px;
    background: #1a2639;
    border-radius: 5px;
    font-size: 0.9rem;
    border: 1px solid #334;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    background: rgba(255, 69, 0, 0.05);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: #000;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-card ul {
    text-align: left;
    margin-bottom: auto;
    /* Pushes button to bottom */
}

.pricing-card li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card li i {
    color: var(--primary-color);
}

/* Form Section */
.glow-bg {
    position: relative;
}

.glow-bg::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    filter: blur(150px);
    opacity: 0.2;
    z-index: -1;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form input {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 10px;
    font-family: inherit;
    transition: 0.3s;
}

.modern-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.2);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    margin-bottom: 15px;
    background: #0f172a;
    border-radius: 10px;
    padding: 15px 20px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

details[open] {
    background: #162035;
    border-color: rgba(255, 69, 0, 0.2);
}

summary {
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    /* Hide default triangle in some browsers */
    position: relative;
    padding-right: 30px;
}

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1;
}

details[open] summary::after {
    content: '-';
}

details p {
    margin-top: 15px;
    color: #cbd5e1;
}

/* Footer */
footer {
    background: #020408;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #050a14;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 69, 0, 0.1);
    /* Orange border */
    border-radius: 15px;
    padding: 0;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.blog-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    min-height: 3rem;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #0f172a;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--primary-color);
    overflow-y: auto;
    box-shadow: 0 0 50px rgba(255, 69, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

#modal-body h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal-date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.modal-text h4,
.modal-text h5 {
    color: #fff;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-footer {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Article Page Layout with Sidebar */
.article-section {
    padding-top: 120px;
    /* Space for fixed header */
    padding-bottom: 80px;
}

.article-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.article-main {
    flex: 2;
    background: var(--card-bg);
    /* Use card background for the main content area too if desired, or keep clear */
    /* If we want the article to look like a card: */
    /* background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05); */
}

/* Ensure the existing blog-full-post style works within this */
.blog-full-post {
    /* Reset any margins that might conflict */
}

.article-sidebar {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.sidebar-widget {
    background: var(--card-bg);
    border: 1px solid rgba(255, 69, 0, 0.1);
    /* Subtle orange border */
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    text-transform: uppercase;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-card {
    display: flex;
    gap: 15px;
    align-items: center;
    transition: 0.3s;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.recent-post-card:hover {
    background: rgba(255, 69, 0, 0.05);
    transform: translateX(5px);
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}

.recent-post-info {
    flex: 1;
}

.recent-post-info h4 {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 600;
}

.recent-post-info time {
    font-size: 0.8rem;
    color: var(--primary-color);
    display: block;
}

/* Responsive for Article Page */
@media (max-width: 992px) {
    .article-layout {
        flex-direction: column;
    }

    .article-sidebar {
        width: 100%;
        max-width: none;
        margin-top: 40px;
    }

    .recent-posts-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}