/* ============================================
   Ramsoft S.T.E - Landing Page Styles
   Color Palette extracted from logo:
   - Dark Navy:  #0D2B45
   - Medium Blue: #1B7BAE
   - Bright Cyan: #4DC8E8 (CTAs)
   - Teal: #2A9EC2
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --navy: #0D2B45;
    --navy-light: #132f4c;
    --blue: #1B7BAE;
    --cyan: #1B7BAE;
    --teal: #2A9EC2;
    --cyan-glow: rgba(27, 123, 174, 0.20);
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: rgba(27, 123, 174, 0.06);
    --surface: #0D2B45;
    --text-primary: #1a2332;
    --text-secondary: #4a5e73;
    --text-muted: #6b829b;
    --border: rgba(13, 43, 69, 0.10);
    --border-hover: rgba(27, 123, 174, 0.35);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
    --shadow-glow: 0 0 30px var(--cyan-glow);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ---------- Typography ---------- */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(77,200,232,0.1);
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(77,200,232,0.2);
    margin-bottom: 20px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
}
.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}
.text-accent { color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    padding: 12px 28px;
    white-space: nowrap;
}
.btn svg, .btn i { width: 18px; height: 18px; }
.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(77,200,232,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(77,200,232,0.45);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-hover);
}
.btn-outline:hover {
    background: rgba(77,200,232,0.08);
    border-color: var(--cyan);
    transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-form { width: 100%; justify-content: center; padding: 14px; }

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(13,43,69,0.08);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-logo { display: flex; align-items: center; }
.logo-img { height: 52px; width: auto; }
.navbar-links {
    display: flex;
    gap: 8px;
}
.nav-link {
    font-size: 1.05rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    color: var(--text-secondary);
}
.nav-link:hover, .nav-link.active {
    color: var(--cyan);
    background: rgba(77,200,232,0.08);
}
.navbar-cta {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: var(--navy);
    transition: var(--transition);
}
.navbar-cta:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); }

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(6,14,24,0.75) 0%,
        rgba(6,14,24,0.60) 40%,
        rgba(6,14,24,0.85) 100%
    );
}
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 0 80px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #4DC8E8;
    background: rgba(77,200,232,0.08);
    border: 1px solid rgba(77,200,232,0.2);
    padding: 8px 22px;
    border-radius: 50px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: #4DC8E8;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(77,200,232,0.6); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(77,200,232,0); }
}
.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #f0f4f8;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}
.hero-title-accent {
    background: linear-gradient(90deg, #4DC8E8, #1B7BAE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: #94a7bf;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.45s both;
}
.hero .btn-outline {
    color: #f0f4f8;
    border-color: rgba(77,200,232,0.3);
}
.hero .btn-outline:hover {
    background: rgba(77,200,232,0.08);
    border-color: #4DC8E8;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}
.hero-stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #4DC8E8;
    display: block;
}
.hero-stat-label {
    font-size: 0.82rem;
    color: #5d7a96;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(77,200,232,0.15);
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}
.hero-scroll-indicator a { color: var(--text-muted); }
.hero-scroll-indicator svg { width: 28px; height: 28px; }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== SERVICES ==================== */
.services {
    padding: 120px 0;
    position: relative;
    background: #ffffff;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(13,43,69,0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px 32px;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.service-card-glow {
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.service-card:hover .service-card-glow { opacity: 1; }
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.service-card-featured {
    border-color: rgba(27,123,174,0.2);
    background: linear-gradient(180deg, rgba(27,123,174,0.04) 0%, #ffffff 100%);
}
.service-featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: var(--navy);
}
.service-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(27,123,174,0.07);
    border: 1px solid rgba(27,123,174,0.12);
    color: var(--icon-color, var(--teal));
}
.service-icon svg { width: 26px; height: 26px; }
.service-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(13,43,69,0.06);
}
.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.service-description {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.service-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}
.service-features li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--teal);
    margin-top: 2px;
}
.service-features li strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.service-features li span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.service-card-footer { margin-top: auto; }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cyan);
    transition: var(--transition);
}
.service-link:hover { gap: 14px; }
.service-link svg { width: 16px; height: 16px; }

