/* ========================
   GLOBAL STYLES
   ======================== */
:root {
    --primary: #e6b42b;
    --primary-dark: #9d6a0d;
    --primary-light: #f5d570;
    --secondary: #2563eb;
    --danger: #ef4444;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --success: #10b981;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: #fff;
}

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

/* Button Styles */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 180, 43, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 180, 43, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* ========================
   NAVIGATION
   ======================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.nav-brand .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-brand .logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0;
}

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

/* Dropdown Styles */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown > a {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu .dropdown > a::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-menu .dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    padding: 10px 20px;
    color: var(--gray-700);
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* ========================
   HERO SECTION
   ======================== */
.hero {
    margin-top: 70px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.hero-content p {
    font-size: 18px;
    color: var(--gray-700);
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    padding: 16px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 4px;
}

/* Dashboard Preview */
.hero-image {
    perspective: 1000px;
}

.dashboard-preview {
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.dashboard-preview:hover {
    transform: rotateY(-10deg) rotateX(3deg);
}

.browser-chrome {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.browser-header {
    background: var(--gray-100);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    display: inline-block;
}

.dashboard-content {
    padding: 20px;
}

.dashboard-card {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
}

.card-header {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.9;
}

.card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mini-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 6px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.stat-desc {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

/* ========================
   FEATURES SECTION
   ======================== */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================
   BENEFITS SECTION
   ======================== */
.benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.benefits h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--gray-900);
}

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

.benefit-item {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.benefit-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 16px;
}

.benefit-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.benefit-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================
   HOW IT WORKS
   ======================== */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.how-it-works h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.step {
    text-align: center;
    flex: 0 0 160px;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.step p {
    font-size: 13px;
    color: var(--gray-600);
}

.step-arrow {
    font-size: 24px;
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .step-arrow {
        display: none;
    }
    
    .steps {
        flex-direction: column;
        gap: 30px;
    }
}

/* ========================
   ROLES SECTION
   ======================== */
.roles {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.roles h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--gray-900);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.role-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.role-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.role-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.role-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.role-features {
    list-style: none;
    text-align: left;
}

.role-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-200);
}

.role-features li:last-child {
    border-bottom: none;
}

.role-features li:before {
    content: "✓ ";
    color: var(--success);
    font-weight: 700;
    margin-right: 8px;
}

/* ========================
   PRICING SECTION
   ======================== */
.pricing {
    padding: 80px 0;
    background: white;
}

.pricing h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--gray-900);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(230, 180, 43, 0.15);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.price span {
    font-size: 16px;
    color: var(--gray-600);
    font-weight: 400;
}

.price-desc {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    margin: 30px 0;
}

.price-features li {
    padding: 12px 0;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
}

.price-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
    margin-top: 24px;
}

/* ========================
   CTA SECTION
   ======================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ========================
   FOOTER
   ======================== */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-section p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
    display: block;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-700);
    font-size: 14px;
    opacity: 0.7;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 20px;
    }

    .hero .container {
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-menu > li:last-child {
        border-bottom: none;
        padding: 20px;
    }

    .nav-menu a {
        padding: 15px 20px;
        width: 100%;
    }

    /* Mobile Dropdown */
    .nav-menu .dropdown > a::after {
        content: '▼';
        margin-left: auto;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--gray-50);
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu a {
        padding: 12px 20px 12px 40px;
    }

    .nav-menu .btn-primary {
        margin: 10px 20px;
        width: calc(100% - 40px);
        text-align: center;
    }

    /* Hero Section */
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-image {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    /* Features Grid */
    .features-grid,
    .roles-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .features h2,
    .benefits h2,
    .roles h2,
    .pricing h2 {
        font-size: 32px;
    }

    .how-it-works h2,
    .cta-section h2 {
        font-size: 32px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .container {
        padding: 0 10px;
    }

    .navbar .container {
        padding: 12px 15px;
    }

    .nav-brand .logo-img {
        height: 40px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
