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

:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-primary: #ffffff;
    --accent-secondary: #707070;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --gradient-glow: linear-gradient(135deg, #222, #000);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

h1, h2, h3, .brand-font {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism utility */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Floating Bottom Navigation (Dock Style) */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    z-index: 1000;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.bottom-nav a {
    color: var(--text-dim);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.bottom-nav a i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.bottom-nav a:hover, .bottom-nav a.active {
    color: var(--text-main);
    transform: translateY(-3px);
}

/* Enormous Bottom Nav for Mobile/Touch devices even with fixed 1200px viewport */
@media (pointer: coarse) {
    .bottom-nav {
        max-width: 1000px; /* Nearly full desktop width */
        padding: 40px 60px; /* Extremely thick */
        bottom: 60px;
        border-radius: 100px;
    }
    .bottom-nav a {
        font-size: 1.8rem; /* Giant text */
        gap: 15px;
    }
    .bottom-nav a i {
        font-size: 4.5rem; /* Giant icons */
    }
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    background: linear-gradient(to bottom, #fff 0%, #777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: var(--card-bg);
}

/* Sections Global */
section {
    padding: 100px 10%;
}

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

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-dim);
}

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

.card {
    padding: 40px;
    transition: var(--transition);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.card i {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.logo img {
    max-height: 25px; /* Logo made much smaller as requested */
    width: auto;
    display: block;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: #fff;
    border: 4px solid var(--bg-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after { left: -10px; }

.timeline-content {
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
}

/* Pricing Table Enhancements */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: #fff;
    color: #000;
}

.price-list {
    display: none;
}

.price-list.active {
    display: grid;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    text-align: center;
    padding: 40px 20px;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-card p {
    color: var(--text-dim);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer & Other */
footer {
    padding: 80px 10% 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Responsive & Mobile Optimization - 100% Perfect UX */

.featured-image {
    background: #111;
    height: 400px;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

/* Responsive & Mobile Optimization */

/* Mobile Menu Toggle Button (Hidden on Desktop) */
.menu-toggle {
    display: none !important;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-main);
    z-index: 1001;
}

@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    section { padding: 80px 5%; }
    .timeline::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 20px; }
    .timeline-item:nth-child(even), .timeline-item:nth-child(odd) { left: 0; text-align: left; }
    .timeline-item:nth-child(even)::after, .timeline-item:nth-child(odd)::after { left: 20px; }
    .pricing-tabs { flex-direction: column; align-items: center; gap: 10px; }
}

@media (max-width: 768px) {
    /* Navbar & Mobile Menu */
    .menu-toggle { display: block !important; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--glass-border);
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.7);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.3rem;
        font-weight: 600;
        letter-spacing: 1px;
    }

    nav .btn-primary {
        display: none;
    }

    /* Typography & Core Spacing */
    .hero h1 { font-size: 2.5rem; margin-bottom: 20px; }
    .hero p { font-size: 1rem; padding: 0 15px; margin-bottom: 30px; }
    
    section { padding: 60px 5%; }
    .section-title h2 { font-size: 2rem; margin-bottom: 10px; }
    .section-title p { font-size: 0.95rem; padding: 0 10px; }
    .section-title { margin-bottom: 40px; }
    
    /* Layouts & Grids */
    .grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    
    /* Buttons */
    .cta-group { flex-direction: column; width: 100%; padding: 0 20px; gap: 15px; }
    .cta-group .btn { width: 100%; padding: 15px; font-size: 1rem; }

    /* Glass Elements & Cards */
    .glass { padding: 30px 20px !important; border-radius: 20px !important; }
    .card i { font-size: 2rem; margin-bottom: 20px; }
    .card h3 { font-size: 1.3rem; margin-bottom: 10px; }
    .card p { font-size: 0.9rem; }

    /* Specific components */
    .contact-container { grid-template-columns: 1fr; gap: 30px; }
    .contact-info-card { padding: 30px 20px; }
    
    .pricing-card { padding: 30px 20px; }
    .price { font-size: 2.2rem; margin: 15px 0; }
    .pricing-features li { font-size: 0.85rem; margin-bottom: 10px; }

    /* Featured Project Fine-tuning */
    #featured-project .grid { gap: 30px; }
    #featured-project .glass { padding: 30px 20px !important; }
    #featured-project h2 { font-size: 1.8rem; }
    
    /* Team Section */
    .team-grid { gap: 20px; }
    .team-card { padding: 30px 15px; }
    .team-image-placeholder { width: 100px; height: 100px; margin-bottom: 15px; }
    .team-card h3 { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .section-title h2 { font-size: 1.6rem; }
    
    /* Timeline adjustments for very small screens */
    .timeline-item { padding-left: 50px; padding-right: 10px; padding-top: 5px; padding-bottom: 5px; }
    .timeline::after { left: 15px; }
    .timeline-item:nth-child(even)::after, .timeline-item:nth-child(odd)::after { left: 5px; width: 16px; height: 16px; top: 12px; }
    .timeline-content { padding: 15px; }
    .timeline-content h3 { font-size: 1.1rem; }
    .timeline-content p { font-size: 0.85rem; }
    
    /* Global padding */
    section { padding: 50px 5%; }
}
