/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg-main: #0a0f1c;
    --bg-darker: #060913;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --primary: #0066ff;
    --primary-hover: #0052cc;
    --secondary: #00f2fe;
    
    --text-white: #ffffff;
    --text-gray: #a0aec0;
    
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(10, 15, 28, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--text-white);
    line-height: 1.2;
}

h2 span, h1 span {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-header {
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.section-header p {
    font-size: 1.1rem;
}
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 1rem;
    border: none;
    gap: 8px;
}
.btn.sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-color);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--secondary);
}
.whatsapp-btn {
    border-color: #25D366;
    color: #25D366;
}
.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25D366;
}

/* NAVBAR */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}
.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
}
.logo span {
    color: var(--secondary);
}
.navbar {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-list {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
}
.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}
.nav-link:hover {
    color: var(--secondary);
}
.nav-cta {
    padding: 10px 24px;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    transition: var(--transition);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,242,254,0.1) 0%, rgba(0,102,255,0.05) 50%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 90%;
}
.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.trust-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.trust-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #e2e8f0;
}
.trust-points svg {
    color: var(--secondary);
}

/* MOCKUPS */
.hero-visual {
    position: relative;
    height: 500px;
}
.mockup-desktop {
    width: 85%;
    height: 350px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: absolute;
    top: 20px;
    right: 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.browser-header {
    height: 30px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.browser-body { padding: 15px; }
.mock-nav { width: 100%; height: 20px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-bottom: 15px; }
.mock-hero { width: 100%; height: 100px; background: rgba(0,102,255,0.2); border-radius: 8px; margin-bottom: 15px; }
.mock-content { width: 60%; height: 60px; background: rgba(255,255,255,0.05); border-radius: 4px; }

.mockup-mobile {
    width: 220px;
    height: 440px;
    background: #111;
    border: 8px solid #333;
    border-radius: 30px;
    position: absolute;
    bottom: 0;
    left: 10%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.mobile-speaker {
    width: 60px;
    height: 6px;
    background: #222;
    border-radius: 3px;
    margin: 10px auto;
}
.mobile-screen {
    flex: 1;
    background: var(--bg-main);
    padding: 10px;
    position: relative;
}
.mock-mobile-nav { width: 100%; height: 15px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-bottom: 10px;}
.mock-mobile-hero { width: 100%; height: 80px; background: linear-gradient(135deg, rgba(0,102,255,0.2), transparent); border-radius: 6px; margin-bottom: 10px;}
.mock-mobile-cards { width: 100%; height: 50px; background: rgba(255,255,255,0.05); border-radius: 6px; margin-bottom: 10px;}
.floating-notification {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #fff;
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    animation: float 4s ease-in-out infinite;
}
.wa-notif { top: 120px; right: -30px; }
.map-notif { top: 200px; left: -20px; animation-delay: 1s; }
.book-notif { bottom: 30px; right: -10px; animation-delay: 2s; }

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

/* PROBLEM */
.problem-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
}
.problem-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 15px;
}
.cross { color: #ff5f56; font-weight: bold; }
.check { color: #27c93f; font-weight: bold; }
.solution-card {
    background: linear-gradient(145deg, rgba(0,102,255,0.1), rgba(0,242,254,0.05));
    border: 1px solid rgba(0,242,254,0.2);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.solution-card .glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.5;
}
.solution-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.solution-card p {
    margin-bottom: 25px;
}

/* INDUSTRIES */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.industry-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.card-img .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-main), transparent);
}
.card-img .icon {
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
}
.card-content {
    padding: 25px;
}
.card-content h3 { margin-bottom: 10px; font-size: 1.3rem; }
.card-content p { font-size: 0.95rem; margin-bottom: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tags span {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    color: var(--secondary);
}
.card-link {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}
.card-link:hover { color: var(--primary); }

/* SERVICES */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
}
.service-card:hover {
    border-color: var(--secondary);
    background: rgba(255,255,255,0.05);
}
.icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(0,102,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border: 1px solid rgba(0,102,255,0.2);
}
.service-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.service-card p { font-size: 0.9rem; }

