@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-deep: #ffffff;
    --bg-surface: #F8F9FA;
    --bg-card: #ffffff;
    --primary: #F75C03; /* Vibrant Orange */
    --secondary: #390099; /* Deep Purple */
    --accent: #FF0054; /* Pinkish Red */
    --text-main: #2b2b2b;
    --text-muted: #6c757d;
    --accent-gradient: linear-gradient(135deg, #F75C03 0%, #FF0054 100%);
    --dark-gradient: linear-gradient(135deg, #390099 0%, #2A0073 100%);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 4px 10px rgba(0,0,0,0.04);
    --shadow-md: 0 15px 40px rgba(247, 92, 3, 0.08);
    --shadow-lg: 0 20px 50px rgba(247, 92, 3, 0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-surface);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--secondary);
}

a {
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

/* Background Elements */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.6;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(247, 92, 3, 0.12);
    top: -100px;
    right: -200px;
    animation: drift 20s infinite alternate ease-in-out;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(57, 0, 153, 0.12);
    bottom: -100px;
    left: -150px;
    animation: drift-reverse 25s infinite alternate ease-in-out;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 100px) scale(1.1); }
}

@keyframes drift-reverse {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, -100px) scale(1.1); }
}

/* Navigation */
.navbar {
    padding: 1.2rem 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 42px;
    height: 42px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(67, 24, 255, 0.4);
}

.brand-text {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--secondary);
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    margin: 0 1rem;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn-tech {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(67, 24, 255, 0.25);
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-tech::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--dark-gradient);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-tech:hover::before {
    opacity: 1;
}

.btn-tech:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(67, 24, 255, 0.35);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(67, 24, 255, 0.08);
    border: 1px solid rgba(67, 24, 255, 0.1);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

/* Dashboard Mockup Visual */
.dashboard-mockup-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.dashboard-frame {
    width: 100%;
    max-width: 600px;
    height: 400px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    animation: float-dashboard 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    height: 25px;
    background: var(--bg-surface);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 6px;
}

.mac-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.mac-btn.close { background: #FF5F56; }
.mac-btn.min { background: #FFBD2E; }
.mac-btn.max { background: #27C93F; }

.dashboard-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fafbfe;
}

.dash-row {
    display: flex;
    gap: 15px;
}

.dash-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    transform: translateY(20px);
    opacity: 0;
    animation: slide-up 0.8s forwards;
}

.dash-card.large {
    flex: 2;
}

.dash-card:nth-child(1) { animation-delay: 0.2s; }
.dash-card:nth-child(2) { animation-delay: 0.4s; }

.dash-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 10px;
}

.dash-bar.accent {
    background: var(--accent-gradient);
    width: 60%;
    margin-bottom: 15px;
    height: 10px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
    margin-top: 15px;
}

.chart-bar {
    flex: 1;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}

@keyframes slide-up {
    to { transform: translateY(0); opacity: 1; }
}

@keyframes float-dashboard {
    0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-15px); }
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,1);
    padding: 40px 30px;
    border-radius: 24px;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-surface);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--accent-gradient);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

/* Stats */
.stat-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.02);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

/* Contact Specific */
.contact-hero {
    padding: 160px 0 100px;
    position: relative;
}

.contact-card {
    background: white;
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.form-label {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-control {
    background: #f4f7fe !important;
    border: 1px solid transparent !important;
    color: var(--text-main) !important;
    padding: 14px 20px !important;
    border-radius: 12px !important;
    transition: var(--transition) !important;
}

.form-control:focus {
    background: white !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(67, 24, 255, 0.1) !important;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: white;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer h5 {
    color: var(--secondary);
    font-size: 1.5rem;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        margin-top: 15px;
        padding: 20px;
        border-radius: 16px;
        box-shadow: var(--shadow-md);
    }
    .hero {
        text-align: center;
        padding-top: 130px;
    }
    .hero p {
        margin: 0 auto 2rem;
    }
    .hero .d-flex {
        justify-content: center;
    }
    .dashboard-mockup-wrapper {
        margin-top: 50px;
    }
}