:root {
    --bg-dark: #0e0c0d;
    --bg-card: rgba(229, 177, 130, 0.03);
    --primary: #e5b182;
    --primary-glow: rgba(229, 177, 130, 0.4);
    --secondary: #b76e79;
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --border-color: rgba(229, 177, 130, 0.08);
    --glass: rgba(229, 177, 130, 0.02);
    --glass-border: rgba(229, 177, 130, 0.12);
    --gradient-hero: linear-gradient(135deg, #b76e79 0%, #e5b182 50%, #d4a373 100%);
}

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

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

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
}

.highlight {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-new {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gradient-hero);
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: pulse 5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.4; }
    100% { transform: scale(1); opacity: 0.3; }
}

.glass-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-weight: 500;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
}

.glass-card i {
    font-size: 1.5rem;
}

.icon-gold { color: #e5b182; }
.icon-rose { color: #b76e79; }
.icon-bronze { color: #d4a373; }

.float-1 { top: 20%; left: 10%; animation: float 6s ease-in-out infinite; }
.float-2 { top: 50%; right: 10%; animation: float 8s ease-in-out infinite 1s; }
.float-3 { bottom: 15%; left: 20%; animation: float 7s ease-in-out infinite 2s; }

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Features Section */
.section {
    padding: 8rem 0;
}

.section-dark {
    background: #0f0f16;
}

.section-title, .section-subtitle {
    text-align: center;
}

.section-subtitle {
    margin-bottom: 4rem;
    font-size: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Modules Split Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-list i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.glass-panel {
    background: #1e1e24;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.panel-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.code-preview {
    font-family: 'Courier New', monospace;
    color: #a8b3cf;
}

.code-preview .keyword { color: #c678dd; }
.code-preview .string { color: #98c379; }
.code-preview .number { color: #d19a66; }

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer h3 {
    margin-bottom: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 2rem;
    }

    .hero-content, .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 2rem auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .navbar-container {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .feature-list li {
        text-align: left;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.3s;
}

.dropbtn:hover {
    color: var(--text-main);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1e1e24;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 0.5rem 0;
    top: 100%;
}

.dropdown-content a {
    color: var(--text-muted);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--text-main);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Helper Class */
.text-primary { color: var(--primary) !important; text-decoration: none; }
.text-primary:hover { text-decoration: underline; }
.mt-3 { margin-top: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.d-inline-block { display: inline-block; }

/* 3D Preview Card with Floating Animation */
.preview-card-3d {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 0.5rem;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 50px 5px rgba(229, 177, 130, 0.15);
    transform: perspective(1000px) rotateY(-6deg) rotateX(3deg) rotateZ(-1deg);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: float-slow 7s ease-in-out infinite;
}

.preview-card-3d:hover {
    transform: perspective(1000px) rotateY(-1deg) rotateX(1deg) rotateZ(0deg) translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 70px 15px rgba(229, 177, 130, 0.3);
}

@keyframes float-slow {
    0% { transform: perspective(1000px) rotateY(-6deg) rotateX(3deg) rotateZ(-1deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-6deg) rotateX(3deg) rotateZ(-1deg) translateY(-12px); }
    100% { transform: perspective(1000px) rotateY(-6deg) rotateX(3deg) rotateZ(-1deg) translateY(0); }
}

/* Security Panel Card Styles */
.security-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.security-card-header {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.security-card-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.security-card-header .dot.red { background: #ff5f56; }
.security-card-header .dot.yellow { background: #ffbd2e; }
.security-card-header .dot.green { background: #27c93f; }

.security-card-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.security-card-info {
    flex: 1;
    text-align: left;
}

.security-card-badge {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.security-card-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.security-card-icon-box {
    background: rgba(229, 177, 130, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.security-card-icon-box i {
    font-size: 2.2rem;
}

@media (max-width: 768px) {
    .security-card-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .security-card-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .security-card-icon-box {
        order: -1;
        margin-bottom: 0.5rem;
    }
}