/* === FEATURE CARD (Used in Services, Industries, Portfolio) === */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: var(--text-white);
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.feature-card .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}
.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: var(--font-head);
    color: var(--text-white);
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}
/* FEATURES */
.features-flex {
    display: flex;
    gap: 50px;
    align-items: center;
}
.features-list { flex: 1; }
.features-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
}
.features-visual { flex: 1; display: flex; justify-content: center; }
.feature-mock {
    width: 100%;
    max-width: 400px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.fm-header {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    text-align: center;
    font-family: var(--font-head);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}
.fm-body { padding: 30px; display: flex; flex-direction: column; gap: 15px; }
.fm-btn { width: 100%; text-align: center; }
.fm-btn.wa { border-color: #25D366; color: #25D366; }
.fm-form {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}
.fm-input { height: 35px; background: rgba(255,255,255,0.05); border-radius: 4px; margin-bottom: 10px; }
.fm-btn-small { height: 35px; background: var(--primary); border-radius: 4px; width: 50%; }
.fm-map {
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="80"><rect width="400" height="80" fill="%23222"/><line x1="0" y1="0" x2="400" y2="80" stroke="%23333" stroke-width="2"/><line x1="400" y1="0" x2="0" y2="80" stroke="%23333" stroke-width="2"/></svg>');
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* TIMELINE */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 30px;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}
.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}
.tl-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-main);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    flex-shrink: 0;
    z-index: 1;
}
.tl-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 12px;
    flex: 1;
}
.tl-content h3 { margin-bottom: 10px; color: var(--text-white); }

/* PORTFOLIO */
.filter-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.browser-top {
    background: rgba(255,255,255,0.05);
    padding: 10px 15px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
}
.browser-top span { width: 10px; height: 10px; border-radius: 50%; background: #555; }
.portfolio-card .img-wrap {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.pc-content { padding: 25px; position: relative; }
.badge {
    position: absolute;
    top: -15px;
    right: 25px;
    background: var(--secondary);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.pc-content h3 { margin-bottom: 8px; }
.pc-content p { font-size: 0.9rem; margin-bottom: 5px; }
.pc-content .small { font-size: 0.8rem; color: #888; margin-bottom: 20px; }
.pc-btns { display: flex; gap: 10px; }

/* COMPARE */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.compare-card {
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}
.compare-card h3 { font-size: 1.5rem; margin-bottom: 30px; text-align: center; }
.compare-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 12px;
    align-items: center;
}
.compare-card ul li:last-child { border: none; }
.compare-card.premium {
    background: linear-gradient(180deg, rgba(0,102,255,0.1), transparent);
    border-color: var(--primary);
    position: relative;
    overflow: hidden;
}
.compare-card.premium .glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 100px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.3;
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: var(--transition);
}
.price-card:hover { transform: translateY(-10px); }
.price-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(0,102,255,0.05), transparent);
}
.price-card.popular .badge {
    position: absolute;
    top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}
.price-card h3 { font-size: 1.4rem; margin-bottom: 5px; }
.price-card .target { font-size: 0.85rem; color: #888; margin-bottom: 25px; min-height: 40px;}
.price-card .price { font-size: 2.5rem; color: var(--text-white); font-weight: 700; font-family: var(--font-head); margin-bottom: 10px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.price-card .price .currency { font-size: 2.5rem; }
.price-card .price .period { font-size: 0.9rem; color: var(--text-gray); font-weight: 400; font-family: var(--font-body); display: block; width: 100%; margin-top: -5px; }
.price-features { margin-bottom: 30px; list-style: none; padding: 0; }
.price-features li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.price-features li svg { width: 18px; height: 18px; color: var(--secondary); flex-shrink: 0; }
.price-card .features { margin-bottom: 30px; }
.price-card .features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}
.price-card .features li::before {
    content: '✓';
    position: absolute;
    left: 0; color: var(--secondary);
}

/* DEMO FORM */
.demo-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.demo-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-white); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0,102,255,0.05);
}
.form-feedback { margin-top: 15px; font-size: 0.9rem; text-align: center; }

