* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #ffffff;
    --secondary-dark: #f8f9fa;
    --primary-light: #0d151e;
    --accent-orange: #ff6434;
    --glass-bg: rgba(13, 21, 30, 0.05);
    --glass-border: rgba(13, 21, 30, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-dark);
    color: var(--primary-light);
    line-height: 1.6;
    overflow-x: hidden;
    word-wrap: break-word;
}

/* Enhanced Mobile Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(13, 21, 30, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    height: 40px;
    width: auto;
    max-width: 150px;
    filter: brightness(0) saturate(100%) invert(8%) sepia(15%) saturate(1456%) hue-rotate(186deg) brightness(95%) contrast(91%);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-menu a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--accent-orange);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 5px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-light);
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section with Grid */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(13, 21, 30, 0.08) 2px, transparent 2px),
        linear-gradient(90deg, rgba(13, 21, 30, 0.08) 2px, transparent 2px);
    background-size: 60px 60px;
    mask: radial-gradient(ellipse 100% 80% at 30% 50%, black 20%, transparent 80%);
    -webkit-mask: radial-gradient(ellipse 100% 80% at 30% 50%, black 20%, transparent 80%);
    z-index: 1;
    opacity: 0.6;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(13, 21, 30, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 21, 30, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 1;
    opacity: 0.3;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.hero-banner {
    width: 100%;
    max-width: 1000px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 60vh;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Button Styles */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    min-height: 44px;
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 100, 52, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 100, 52, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--primary-light);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: rgba(13, 21, 30, 0.1);
    transform: translateY(-2px);
}

.btn-minimal {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary-light);
    border: 1px solid rgba(13, 21, 30, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    flex: 1;
    max-width: 200px;
}

.btn-minimal:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    background: rgba(255, 100, 52, 0.05);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.scroll-arrow:hover {
    transform: scale(1.1);
}

.arrow-icon {
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 100, 52, 0.1);
    animation: bounce 2s infinite;
}

.arrow-icon::after {
    content: '↓';
    color: var(--accent-orange);
    font-size: 1.5rem;
    font-weight: bold;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Feature Sections */
.feature-section {
    padding: 6rem 0;
    position: relative;
    background: var(--primary-dark);
    width: 100%;
    overflow: hidden;
}

.feature-section.reverse .feature-content {
    flex-direction: row-reverse;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
    box-sizing: border-box;
}

.feature-text, .feature-image {
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 100, 52, 0.1);
    color: var(--accent-orange);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    word-wrap: break-word;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
    opacity: 0.8;
    color: var(--primary-light);
    line-height: 1.6;
    word-wrap: break-word;
    hyphens: auto;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
    width: 100%;
}

.feature-list li {
    padding: 0.5rem 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--primary-light);
    word-wrap: break-word;
    hyphens: auto;
}

.image-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-light);
    opacity: 0.7;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
    word-wrap: break-word;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Dashboard Section */
.dashboard-section {
    padding: 6rem 0;
    background: var(--secondary-dark);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.dashboard-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
    box-sizing: border-box;
}

