:root {
    /* Colors */
    --primary: #4f46e5;       /* Indigo 600 */
    --primary-dark: #3730a3;  /* Indigo 800 */
    --primary-light: #818cf8; /* Indigo 400 */
    
    --secondary: #0ea5e9;     /* Sky/Blue 500 */
    --secondary-dark: #0284c7;
    --secondary-light: #38bdf8;
    
    --accent: #06b6d4;        /* Cyan 500 */
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;       /* Slate 900 */
    --bg-darker: #020617;     /* Slate 950 */
    
    --text-main: #334155;     /* Slate 700 */
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    --border: #e2e8f0;
    --border-dark: #334155;
    
    /* Utilities */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);
    
    --transition: all 0.3s ease;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 5rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }
.p-xl { padding: 3rem; }
.block { display: block; }
.text-white { color: var(--text-light) !important; }
.text-sm { font-size: 0.875rem; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

.bg-light { background-color: var(--bg-main); }
.bg-white { background-color: var(--bg-card); }
.bg-light-blue { background-color: #f0f9ff; }
.bg-dark { background-color: var(--bg-dark); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-outline {
    border-color: var(--border);
    color: var(--text-dark);
    background: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background-color: white;
    color: var(--primary);
}
.btn-white:hover {
    background-color: var(--bg-main);
    transform: translateY(-2px);
}

.btn-outline-white {
    border-color: white;
    color: white;
}
.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    border-radius: var(--radius-lg);
}

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

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.logo-icon-wrapper {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.75rem;
}

.logo span {
    font-weight: 300;
    color: var(--primary);
}

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

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

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 0 6rem 0;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.05), transparent 50%),
                radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.05), transparent 50%);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-light);
    bottom: 100px;
    left: -100px;
}

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

.badge-wrapper {
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

/* Glass Panel / Mockup */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 25px 50px -12px rgba(0,0,0,0.1);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-panel:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.window-header {
    background: rgba(248, 250, 252, 0.8);
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

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

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.dash-layout {
    display: flex;
    height: 350px;
    background: var(--bg-main);
}

.dash-sidebar {
    width: 25%;
    background: white;
    border-right: 1px solid var(--border);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    height: 1.5rem;
    border-radius: var(--radius-sm);
    background: var(--bg-main);
}
.nav-item.active {
    background: rgba(79, 70, 229, 0.1);
}

.dash-main {
    width: 75%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dash-topbar {
    display: flex;
    justify-content: space-between;
    height: 2rem;
}

.search-bar {
    width: 50%;
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.profile-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary-light);
}

.dash-stats {
    display: flex;
    gap: 1rem;
}

.stat-card {
    flex: 1;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-sm);
}

.b-blue { background: rgba(14, 165, 233, 0.2); }
.b-indigo { background: rgba(79, 70, 229, 0.2); }
.b-cyan { background: rgba(6, 182, 212, 0.2); }

.stat-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.line {
    height: 0.4rem;
    background: var(--bg-main);
    border-radius: 1rem;
}
.w-50 { width: 50%; }
.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }

.dash-content {
    flex: 1;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1rem;
    display: flex;
    align-items: flex-end;
}

.chart-area {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 100%;
    width: 100%;
    padding-top: 2rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-light), var(--primary));
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}
.h-40 { height: 40%; }
.h-60 { height: 60%; }
.h-70 { height: 70%; }
.h-80 { height: 80%; }
.h-90 { height: 90%; }
.h-100 { height: 100%; }

/* Sections */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.bg-blue-light { background: rgba(14, 165, 233, 0.1); }
.bg-indigo-light { background: rgba(79, 70, 229, 0.1); }
.bg-cyan-light { background: rgba(6, 182, 212, 0.1); }

.text-blue { color: var(--secondary); }
.text-indigo { color: var(--primary); }
.text-cyan { color: var(--accent); }
.text-orange { color: #f97316; }

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.module-item {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.glass-effect-hover:hover {
    box-shadow: 0 15px 30px -10px rgba(79, 70, 229, 0.15);
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, 0.3);
}

.module-content {
    padding: 2rem;
}

.module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.module-icon {
    font-size: 1.5rem;
    padding: 0.75rem;
    background: var(--bg-main);
    border-radius: var(--radius-md);
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15rem;
    color: var(--secondary);
}

/* Flow Section */
.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
}

.flow-step {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    border: 1px solid var(--border);
}

.flow-step.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    box-shadow: var(--shadow-glow);
}

.flow-arrow {
    color: var(--text-muted);
}

/* Security Section */
.security-section {
    position: relative;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.security-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sec-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-light);
}

.sec-text {
    font-weight: 500;
}

/* Tech Stack */
.tech-stack-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.border-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.tech-item {
    text-align: center;
}

.icon-wrapper {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.icon-wrapper.php { color: #777bb4; }
.icon-wrapper.mysql { color: #00758f; }
.icon-wrapper.flutter { color: #02569B; }
.icon-wrapper.web { color: #e34f26; }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: white;
    padding: 5rem 0 2rem 0;
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

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

.footer ul li a {
    color: var(--text-muted);
}
.footer ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}
.social-links a:hover {
    background: var(--primary);
}

.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .grid-2, .grid-3, .grid-4, .modules-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .section { padding: 3rem 0; }
    .cta-buttons { flex-direction: column; }
}
