/* ==========================================================================
   GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
    --primary: #E63946;
    --secondary: #FF1744;
    --accent: #C1121F;
    --accent-blue: #FF3D5F;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --dark-bg: #0a0a0f;
    --dark-card: #1a1a2e;
    --dark-hover: #242436;
    --dark-border: #3a1a1f;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    --gradient-primary: linear-gradient(135deg, #FF1744 0%, #E63946 100%);
    --gradient-accent: linear-gradient(135deg, #FF1744 0%, #C1121F 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 20px rgba(255, 23, 68, 0.4);
    --shadow-glow-purple: 0 0 20px rgba(230, 57, 70, 0.3);
}

body.light-mode {
    --dark-bg: #f4f6fa;
    --dark-card: #ffffff;
    --dark-hover: #eaf0f9;
    --dark-border: #e8d5d9;
    --text-primary: #091124;
    --text-secondary: #344161;
    --text-muted: #627293;
}

body.light-mode .cursor-outline {
    border: 2px solid rgba(230, 57, 70, 0.4);
}

body.light-mode .navbar {
    background: rgba(244, 246, 250, 0.7);
    border-bottom: 1px solid rgba(230, 57, 70, 0.08);
}

body.light-mode .navbar.scrolled {
    background: rgba(244, 246, 250, 0.95);
    border-bottom: 1px solid var(--dark-border);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

@media (min-width: 993px) {
    body, 
    a, button, input, select, textarea, 
    .btn, .eng-card, .pricing-card, .testimonial-card, 
    .work-item, .portfolio-item, .dev-item, .blog-card, .team-card, .card {
        cursor: none !important;
    }
}

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

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

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

.highlight {
    color: var(--secondary);
}

/* ==========================================================================
   CURSOR & INTERACTIVE
   ========================================================================== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none !important;
    z-index: 999999;
    border-radius: 50%;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 23, 68, 0.4);
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none !important;
    z-index: 999998;
    border-radius: 50%;
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

.cursor-dot.hover {
    width: 12px;
    height: 12px;
    background-color: var(--primary);
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: var(--primary);
    background-color: rgba(230, 57, 70, 0.05);
}

/* Hide custom cursor on touch / small screens (no real mouse) */
@media (max-width: 992px) {
    body, a, button, input, select, textarea, .btn, * {
        cursor: auto !important;
    }
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

@media (hover: none), (pointer: coarse) {
    body, a, button, input, select, textarea, .btn, * {
        cursor: auto !important;
    }
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.95rem;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 23, 68, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(10, 12, 22, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 12, 22, 0.95);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--dark-border);
}

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

.logo-brand {
    display: flex;
    align-items: center;
    height: 60px;
    transition: var(--transition);
}

.nav-logo-img {
    height: 100% !important;
    width: auto !important;
    object-fit: contain;
    mix-blend-mode: normal;
    transition: var(--transition);
}

.navbar.scrolled .logo-brand {
    height: 42px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 10px;
}

.nav-close-btn {
    display: none !important;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
    background: rgba(255, 23, 68, 0.08);
}

.navbar-controls-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-switch {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--dark-border);
}

