/* 
   Praxo Digital Consulting - Core Styles
   Theme: Modern, Minimal, Dark, High-Tech, Premium
*/

:root {
    /* Colors */
    --bg-color: #0B0E14;
    /* Deep dark blue/black */
    --surface-color: #151A23;
    /* Slightly lighter dark */
    --text-primary: #FFFFFF;
    --text-secondary: #A0AAB4;
    --accent-color: #00F0FF;
    /* Cyber/Tech Cyan */
    --accent-hover: #00C8D6;
    --border-color: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --gradient-text: linear-gradient(90deg, #FFFFFF 0%, #00F0FF 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(0, 240, 255, 0.15) 0%, transparent 70%);

    /* Fonts */
    --font-main: 'Outfit', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

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

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo img {
    height: 100px;
    /* Reduced to 50% */
    width: auto;
}

.footer-logo {
    height: 40px;
    /* Reduced specific size for footer */
    width: auto;
    margin-bottom: 15px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: 0.3s ease-in-out;
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* For header */
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

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

.hero-bg-glow {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: var(--gradient-glow);
    filter: blur(80px);
    /* Enhance glow */
    pointer-events: none;
    z-index: 1;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header .subtitle {
    font-size: 1.1rem;
}

.line {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 20px auto 0;
}

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

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Why Praxo */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.check-icon {
    color: var(--accent-color);
    font-weight: bold;
}

.why-visual {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.stat-card {
    text-align: center;
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    /* Allow horizontal scroll on mobile if preferred, but grid wrap is safer */
}

.stars {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.client-info {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.client-info strong {
    display: block;
    color: var(--text-primary);
}

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

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 240, 255, 0.05) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item .label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.info-item .value {
    font-size: 1.5rem;
    font-weight: 500;
}

.contact-form-wrapper {
    padding: 3rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 50px 0;
    background: #080A0F;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-links a {
    margin-left: 20px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    width: 100%;
    margin-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .why-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    /* Adjust Logo for Mobile */
    .logo img {
        height: 60px;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

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

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* Animations - Helper Classes */
.fade-in {
    opacity: 1;
    /* Changed to 1 to ensure visibility */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    opacity: 1;
    /* Changed to 1 to ensure visibility */
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


/* Polished WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #25D366;
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}