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

:root {
    --primary: #00c2ba;
    --primary-dark: #009e94;
    --secondary: #b96eff;
    --dark: #0a0c0f;
    --darker: #050708;
    --light: #ecedee;
    --card-bg: #151a24;
    --surface: #1e2532;
    --gray: #94a3b8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 12, 15, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #2a3440;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    margin-left: 2rem;
    transition: 0.3s;
    font-weight: 500;
}

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

.btn-primary, .btn-secondary {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    color: var(--dark) !important;
}

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

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, #1a2533, var(--dark));
    padding: 4rem 2rem;
}

.hero-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    margin-bottom: 2rem;
    object-fit: cover;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.location {
    color: var(--gray);
    margin-bottom: 1rem;
}

.contact-hero p {
    margin: 0.5rem 0;
    color: var(--light);
}

.contact-hero i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    color: var(--light);
    font-size: 1.8rem;
    margin: 0 0.8rem;
    transition: 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

/* Video Reel */
.video-reel {
    padding: 3rem 5%;
}

.video-reel h2 {
    margin-bottom: 2rem;
    color: var(--primary);
}

.reel-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark);
}

.reel-container::-webkit-scrollbar {
    height: 8px;
}

.reel-container::-webkit-scrollbar-track {
    background: var(--dark);
}

.reel-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.reel-container video {
    min-width: 320px;
    height: 200px;
    border-radius: 20px;
    border: 2px solid var(--primary);
    object-fit: cover;
}

/* GitHub Stats Section */
.github-stats {
    padding: 3rem 5%;
    background: var(--darker);
}

.github-stats h2, .github-stats h3 {
    margin-bottom: 2rem;
    color: var(--primary);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #2a3b50;
    transition: 0.3s;
}

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

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #2a3b50;
    transition: 0.3s;
}

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

.project-card h4 {
    margin-bottom: 0.8rem;
}

.project-card a {
    color: var(--primary);
    text-decoration: none;
}

.project-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.repo-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.repo-stats i {
    color: var(--primary);
    margin-right: 0.3rem;
}

/* Services Section */
.services {
    padding: 3rem 5%;
}

.services h2 {
    margin-bottom: 2rem;
    color: var(--primary);
}

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

.service-card {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #2a3b50;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.price {
    color: var(--primary) !important;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 1rem 0;
}

.btn-small {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    margin-top: 1rem;
}

.btn-small:hover {
    background: var(--primary);
    color: var(--dark);
}

/* App Download */
.app-download {
    padding: 3rem 5%;
}

.app-card {
    background: linear-gradient(145deg, #1a2533, #0f1a24);
    border-radius: 40px;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--primary);
}

.btn-download {
    display: inline-block;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    transition: 0.3s;
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--primary);
}

/* Rate Message */
.rate-message {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border-left: 4px solid var(--primary);
    border-radius: 50px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,194,186,0.3);
    z-index: 999;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.rate-message i {
    color: #ffc107;
}

.rate-message button {
    background: var(--primary);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

/* Footer */
footer {
    background: var(--darker);
    padding: 3rem 5% 1rem;
    border-top: 1px solid #2a3440;
}

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

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.footer-section p {
    margin: 0.5rem 0;
    color: var(--gray);
}

.footer-section a {
    color: var(--light);
    text-decoration: none;
    transition: 0.3s;
}

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

.copyright {
    text-align: center;
    padding: 2rem 0 1rem;
    color: var(--gray);
    border-top: 1px solid #2a3440;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links a {
        margin: 0 0.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .reel-container video {
        min-width: 250px;
    }
}