.theme-switch:hover {
    background: var(--secondary);
    color: var(--dark-bg);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--dark-border);
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
    background: radial-gradient(circle at 80% 20%, rgba(255, 23, 68, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(230, 57, 70, 0.08) 0%, transparent 50%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-product {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: float 3s ease-in-out infinite;
}

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

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.25;
}

.shape-1 {
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: var(--primary);
}

.shape-2 {
    bottom: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: var(--secondary);
}

.shape-3 {
    top: 50%;
    right: 45%;
    width: 200px;
    height: 200px;
    background: var(--accent);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(15,15,30,1) 0%, rgba(26,26,46,0.8) 100%);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

body.light-mode .stats-section {
    background: linear-gradient(180deg, #f0f4f9 0%, #e8f0f8 100%);
    border-top: 1px solid rgba(230, 57, 70, 0.1);
    border-bottom: 1px solid rgba(230, 57, 70, 0.1);
}

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

.stat-item h3 {
    font-size: 3rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================================================
   SOLUTIONS SECTION
   ========================================================================== */
.solutions {
    padding: 80px 0;
    background: rgba(15, 15, 30, 0.5);
}

body.light-mode .solutions {
    background: rgba(255, 255, 255, 0.5);
}

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

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================================================
   AI SECTION
   ========================================================================== */
.ai-section {
    padding: 100px 0;
    background: rgba(26, 26, 46, 0.5);
}

body.light-mode .ai-section {
    background: rgba(240, 244, 249, 0.8);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ai-text h3 {
    font-size: 2rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.ai-text h3 i {
    color: var(--secondary);
    margin-right: 10px;
}

.ai-text p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1rem;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 23, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

.ai-image {
    display: flex;
    justify-content: center;
}

.ai-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ==========================================================================
   ENGINEERING SECTION
   ========================================================================== */
.engineering-section {
    padding: 100px 0;
}

.engineering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.eng-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition);
    text-align: center;
}

body.light-mode .eng-card {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.eng-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
}

.card-header {
    width: 60px;
    height: 60px;
    background: rgba(255, 23, 68, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    margin: 0 auto 20px;
}

.eng-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.eng-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   CUSTOM DEV SECTION
   ========================================================================== */
.custom-dev {
    padding: 100px 0;
    background: rgba(15, 15, 30, 0.5);
}

body.light-mode .custom-dev {
    background: rgba(240, 244, 249, 0.8);
}

.dev-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.dev-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

body.light-mode .dev-item {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dev-item:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
}

.dev-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.dev-item:hover img {
    transform: scale(1.05);
}

.dev-info {
    padding: 25px;
}

.dev-info h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.dev-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   DEV STATS SECTION
   ========================================================================== */
.dev-stats {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(15,15,30,1) 0%, rgba(26,26,46,0.8) 100%);
    border-top: 1px solid var(--dark-border);
}

body.light-mode .dev-stats {
    background: linear-gradient(180deg, #f4f6fa 0%, #e8f0f8 100%);
    border-top: 1px solid rgba(230, 57, 70, 0.1);
}

.stats-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ==========================================================================
   CUTTING EDGE SECTION
   ========================================================================== */
.cutting-edge {
    padding: 100px 0;
}

.edge-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.edge-text h2 {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature {
    display: flex;
    gap: 20px;
}

.feature-dot {
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-info h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.feature-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.edge-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */
.process-section {
    padding: 100px 0;
    background: rgba(15, 15, 30, 0.5);
}

body.light-mode .process-section {
    background: rgba(240, 244, 249, 0.8);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 15px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    position: relative;
    transition: var(--transition);
}

body.light-mode .process-item {
    background: #ffffff;
    border: 1px dashed rgba(230, 57, 70, 0.2);
}

.process-item:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-glow);
}

.process-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 23, 68, 0.15);
    font-family: 'Montserrat', sans-serif;
}

.process-item h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
}

.process-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */
.portfolio {
    padding: 100px 0;
    background: rgba(15, 15, 30, 0.7);
    border-top: 1px solid var(--dark-border);
}

body.light-mode .portfolio {
    background: rgba(248, 250, 252, 0.8);
    border-top: 1px solid rgba(230, 57, 70, 0.1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-md);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 12, 22, 0.95) 0%, rgba(10, 12, 22, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
    transform: translateY(20px);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.portfolio-overlay p {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
}

.faq-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

body.light-mode .faq-item {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    border-color: var(--secondary);
}

.faq-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
}

.faq-header h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
}

.faq-toggle {
    color: var(--secondary);
    transition: var(--transition);
    transform: rotate(0deg);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-content {
    max-height: 300px;
    padding: 0 20px 20px;
}

.faq-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background: rgba(15, 15, 30, 0.5);
}

