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

:root {
    --primary: #10b981; /* Emerald Green */
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.2);
    --secondary: #22c55e;
    --bg-light: #ffffff;
    --bg-section: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-light: rgba(226, 232, 240, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --hero-gradient-1: #dcfce7;
    --hero-gradient-2: #f0fdf4;
    --icon-bg: #ecfdf5;
    --title-color: #064e3b;
}

body.dark-mode {
    --bg-light: #000000;
    --bg-section: #050505;
    --card-bg: rgba(20, 20, 20, 0.4);
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --border-light: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(0, 0, 0, 0.8);
    --glass-border: rgba(255, 255, 255, 0.15);
    --nav-bg: rgba(0, 0, 0, 0.9);
    --hero-gradient-1: #064e3b;
    --hero-gradient-2: #000000;
    --icon-bg: #064e3b;
    --title-color: #10b981;
}

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

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

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { 
    background: var(--primary); 
    border-radius: 10px;
}

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

nav.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img { height: 45px; }
.logo-text { 
    font-size: 1.5rem; 
    font-weight: 800; 
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: var(--bg-light);
    overflow: hidden;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--hero-gradient-1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--hero-gradient-2) 0%, transparent 50%);
    opacity: 0.6;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border-light) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black, transparent 80%);
    opacity: 0.15;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero h1 span.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding: 1.5rem 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item strong {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-stats .divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px var(--primary-glow);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px var(--primary-glow);
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    font-size: 1rem;
}

.btn-secondary i {
    width: 35px;
    height: 35px;
    background: var(--icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border: 1px solid var(--border-light);
    transition: 0.3s;
}

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

.btn-secondary:hover i {
    transform: translateX(5px);
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Sections */
.section { padding: 100px 0; }
.section-light { background: var(--bg-section); }

.label {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--title-color);
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    border: 1px solid var(--border-light);
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
    border-color: var(--primary);
}

.icon-box {
    width: 65px;
    height: 65px;
    background: var(--icon-bg);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

/* App Showcase */
.showcase {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: #064e3b;
    border-radius: 50px;
    padding: 5rem;
    color: #fff;
}

.showcase-content { flex: 1; }
.showcase-img { 
    flex: 1; 
    border-radius: 30px; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    max-width: 400px;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--primary); }

/* Floating Shapes */
.floating-shapes div {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

.shape-1 { top: -50px; right: -50px; animation: float 8s infinite alternate; width: 400px; height: 400px; }
.shape-2 { bottom: 50px; left: -50px; animation: float 12s infinite alternate-reverse; width: 500px; height: 500px; }

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* Enhanced Cards */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    border: 1px solid var(--border-light);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--icon-bg);
    border: 1px solid var(--border-light);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: 0.3s;
    font-size: 1.1rem;
}

.theme-toggle:hover {
    transform: scale(1.1);
    color: var(--primary);
}

.theme-toggle i {
    transition: transform 0.5s ease;
}

body.dark-mode .theme-toggle i {
    transform: rotate(360deg);
}

/* About Section Revamp */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-text-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-visuals {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.founder-card.premium {
    background: linear-gradient(145deg, var(--card-bg), transparent);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    backdrop-filter: blur(15px);
}

.founder-card.premium::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--primary-glow);
    filter: blur(30px);
    border-radius: 50%;
}

.founder-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 15px 30px var(--primary-glow);
    transform: rotate(-5deg);
    transition: 0.3s;
}

.founder-card.premium:hover .founder-avatar {
    transform: rotate(0deg) scale(1.05);
}

.founder-info .role {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.founder-info h4 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.founder-info p {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.1rem;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

.about-stats-card.outline {
    border: 1px dashed var(--border-light);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.icon-box-small {
    width: 50px;
    height: 50px;
    background: var(--icon-bg);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: var(--icon-bg);
    border: 1px solid var(--border-light);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--nav-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 999;
    padding: 100px 40px;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    border-left: 1px solid var(--border-light);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

@media (max-width: 991px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hide-mobile { display: none; }
    
    .hero { padding: 140px 0 80px; }
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.05rem; margin-bottom: 2rem; }
    .hero-btns { flex-direction: column; gap: 1rem; }
    .btn-primary { width: 100%; text-align: center; }
    .btn-secondary { width: 100%; justify-content: center; }
    
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; margin-bottom: 2rem; }
    
    .showcase { flex-direction: column; padding: 2rem 1.5rem; text-align: center; border-radius: 30px; }
    .showcase-img { max-width: 100%; margin-top: 2rem; }
    .showcase-content h2 { font-size: 1.8rem; }
    
    .grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .card { padding: 2rem 1.5rem; border-radius: 20px; }
    
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; padding: 2rem; width: 100%; border-radius: 20px; }
    .hero-stats .divider { width: 100%; height: 1px; }
    
    footer { padding: 50px 0; }
    .footer-nav { flex-wrap: wrap; gap: 1rem; }
    .footer-newsletter { padding: 2.5rem 1.5rem !important; border-radius: 20px !important; }
}
