/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', sans-serif; color: #ffffff; background: #0f1923; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 8px; font-weight: 600;
    font-size: 0.95rem; transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #4ecdc4, #2196f3);
    color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(78, 205, 196, 0.35); }
.btn-outline {
    background: transparent; border: 2px solid rgba(255,255,255,0.3); color: #fff;
}
.btn-outline:hover { border-color: #4ecdc4; color: #4ecdc4; }
.btn-secondary {
    background: rgba(78, 205, 196, 0.15); border: 2px solid #4ecdc4; color: #4ecdc4;
}
.btn-secondary:hover { background: rgba(78, 205, 196, 0.25); }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 16px 0; transition: all 0.3s ease;
    background: rgba(15, 25, 35, 0.6); backdrop-filter: blur(12px);
}
.navbar.scrolled { background: rgba(15, 25, 35, 0.95); padding: 10px 0; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-img { height: 70px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #4ecdc4; }
.nav-cta { padding: 10px 20px !important; font-size: 0.85rem !important; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: all 0.3s; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #1a2332 0%, #0f1923 50%, #162231 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(78,205,196,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-tag {
    display: inline-block; font-size: 0.85rem; color: #4ecdc4;
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; color: #fff; }
.hero p { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 28px; max-width: 500px; }

.hero-badges { display: flex; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.badge svg { width: 20px; height: 20px; color: #4ecdc4; flex-shrink: 0; }

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

/* Dashboard Cards */
.hero-visual { display: flex; align-items: center; }
.dashboard-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%;
}
.dashboard-card {
    background: rgba(255,255,255,0.07); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
    padding: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s, border-color 0.3s;
}
.dashboard-card:hover { transform: translateY(-4px); border-color: rgba(78,205,196,0.3); }
.card-header { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.5); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.card-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.card-value { font-size: 1.5rem; font-weight: 700; color: #fff; }
.card-change.positive { color: #4ecdc4; font-size: 0.8rem; font-weight: 600; }

.card-efficiency { text-align: center; }

@property --fill {
    syntax: '<percentage>';
    initial-value: 0%;
    inherits: false;
}
.efficiency-circle {
    width: 70px; height: 70px; border-radius: 50%;
    --fill: 0%;
    background: conic-gradient(#4ecdc4 var(--fill), rgba(255,255,255,0.1) var(--fill));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700; margin: 8px auto;
    position: relative;
}
.efficiency-circle.animated {
    animation: fillCircle 1.5s ease-out forwards;
}
@keyframes fillCircle {
    from { --fill: 0%; }
    to   { --fill: 87%; }
}
.efficiency-circle::before {
    content: ''; position: absolute; inset: 6px; background: #1a2332; border-radius: 50%;
}
.efficiency-circle::after {
    content: '87%'; position: absolute; font-size: 1rem; font-weight: 700;
}

.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin-top: 10px; }
.mini-chart .bar {
    flex: 1; background: linear-gradient(to top, #4ecdc4, #2196f3);
    border-radius: 3px 3px 0 0; min-width: 12px;
    transform-origin: bottom; transform: scaleY(0);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mini-chart.animated .bar { transform: scaleY(1); }
.mini-chart .bar:nth-child(1) { transition-delay: 0.1s; }
.mini-chart .bar:nth-child(2) { transition-delay: 0.2s; }
.mini-chart .bar:nth-child(3) { transition-delay: 0.3s; }
.mini-chart .bar:nth-child(4) { transition-delay: 0.4s; }
.mini-chart .bar:nth-child(5) { transition-delay: 0.5s; }
.mini-chart .bar:nth-child(6) { transition-delay: 0.6s; }
.mini-chart .bar:nth-child(7) { transition-delay: 0.7s; }

.dashboard-card { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, border-color 0.3s; }
.dashboard-card.animated { opacity: 1; transform: none; }
.dashboard-card:nth-child(1) { transition-delay: 0s; }
.dashboard-card:nth-child(2) { transition-delay: 0.15s; }
.dashboard-card:nth-child(3) { transition-delay: 0.3s; }
.dashboard-card:nth-child(4) { transition-delay: 0.45s; }
.dashboard-card.animated:nth-child(1) { animation: cardFloat 4s ease-in-out 0.6s infinite; }
.dashboard-card.animated:nth-child(2) { animation: cardFloat 4.5s ease-in-out 0.75s infinite; }
.dashboard-card.animated:nth-child(3) { animation: cardFloat 5s ease-in-out 0.9s infinite; }
.dashboard-card.animated:nth-child(4) { animation: cardFloat 4.2s ease-in-out 1.05s infinite; }
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.integration-list { margin: 8px 0; }
.integration-list li { font-size: 0.8rem; padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.green { background: #4ecdc4; }
.dot.orange { background: #f0a500; }
.dot.blue { background: #2196f3; }


/* ===== CHALLENGES ===== */
.challenges { padding: 80px 0; background: #0f1923; }
.challenges h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 48px; }
.challenges-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.challenge-card {
    background: linear-gradient(135deg, rgba(26,35,50,0.8), rgba(22,34,49,0.9));
    border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
    padding: 28px 24px; transition: transform 0.3s, border-color 0.3s;
}
.challenge-card:hover { transform: translateY(-4px); border-color: rgba(78,205,196,0.3); }
.challenge-card svg { color: #4ecdc4; margin-bottom: 16px; }
.challenge-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.challenge-card p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ===== SOLUTIONS ===== */
.solutions {
    padding: 80px 0;
    background: linear-gradient(180deg, #162231 0%, #1a2332 100%);
}
.solutions h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 48px; }
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.solution-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 32px 28px;
    transition: transform 0.3s, border-color 0.3s;
}
.solution-card:hover { transform: translateY(-4px); border-color: rgba(78,205,196,0.3); }
.solution-card svg { color: #4ecdc4; margin-bottom: 16px; }
.solution-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.solution-card p { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* ===== ABOUT ===== */
.about { padding: 80px 0; background: linear-gradient(135deg, #1a2332 0%, #162231 100%); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 {
    font-size: 2.2rem; font-weight: 800; margin-bottom: 28px; color: #fff;
    border-left: 4px solid #4ecdc4; padding-left: 16px;
}
.about-text p {
    font-size: 0.95rem; color: rgba(255,255,255,0.7); margin-bottom: 18px; line-height: 1.7;
}
.about-text strong { color: #fff; }

.about-photo { position: relative; display: flex; justify-content: center; }
.photo-frame {
    position: relative; border-radius: 16px; overflow: hidden;
    background: linear-gradient(135deg, #1a2332, #2a3a4e);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.photo-frame img {
    width: 100%; max-width: 420px; display: block;
}

/* ===== FAQ ===== */
.faq { padding: 80px 0; background: #0f1923; }
.faq h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 48px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.faq-item {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; overflow: hidden;
}
.faq-item summary {
    padding: 18px 24px; cursor: pointer; font-weight: 600; font-size: 0.95rem;
    list-style: none; display: flex; align-items: center; gap: 10px;
    transition: color 0.2s;
}
.faq-item summary::before { content: '+'; font-size: 1.3rem; color: #4ecdc4; font-weight: 700; flex-shrink: 0; }
.faq-item[open] summary::before { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #4ecdc4; }
.faq-item p { padding: 0 24px 18px; font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ===== CONTACT ===== */
.contact-section { padding: 80px 0; background: linear-gradient(135deg, #1a2332, #0f1923); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.section-tag {
    font-size: 0.8rem; font-weight: 600; color: #4ecdc4;
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; display: block;
}
.contact-info h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.contact-info p { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.contact-channels { display: flex; flex-direction: column; gap: 16px; margin-bottom: 8px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: rgba(255,255,255,0.8); }

.contact-form-wrapper {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 36px; backdrop-filter: blur(10px);
}
.contact-form h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; color: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.7);
    margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.07); color: #fff; font-family: 'Inter', sans-serif;
    font-size: 0.9rem; transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4ecdc4; box-shadow: 0 0 0 3px rgba(78,205,196,0.15);
}
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-group select option { background: #1a2332; color: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-full { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }

/* ===== FOOTER ===== */
.footer {
    background: #1a2332; border-top: 1px solid rgba(255,255,255,0.08);
    padding: 48px 0 0;
}
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 32px; }
.footer-logo { height: 100px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-links h4, .footer-social h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; color: rgba(255,255,255,0.8); }
.footer-links-columns { display: flex; gap: 32px; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: #4ecdc4; }
.social-icons { display: flex; gap: 16px; }
.social-icons a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.social-icons a:hover { color: #4ecdc4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-align: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero h1 { font-size: 2rem; }
    .challenges-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-inner { grid-template-columns: 1fr; }
    .about-inner { grid-template-columns: 1fr; }
    .about-photo { margin-top: 20px; }
    .photo-icon { display: none; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 100%; left: 0; width: 100%; background: rgba(15,25,35,0.98);
        padding: 24px; gap: 16px;
    }
    .nav-links.open { display: flex; }
    .menu-toggle { display: flex; }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 1.7rem; }
    .hero-badges { flex-direction: column; gap: 12px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .challenges-grid { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-links-columns { justify-content: center; }
    .social-icons { justify-content: center; }
}