body.light-mode .contact-section {
    background: rgba(240, 244, 249, 0.8);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 23, 68, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.info-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   LOADER ANIMATION (AVENTECHS STYLE)
   ========================================================================== */
.loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: var(--dark-bg);
    z-index: 9999;
}

.loader-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neon-loader {
    position: relative;
    width: 100px;
    height: 100px;
}

/* Main neon glow circle */
.loader-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 3px solid transparent;
    border-top: 3px solid var(--secondary);
    border-right: 3px solid rgba(255, 23, 68, 0.5);
    border-radius: 50%;
    animation: spin-loader 2s linear infinite;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.6);
}

.loader-circle::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(255, 23, 68, 0.3);
    border-radius: 50%;
    animation: spin-loader 3s linear infinite reverse;
    box-shadow: inset 0 0 15px rgba(255, 23, 68, 0.3);
}

.loader-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--secondary);
}

/* Inner pulsing dot */
.loader-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-loader 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--secondary);
}

@keyframes spin-loader {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse-loader {
    0%, 100% {
        box-shadow: 0 0 10px var(--secondary);
        width: 8px;
        height: 8px;
    }
    50% {
        box-shadow: 0 0 20px var(--secondary);
        width: 12px;
        height: 12px;
    }
}

/* Loading text */
.loader-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    animation: blink-text 1.5s ease-in-out infinite;
}

@keyframes blink-text {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #06080f;
    padding: 50px 0 30px;
    border-top: 1px solid var(--dark-border);
}

body.light-mode .footer {
    background: #f0f4f9;
    border-top: 1px solid rgba(230, 57, 70, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark-bg);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--dark-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   WHATSAPP & FLOATING ELEMENTS
   ========================================================================== */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 5000;
    display: flex;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0) translateY(50px);
    pointer-events: none;
}

.whatsapp-container.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.whatsapp-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: float-bounce 3s ease-in-out infinite;
}

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