/* TESTIMONIALS */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
}
.stars { color: #ffbd2e; margin-bottom: 15px; font-size: 1.2rem; }
.review-text { font-style: italic; margin-bottom: 20px; font-size: 1.05rem; color: var(--text-white); }
.client-info h4 { font-size: 1.1rem; }
.client-info span { font-size: 0.85rem; color: var(--text-gray); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
}
.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-head);
}
.toggle-icon { font-size: 1.5rem; color: var(--secondary); transition: var(--transition); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-answer p { padding: 0 20px 20px; }

/* CONTACT */
.contact-flex {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
}
.contact-info h3 { font-size: 2rem; margin-bottom: 10px; }
.contact-info > p { margin-bottom: 30px; }
.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.info-item .icon {
    width: 40px; height: 40px;
    background: rgba(0,102,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.info-item strong { display: block; color: var(--text-white); margin-bottom: 5px; }
.info-item a { color: var(--secondary); }

/* FOOTER */
.footer {
    background: var(--bg-darker);
    padding-top: 80px;
    border-top: 1px solid var(--border-color);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}
.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--secondary); }
.social-links { display: flex; gap: 10px; }
.social-ph {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: bold; color: #fff;
}
.social-ph:hover { background: var(--primary); }
.footer-bottom {
    padding: 25px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}
.legal-links { display: flex; gap: 20px; }
.legal-links a:hover { color: #fff; }

/* FLOATING & MOBILE CTA */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}
.floating-wa:hover { transform: scale(1.1); }
.mobile-bottom-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    z-index: 999;
}
.mb-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 600;
}
.mb-btn .icon { font-size: 1.2rem; margin-bottom: 4px; }
.mb-btn.wa { background: #25D366; color: #fff; }
.mb-btn.demo { background: var(--primary); color: #fff; }

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); border-color: var(--primary); }

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container, .demo-box, .contact-flex { grid-template-columns: 1fr; }
    .features-flex { flex-direction: column; }
    .hero-visual { height: 400px; display: flex; justify-content: center; }
    .mockup-desktop { position: relative; width: 100%; top: 0; }
    .mockup-mobile { left: 50%; transform: translateX(-50%); bottom: -50px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
    }
    .navbar.active { left: 0; }
    .nav-list { flex-direction: column; text-align: center; font-size: 1.2rem; }
    .hamburger { display: flex; }
    
    .hero-content h1 { font-size: 2.5rem; }
    .problem-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 30px; }
    .timeline-item { flex-direction: column; gap: 15px; }
    .tl-icon { margin-bottom: -30px; }
    .tl-content { margin-left: 45px; }
    
    .floating-wa { display: none; } /* Hide on mobile to prefer bottom bar */
    .mobile-bottom-cta { display: flex; }
    body { padding-bottom: 60px; } /* Space for bottom cta */
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}


/* --- LIGHT THEME --- */
[data-theme='light'] {
    --bg-main: #f8fafc;
    --bg-darker: #f1f5f9;
    --bg-card: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --primary: #0052cc;
    --primary-hover: #003d99;
    --secondary: #0099b3;
    --text-white: #0f172a;
    --text-gray: #475569;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.05);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin-right: 15px;
    vertical-align: middle;
}
.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}
[data-theme='light'] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}
.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }
[data-theme='light'] .theme-toggle .sun-icon { display: block; }
[data-theme='light'] .theme-toggle .moon-icon { display: none; }

[data-theme='light'] .price-card, [data-theme='light'] .feature-card, [data-theme='light'] .blog-card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
[data-theme='light'] .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}
[data-theme='light'] .btn-outline:hover {
    background: var(--primary);
    color: #fff;
}


/* --- GLOBALLY ADDED BLOG CSS FOR CATEGORY PAGES --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 80px;
}
.blog-card {
    background: var(--bg-card, #151b2b);
    border: 1px solid var(--border-color, #2a3449);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, border 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
}
.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary, #1a73e8);
}
.card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}
.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary, #1a73e8);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 10;
}
.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-content h3 {
    color: var(--text-white, #ffffff);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}
.card-content p {
    color: var(--text-gray, #94a3b8);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}
.card-footer {
    margin-top: auto;
}
.read-more {
    color: var(--primary, #1a73e8);
    font-weight: 600;
    text-decoration: none;
}
.read-more:hover {
    text-decoration: underline;
}

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