.dashboard-text {
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.dashboard-image-container {
    flex: 1;
    position: relative;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.dashboard-main-image {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--glass-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
    box-sizing: border-box;
}

.dashboard-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Statistics Section */
.stats-section {
    padding: 4rem 0;
    background: var(--secondary-dark);
    width: 100%;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: transform 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(13, 21, 30, 0.1);
    box-sizing: border-box;
    word-wrap: break-word;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(13, 21, 30, 0.15);
}

.stat-number {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    hyphens: auto;
}

.stat-number.static {
    font-size: clamp(2rem, 6vw, 3rem);
    word-break: break-word;
    hyphens: auto;
}

.stat-label {
    font-size: clamp(1rem, 3vw, 1.1rem);
    opacity: 0.8;
    color: var(--primary-light);
    word-wrap: break-word;
    hyphens: auto;
}

/* Contact Form Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--secondary-dark), var(--primary-dark));
    position: relative;
    width: 100%;
    overflow: hidden;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-form-container {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 40px rgba(13, 21, 30, 0.1);
    box-sizing: border-box;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
    font-weight: 500;
    font-size: 1rem;
    word-wrap: break-word;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--secondary-dark);
    color: var(--primary-light);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 100, 52, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(13, 21, 30, 0.5);
}

.form-submit {
    align-self: center;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
    word-wrap: break-word;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    display: block;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

/* Footer */
.footer {
    background: var(--primary-light);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--glass-border);
    width: 100%;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    /* filter: invert(1); */
    max-width: 150px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-orange);
    word-wrap: break-word;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    word-wrap: break-word;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.footer-section p {
    color: white;
    opacity: 0.8;
    word-wrap: break-word;
    hyphens: auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    color: white;
    word-wrap: break-word;
}

/* RESPONSIVE DESIGN */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        border-top: 1px solid var(--glass-border);
        box-shadow: 0 4px 20px rgba(13, 21, 30, 0.1);
        box-sizing: border-box;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 0.8rem;
        display: block;
        text-align: center;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo {
        height: 35px;
        max-width: 120px;
    }
    
    /* Hero Section Mobile */
    .hero-container {
        padding: 0 0.5rem;
    }
    
    .hero-content {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .hero-banner {
        position: static;
        transform: none;
        max-width: 100%;
        margin: 2rem 0;
    }
    
    .banner-logo {
        max-height: 45vh;
    }
    
    .hero-buttons {
        position: static;
        transform: none;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto 0;
        padding: 0;
    }
    
    .btn-minimal {
        width: 100%;
        min-width: auto;
        flex: none;
        max-width: none;
    }
    
    .scroll-arrow {
        bottom: 1rem;
        right: 1rem;
    }
    
    .arrow-icon {
        width: 40px;
        height: 40px;
    }
    
    .arrow-icon::after {
        font-size: 1.2rem;
    }
    
    /* Grid adjustments for mobile */
    .hero::before {
        background-size: 40px 40px;
        opacity: 0.4;
    }
    
    .hero::after {
        background-size: 60px 60px;
        opacity: 0.2;
    }
    
    /* Feature sections mobile */
    .feature-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .feature-section.reverse .feature-content {
        flex-direction: column;
    }
    
    .feature-section {
        padding: 4rem 0;
    }
    
    .image-container {
        height: 300px;
    }
    
    /* Dashboard mobile */
    .dashboard-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .dashboard-section {
        padding: 4rem 0;
    }
    
    /* Statistics mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    /* Contact form mobile */
    .contact-form-container {
        padding: 2rem 1rem;
        margin: 0;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-submit {
        min-width: auto;
        width: 100%;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Button adjustments */
    .btn {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 0.5rem;
    }
    
    .logo {
        height: 30px;
        max-width: 100px;
    }
    
    .section-container {
        padding: 0 0.5rem;
    }
    
    /* Hero mobile small */
    .hero-container {
        padding: 0 0.25rem;
    }
    
    .banner-logo {
        max-height: 40vh;
    }
    
    .hero-buttons {
        gap: 0.8rem;
        max-width: 280px;
        padding: 0 0.5rem;
    }
    
    .btn-minimal {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .scroll-arrow {
        bottom: 0.5rem;
        right: 0.5rem;
    }
    
    .arrow-icon {
        width: 35px;
        height: 35px;
    }
    
    .arrow-icon::after {
        font-size: 1rem;
    }
    
    /* Feature sections mobile small */
    .feature-section {
        padding: 3rem 0;
    }
    
    .image-container {
        height: 250px;
    }
    
    /* Dashboard mobile small */
    .dashboard-section {
        padding: 3rem 0;
    }
    
    /* Contact mobile small */
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-form-container {
        padding: 1.5rem 0.8rem;
    }
    
    /* Grid mobile small */
    .hero::before {
        background-size: 30px 30px;
        opacity: 0.3;
    }
    
    .hero::after {
        background-size: 50px 50px;
        opacity: 0.15;
    }
}

/* Extra small devices (360px and below) */
@media (max-width: 360px) {
    .section-container {
        padding: 0 0.5rem;
    }
    
    .hero-buttons {
        max-width: 250px;
        padding: 0 0.25rem;
    }
    
    .contact-form-container {
        padding: 1.2rem 0.5rem;
    }
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent horizontal overflow */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Touch targets for mobile */
@media (max-width: 768px) {
    .btn,
    .nav-menu a,
    .hamburger,
    .scroll-arrow {
        min-height: 44px;
        min-width: 44px;
    }
}