/* Hidden state: container slides off to the right edge */
.whatsapp-container.hidden {
    transform: translateX(140px) scale(1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Edge arrow tab that re-opens WhatsApp */
.toggle-arrow {
    position: fixed;
    right: 0;
    bottom: 40px;
    width: 22px;
    height: 45px;
    /* background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); */
    background: #FF1744;
    color: white;
    border-radius: 15px 0 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 0 20px rgba(211, 40, 37, 0.3);
    cursor: pointer;
    z-index: 4999;
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.toggle-arrow.visible {
    opacity: 1;
    visibility: visible;
}

.toggle-arrow i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.toggle-arrow:hover {
    width: 48px;
    /* background: linear-gradient(135deg, #20c997 0%, #12a89d 100%); */
    background: #FF1744;
}

.toggle-arrow:hover i {
    transform: translateX(-4px);
}

.whatsapp-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
}

.whatsapp-icon:hover::before {
    background: rgba(255, 255, 255, 0.1);
}

.whatsapp-icon i {
    color: white;
    font-size: 30px;
    position: relative;
    z-index: 1;
}

.whatsapp-icon:hover {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.whatsapp-icon:active {
    transform: scale(0.95);
}

.whatsapp-tooltip {
    position: absolute;
    right: 85px;
    background: linear-gradient(135deg, var(--dark-card) 0%, rgba(20, 20, 25, 0.8) 100%);
    border: 1px solid var(--dark-border);
    color: var(--secondary);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-container.show .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse animation for attention */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 15px 45px rgba(37, 211, 102, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

.whatsapp-icon.pulse {
    animation: whatsapp-pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 30px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-product {
        order: -1;
    }

    .ai-content,
    .edge-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .engineering-grid {
        grid-template-columns: 1fr;
    }

    .dev-showcase {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: var(--dark-bg);
        backdrop-filter: blur(10px);
        padding: 100px 20px 20px 20px;
        border-bottom: none;
        z-index: 1999;
        gap: 20px;
        justify-content: flex-start;
        align-items: center;
        padding-left: 20px;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        transform: translateX(-100%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .menu-toggle {
        display: flex !important;
    }

    .nav-close-btn {
        display: none !important;
    }

    .nav-links.active .nav-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        list-style: none;
        display: list-item !important;
    }

    .nav-links.active .nav-close-btn button {
        background: rgba(255, 23, 68, 0.1);
        border: 1px solid rgba(255, 23, 68, 0.3);
        color: var(--secondary);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .nav-links.active .nav-close-btn button:hover {
        background: rgba(255, 23, 68, 0.2);
        box-shadow: 0 0 15px rgba(255, 23, 68, 0.4);
    }

    .nav-links.active a {
        padding: 12px 20px;
        font-size: 1.1rem;
        width: 100%;
        display: block;
        color: var(--text-primary);
        transition: all 0.3s ease;
        text-align: center;
    }

    .nav-links.active a:hover {
        color: var(--secondary);
        padding-left: 30px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero-text p,
    .section-title p {
        font-size: 0.95rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(255, 23, 68, 0.10) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(230, 57, 70, 0.10) 0%, transparent 50%);
}

.page-hero-content {
    position: relative;
    z-index: 10;
    max-width: 760px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb .sep {
    color: var(--secondary);
}

.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services grid */
.services-list {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

body.light-mode .service-card {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .card-header {
    width: 64px;
    height: 64px;
    background: rgba(255, 23, 68, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
}

.service-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.service-features li i {
    color: var(--secondary);
    font-size: 0.85rem;
}

/* Tech stack */
.tech-section {
    padding: 100px 0;
    background: rgba(15, 15, 30, 0.5);
}

body.light-mode .tech-section {
    background: rgba(240, 244, 249, 0.8);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.tech-pill {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
}

body.light-mode .tech-pill {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tech-pill:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
}

.tech-pill i {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.tech-pill span {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* CTA band */
.cta-band {
    padding: 90px 0;
    text-align: center;
}

.cta-inner {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: var(--shadow-glow);
}

.cta-inner h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cta-inner .btn {
    background: #ffffff;
    color: var(--accent);
}

.cta-inner .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner h2 {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-story {
    padding: 100px 0;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-story-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 18px;
    line-height: 1.7;
}

.about-story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.about-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Mission / Vision / Values */
.mvv-section {
    padding: 100px 0;
    background: rgba(15, 15, 30, 0.5);
}

body.light-mode .mvv-section {
    background: rgba(240, 244, 249, 0.8);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.mvv-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px 32px;
    transition: var(--transition);
}

body.light-mode .mvv-card {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mvv-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
}

.mvv-card .card-header {
    width: 64px;
    height: 64px;
    background: rgba(255, 23, 68, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.mvv-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.mvv-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Team */
.team-section {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
}

body.light-mode .team-card {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
}

.team-photo {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

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

.team-card:hover .team-photo img {
    transform: scale(1.08);
}

.team-info {
    padding: 24px 20px;
}

.team-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.team-info .role {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.team-socials a {
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.team-socials a:hover {
    color: var(--secondary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-story-text h2 {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: stretch;
}

/* Left: info column */
.contact-info-col h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info-col > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-detail .icon-box {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(255, 23, 68, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
}

.contact-detail h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--secondary);
}

.contact-socials {
    display: flex;
    gap: 14px;
}

.contact-socials a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

body.light-mode .contact-socials a {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.contact-socials a:hover {
    color: #fff;
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-4px);
}

/* Right: form card */
.contact-form-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px;
}

body.light-mode .contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-form-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
    background: #f7f9fc;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form-card .btn {
    width: 100%;
    justify-content: center;
}

.form-note {
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
}

/* Form status message */
.form-status {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    display: none;
}

.form-status.show {
    display: block;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* Map */
.map-section {
    padding-bottom: 100px;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--dark-border);
    height: 400px;
    filter: grayscale(0.2) contrast(1.05);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-card {
        padding: 28px 22px;
    }

    .contact-info-col h2 {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   PORTFOLIO PAGE
   ========================================================================== */
.portfolio-section {
    padding: 100px 0;
}

/* Filter buttons */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 26px;
    border-radius: 50px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    color: var(--text-secondary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

body.light-mode .filter-btn {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.12);
}

.filter-btn:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

/* Portfolio grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.work-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    border: 1px solid var(--dark-border);
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.7);
}

.work-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.45);
}

.work-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.92) 0%, rgba(10, 10, 15, 0.3) 60%, transparent 100%);
    transition: var(--transition);
}

.work-tag {
    align-self: flex-start;
    background: rgba(255, 23, 68, 0.15);
    color: var(--secondary);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 23, 68, 0.25);
}

.work-overlay h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.work-overlay p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.work-item:hover .work-link {
    opacity: 1;
    transform: translateY(0);
}

.work-item.hide {
    display: none;
}

/* Stats band */
.work-stats {
    padding: 80px 0;
    background: rgba(15, 15, 30, 0.5);
}

body.light-mode .work-stats {
    background: rgba(240, 244, 249, 0.8);
}

.work-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    text-align: center;
}

.work-stat h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.work-stat p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

body.light-mode .pricing-card {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.plan-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.plan-price {
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.plan-price .amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--secondary);
}

.plan-price .period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.plan-features li i {
    color: var(--secondary);
    font-size: 0.85rem;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 36px;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 100px 0;
    background: rgba(15, 15, 30, 0.5);
}

body.light-mode .testimonials-section {
    background: rgba(240, 244, 249, 0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 36px 30px;
    transition: var(--transition);
    position: relative;
}

body.light-mode .testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
}

.quote-icon {
    font-size: 1.6rem;
    color: var(--secondary);
    opacity: 0.5;
    margin-bottom: 18px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 26px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #fbbf24;
    font-size: 0.9rem;
}

/* ==========================================================================
   BLOG PAGE
   ========================================================================== */
.blog-section {
    padding: 100px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

body.light-mode .blog-card {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
}

.blog-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-thumb img {
    transform: scale(1.07);
}

.blog-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 50px;
}

.blog-body {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 18px;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 14px;
}

.blog-meta i {
    color: var(--secondary);
    margin-right: 5px;
}

.blog-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-body p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    align-self: flex-start;
}

.blog-link:hover {
    gap: 12px;
}

/* Newsletter */
.newsletter-section {
    padding: 0 0 100px;
}

.newsletter-inner {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
}

body.light-mode .newsletter-inner {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.newsletter-inner h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.newsletter-inner p {
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 28px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 220px;
    padding: 14px 16px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

body.light-mode .newsletter-form input {
    background: #f7f9fc;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.12);
}

@media (max-width: 768px) {
    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   PROJECT DETAIL PAGE (WEB + APP)
   ========================================================================== */
.project-detail-section {
    padding: 100px 0;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: start;
}

.project-detail-media {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 160px);
    overflow: hidden;
}

.project-detail-media img {
    width: 100%;
    height: 100%;
    max-height: calc(900vh - 160px);
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--dark-border);
}

/* App-type project pages (image gallery) — don't clip like the single sticky preview */
.project-detail-media:has(.project-gallery) {
    position: static;
    max-height: none;
    overflow: visible;
}

.project-detail-media:has(.project-gallery) img {
    height: auto;
    max-height: none;
    object-fit: initial;
}

@media (max-width: 992px) {
    .project-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Sticky positioning has no purpose once columns stack, and was
       causing the image to overflow onto the text below on small
       screens — turn it off entirely on mobile. */
    .project-detail-media {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .project-detail-media img {
        height: auto;
        max-height: none;
        object-fit: initial;
    }
}

.project-cat-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.project-detail-info h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.project-detail-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 14px;
    position: relative;
    max-height: 158px; /* ~5 lines at 1.8 line-height, keeps card height predictable */
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.project-detail-desc.no-clamp {
    max-height: none;
    overflow: visible;
}

.project-detail-desc.expanded {
    max-height: 10000px;
}

.project-detail-desc:not(.expanded):not(.no-clamp)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: linear-gradient(transparent, var(--dark-bg));
    pointer-events: none;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    margin-bottom: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}

.read-more-btn:hover {
    gap: 10px;
}

.read-more-btn i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.read-more-btn.expanded i {
    transform: rotate(180deg);
}

.project-meta-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 34px;
    padding: 24px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
}

.project-meta-item h5 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.project-meta-item p {
    font-size: 0.98rem;
    color: var(--text-primary);
    font-weight: 500;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.tech-tag {
    padding: 7px 16px;
    background: rgba(255, 23, 68, 0.08);
    border: 1px solid rgba(255, 23, 68, 0.2);
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 50px;
}

.project-detail-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* App-type gallery (no live preview, image showcase instead) */
/* .project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
} */

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}

.project-gallery img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--dark-border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.project-gallery img:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

@media (max-width: 576px) {
    .project-gallery {
        /* grid-template-columns: 1fr; */
    }
}

/* ==========================================================================
   DISCOVERY CALL MODAL & WORKFLOW STYLES
   ========================================================================== */
.discovery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 8, 14, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 16px 30px 16px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.discovery-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.discovery-modal-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    background: #0f101a;
    border: 1px solid rgba(255, 23, 68, 0.3);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 23, 68, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: auto;
}

body.light-mode .discovery-modal-card {
    background: #ffffff;
    border: 1px solid rgba(230, 57, 70, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 25px rgba(230, 57, 70, 0.1);
}

.discovery-modal-overlay.active .discovery-modal-card {
    transform: scale(1) translateY(0);
}

.discovery-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 20;
}

.discovery-modal-close:hover {
    background: rgba(255, 23, 68, 0.2);
    color: var(--secondary);
    transform: rotate(90deg);
}

.discovery-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 23, 68, 0.12);
    border: 1px solid rgba(255, 23, 68, 0.3);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.discovery-modal-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.discovery-modal-header p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.discovery-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.discovery-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.discovery-form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.discovery-form-group label i {
    color: var(--secondary);
}

.discovery-form-group input,
.discovery-form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    transition: var(--transition);
}

body.light-mode .discovery-form-group input,
body.light-mode .discovery-form-group select {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #1e293b;
}

.discovery-form-group input:focus,
.discovery-form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.15);
}

.discovery-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    margin-top: 8px;
    font-size: 1rem;
    border-radius: 12px;
}

.discovery-modal-trust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: var(--text-muted);
}

body.light-mode .discovery-modal-trust {
    border-top-color: rgba(0, 0, 0, 0.08);
}

/* Select Dropdown Styling */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23FF1744' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 20px !important;
    padding-right: 40px !important;
    cursor: pointer;
}

select option {
    background-color: #161726 !important;
    color: #f8fafc !important;
    padding: 12px 16px !important;
    font-size: 0.95rem;
}

select option:hover,
select option:focus,
select option:checked {
    background-color: #FF1744 !important;
    color: #ffffff !important;
}

body.light-mode select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23E63946' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") !important;
}

body.light-mode select option {
    background-color: #ffffff !important;
    color: #091124 !important;
}

body.light-mode select option:hover,
body.light-mode select option:focus,
body.light-mode select option:checked {
    background-color: #E63946 !important;
    color: #ffffff !important;
}

.discovery-modal-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 576px) {
    .discovery-modal-overlay {
        padding: 85px 12px 20px 12px;
        align-items: flex-start;
    }
    
    .discovery-modal-card {
        padding: 24px 18px;
        border-radius: 20px;
        max-height: calc(100vh - 100px);
    }
    
    .discovery-modal-close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
        font-size: 1.3rem;
    }
    
    .discovery-modal-header h3 {
        font-size: 1.35rem;
        padding-right: 28px;
    }
    
    .discovery-modal-header p {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }
}

.discovery-modal-trust span i {
    color: var(--secondary);
}