/* ==================== WHY US ==================== */
.why-us {
    padding: 120px 0;
    position: relative;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}
.advantage-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(13,43,69,0.08);
    background: #ffffff;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.advantage-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: rgba(27,123,174,0.04);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.advantage-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: var(--radius-md);
    background: rgba(27,123,174,0.07);
    color: var(--teal);
}
.advantage-icon svg { width: 24px; height: 24px; }
.advantage-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.advantage-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Counters */
.counters-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.counter-card {
    text-align: center;
    padding: 36px 20px 28px;
    background: #ffffff;
    border: 1px solid rgba(13,43,69,0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.counter-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}
.counter-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(77,200,232,0.15), rgba(42,158,194,0.08));
    color: var(--cyan);
}
.counter-icon svg { width: 22px; height: 22px; }
.counter-value {
    font-size: 2.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}
.counter-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.counter-bar {
    height: 3px;
    background: rgba(77,200,232,0.1);
    border-radius: 4px;
    overflow: hidden;
}
.counter-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--cyan), var(--teal));
    border-radius: 4px;
    transition: width 1.5s ease-out;
}
.counter-bar-fill.animated { width: var(--fill); }

/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    padding: 80px 0 0;
    background: var(--navy);
    border-top: none;
    overflow: hidden;
    color: #c8d6e5;
}
.footer-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(77,200,232,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f0f4f8;
}
.footer-logo-text span { color: #4DC8E8; }
.footer-tagline {
    font-size: 0.9rem;
    color: #8da3b8;
    line-height: 1.7;
    margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; }
.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.12);
    color: #8da3b8;
    transition: var(--transition);
}
.social-link:hover {
    color: #4DC8E8;
    border-color: #4DC8E8;
    background: rgba(77,200,232,0.08);
    transform: translateY(-2px);
}
.social-link svg { width: 18px; height: 18px; }
.footer-links-group h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #f0f4f8;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links-group a {
    font-size: 0.85rem;
    color: #8da3b8;
    transition: var(--transition);
}
.footer-links-group a:hover { color: #4DC8E8; padding-left: 4px; }

/* Contact Form */
.footer-contact-form h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 0.88rem;
    color: #f0f4f8;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
    resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: #6b829b;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #4DC8E8;
    box-shadow: 0 0 0 3px rgba(77,200,232,0.15);
}

.footer-contact-info {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #8da3b8;
}
.contact-item svg { width: 18px; height: 18px; color: #4DC8E8; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.8rem;
    color: #5d7a96;
}
.heart { color: #e74c3c; }

/* ==================== WHATSAPP WIDGET ==================== */
.whatsapp-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: var(--navy);
    box-shadow: 0 4px 24px rgba(77,200,232,0.4);
    transition: var(--transition);
    animation: whatsapp-pulse 2.5s infinite;
}
.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 32px rgba(77,200,232,0.55);
}
.whatsapp-icon { width: 30px; height: 30px; }
.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--navy-light);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}
@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(77,200,232,0.4); }
    50% { box-shadow: 0 4px 24px rgba(77,200,232,0.15), 0 0 0 12px rgba(77,200,232,0.08); }
}

/* ==================== ANIMATIONS ==================== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .counters-section { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar-links, .navbar-cta { display: none; }
    .navbar-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(16px);
        padding: 24px;
        border-bottom: 1px solid rgba(13,43,69,0.08);
        gap: 4px;
    }
    .navbar-toggle { display: flex; }
    .hero-content { padding: 120px 0 80px; }
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .hero-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
    .hero-stat-divider { display: none; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-contact-info { flex-direction: column; align-items: center; gap: 16px; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .advantages-grid { grid-template-columns: 1fr; }
    .counters-section { grid-template-columns: 1fr 1fr; }
    .hero-actions { flex-direction: column; }
    .btn-lg { width: 100%; justify-content: center; }
}
