:root {
    --bg-dark: #0a0c10;
    --bg-card: rgba(24, 27, 33, 0.7);
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.4);
    --secondary: #f97316;
    --secondary-glow: rgba(249, 115, 22, 0.3);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
    --container-width: 1000px;
    --mobile-container-width: 100%;
    --nav-height: 80px;
    --glass: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(-10px);
    }

    100% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 20px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 40px var(--primary-glow);
    }

    100% {
        box-shadow: 0 0 20px var(--primary-glow);
    }
}

.reveal {
    animation: fadeIn 0.8s ease forwards;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
}

.logo-icon {
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.logo-text {
    background: linear-gradient(135deg, #fff 0%, #9ca3af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

/* Buttons */
.btn-primary,
.btn-primary-small,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 10px 25px -5px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-primary-small {
    padding: 10px 22px;
    background: var(--primary);
    color: white;
    font-size: 0.9rem;
}

.btn-secondary {
    background: var(--glass);
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    padding-bottom: 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    filter: blur(80px);
}

/* App Mockup */
.hero-image {
    perspective: 2000px;
    display: flex;
    justify-content: flex-end;
}

.app-mockup {
    width: 100%;
    max-width: 450px;
    background: #1e2229;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 20px rgba(59, 130, 246, 0.05);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: float 6s ease-in-out infinite;
}

.app-mockup:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02);
}

.mockup-header {
    background: rgba(32, 36, 43, 0.8);
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot:nth-child(1) {
    background: #ff5f56;
}

.dot:nth-child(2) {
    background: #ffbd2e;
}

.dot:nth-child(3) {
    background: #27c93f;
}

.mockup-screen {
    padding: 20px;
    background: var(--bg-dark);
    height: 320px;
    position: relative;
    overflow: hidden;
}

/* Abstract UI Elements */
.screen-content {
    display: flex;
    gap: 15px;
    height: 100%;
}

.screen-sidebar {
    width: 60px;
    background: var(--glass);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.screen-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.screen-card {
    height: 120px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(249, 115, 22, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
}

.screen-card::after {
    content: '📊';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    opacity: 0.5;
}

.screen-row {
    display: flex;
    gap: 15px;
    flex: 1;
}

.screen-stat {
    flex: 1;
    background: var(--glass);
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border-radius: 15px;
    border: 1px solid var(--border);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* New/Highlighted Feature Badge */
.badge-new {
    background: var(--secondary);
    color: white;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 15px;
    text-transform: uppercase;
    font-weight: 800;
    margin-left: 6px;
    vertical-align: middle;
}

/* CTA Section */
.cta-banner {
    padding: 80px 0;
    margin: 60px auto;
    max-width: 800px;
    border-radius: 40px;
    background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 0 40px;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-size: 1.15rem;
}

.cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-phone {
    background: white;
    color: #1e3a8a !important;
}

.cta-btn-mail {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 250px;
    margin-top: 10px;
}

.footer-links-grid {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Media Queries */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .navbar-content {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.3rem;
        gap: 8px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 20px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        word-break: break-word;
    }

    .hero-text p {
        font-size: 1.05rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        justify-content: center;
        margin-top: 20px;
    }

    .app-mockup {
        transform: none !important;
        animation: none !important;
        max-width: 320px;
    }

    .features {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 25px;
    }

    .cta-banner {
        margin: 40px 15px;
        padding: 60px 20px;
        border-radius: 30px;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-btn-phone,
    .cta-btn-mail {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        align-self: center;
    }

    .footer-links-grid {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .nav-links {
        gap: 10px;
    }

    .logo-text {
        font-size: 1.1rem;
    }
}