/* Root Variables - Dark Theme Orange */
:root {
    --primary: #FF9800;
    --primary-hover: #F57C00;
    --bg-dark: #0f0f13;
    --bg-darker: #08080a;
    --surface: #1e1e24;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(30, 30, 36, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-main: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
}

.navbar .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Lang Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
    padding: 2px 5px;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--primary);
}

.divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    /* Matching btn-primary */
    text-decoration: none !important;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-block {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    background: radial-gradient(circle at top right, rgba(255, 152, 0, 0.1), transparent 40%);
    padding-top: 80px;
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.badge {
    display: inline-block;
    background: rgba(255, 152, 0, 0.15);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-visual {
    position: relative;
    width: 45%;
}

.app-window {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.window-header {
    height: 40px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.window-body {
    flex: 1;
    display: flex;
}

.sidebar {
    width: 80px;
    border-right: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.content-area {
    flex: 1;
    padding: 20px;
}

.skeleton-header {
    height: 40px;
    width: 60%;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    border-radius: 4px;
}

.skeleton-grid {
    height: 60px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 10px;
    border-radius: 4px;
}

.floating-card {
    position: absolute;
    background: var(--surface);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    animation: float 4s ease-in-out infinite;
}

.card-1 {
    top: -20px;
    right: -30px;
}

.card-2 {
    bottom: -20px;
    left: -30px;
    animation-delay: 2s;
}

/* Features */
.features-section {
    padding: 5rem 10%;
    background: var(--bg-darker);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.tabs-container {
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--glass-border);
}

.tab-btn {
    flex: 1;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.02);
    color: white;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background: rgba(255, 152, 0, 0.05);
}

.tabs-content {
    padding: 3rem;
    position: relative;
    flex: 1;
}

.tab-pane {
    display: none;
    animation: fadeInUp 0.4s ease-out;
    height: 100%;
}

.tab-pane.active {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pane-text {
    width: 40%;
}

.pane-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.pane-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.pane-text li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.pane-visual {
    width: 55%;
    /* Increased width for images */
    height: auto;
    min-height: 300px;
    background: #15151a;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensures full image is visible without cropping */
    transition: transform 0.5s ease;
}

.pane-visual:hover .feature-img {
    transform: scale(1.02);
}

/* Reduced width for text to accommodate larger image */
.pane-text {
    width: 40%;
}

/* Footer */
footer {
    padding: 3rem 10%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 30px;
}

/* Contact Section */
.contact-section {
    padding: 5rem 10%;
    display: flex;
    justify-content: center;
}

.contact-container {
    width: 100%;
    max-width: 500px;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.contact-container h2 {
    margin-bottom: 1rem;
}

.contact-container p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Success Message */
.success-message {
    padding: 2rem;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.success-message h3 {
    color: white;
    font-size: 1.5rem;
    margin-top: 1rem;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .app-window {
        height: 350px;
    }
}

@media screen and (max-width: 768px) {

    /* General Padding */
    .hero,
    .features-section,
    .contact-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    /* Navbar */
    .navbar {
        flex-direction: column;
        padding: 1rem;
        background: var(--glass-bg);
        /* Ensure contrast if sticky */
    }

    .nav-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        padding-top: 200px;
        /* Space for taller navbar */
        text-align: center;
        height: auto;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-visual {
        width: 100%;
    }

    .app-window {
        height: 300px;
    }

    .floating-card {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .card-1 {
        right: 0;
        top: -10px;
    }

    .card-2 {
        left: 0;
        bottom: -10px;
    }

    /* Features Section */
    .tabs-header {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        border-bottom: 1px solid var(--glass-border);
    }

    .tab-btn.active {
        border-bottom: 1px solid var(--glass-border);
        border-left: 4px solid var(--primary);
    }

    .tabs-content {
        padding: 1.5rem;
    }

    .tab-pane.active {
        flex-direction: column;
        gap: 2rem;
    }

    .pane-text,
    .pane-visual {
        width: 100%;
    }

    .pane-text h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .pane-visual {
        min-height: 250px;
    }

    /* Footer */
    footer {
        padding: 2rem 5%;
    }
}