/* ============================================
   ZYLOFLO - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary-dark: #0B0E1F;
    --primary-teal: #00E5CC;
    --primary-cyan: #00C7E6;
    --secondary-lime: #C5FF4A;
    --accent-purple: #8B5CF6;
    --gradient-main: linear-gradient(135deg, #00E5CC 0%, #00C7E6 50%, #0099FF 100%);
    --gradient-alt: linear-gradient(135deg, #C5FF4A 0%, #00E5CC 100%);
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --bg-dark: #0B0E1F;
    --bg-card: #151A2F;
    --border-color: rgba(0, 229, 204, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-main);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-teal);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(11, 14, 31, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(11, 14, 31, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    width: 50px;
    height: 50px;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 229, 204, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(0, 229, 204, 0.8));
    }
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before {
    width: 100%;
}

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

.nav-cta {
    padding: 0.8rem 2rem;
    background: var(--gradient-main);
    border: none;
    border-radius: 50px;
    color: var(--primary-dark);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-alt);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-cta:hover::before {
    left: 0;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 229, 204, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-teal);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 3rem 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0, 229, 204, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: pulse 10s ease-in-out infinite reverse;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: rgba(0, 229, 204, 0.1);
    border: 1px solid rgba(0, 229, 204, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-teal);
    margin-bottom: 2rem;
    animation: slideDown 1s ease-out 0.3s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge::before {
    content: '✦';
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: slideDown 1s ease-out 0.5s both;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: slideDown 1s ease-out 0.7s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: slideDown 1s ease-out 0.9s both;
}

.btn-primary,
.btn-secondary {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(0, 229, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 229, 204, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 2px solid rgba(0, 229, 204, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 229, 204, 0.1);
    border-color: var(--primary-teal);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.5s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.visual-card {
    background: rgba(21, 26, 47, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.visual-card:hover::before {
    opacity: 0.05;
}

.visual-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-teal);
    box-shadow: 0 20px 40px rgba(0, 229, 204, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.visual-card:nth-child(2) .card-icon {
    background: var(--gradient-alt);
}

.visual-card:nth-child(3) .card-icon {
    background: var(--gradient-purple);
}

.visual-card:nth-child(4) .card-icon {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%);
}

.visual-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.visual-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    padding: 5rem 3rem;
    position: relative;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(21, 26, 47, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-teal);
    box-shadow: 0 15px 30px rgba(0, 229, 204, 0.1);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 8rem 3rem;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem;
}

.section-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(0, 229, 204, 0.1);
    border: 1px solid rgba(0, 229, 204, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-main);
    transition: height 0.4s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-teal);
    box-shadow: 0 25px 50px rgba(0, 229, 204, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-main);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-card:nth-child(2) .service-icon {
    background: var(--gradient-alt);
}

.service-card:nth-child(3) .service-icon {
    background: var(--gradient-purple);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%);
}

.service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-card:nth-child(7) .service-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-card:nth-child(8) .service-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.service-card:nth-child(9) .service-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.7rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '→';
    color: var(--primary-teal);
    font-weight: bold;
    font-size: 1.3rem;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    padding: 8rem 3rem;
    background: rgba(21, 26, 47, 0.3);
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
}

.process-timeline {
    margin-top: 5rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-teal) 0%, var(--accent-purple) 100%);
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    position: relative;
}

.process-step:nth-child(even) .step-content {
    order: 2;
}

.process-step:nth-child(even) .step-visual {
    order: 1;
}

.step-content {
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.step-content:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 20px 40px rgba(0, 229, 204, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.process-step:nth-child(2) .step-number {
    background: var(--gradient-alt);
}

.process-step:nth-child(3) .step-number {
    background: var(--gradient-purple);
}

.process-step:nth-child(4) .step-number {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%);
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.step-icon {
    width: 200px;
    height: 200px;
    background: rgba(0, 229, 204, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    transition: all 0.3s ease;
}

.step-icon:hover {
    transform: rotate(5deg) scale(1.05);
    border-color: var(--primary-teal);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 8rem 3rem;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 8rem;
    color: rgba(0, 229, 204, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-teal);
    box-shadow: 0 20px 40px rgba(0, 229, 204, 0.15);
}

.stars {
    color: var(--secondary-lime);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 8rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 204, 0.15) 0%, transparent 50%);
    animation: rotate-slow 30s linear infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 5rem 3rem;
}

.cta-container h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.cta-container p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    padding: 1.3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.cta-input:focus {
    border-color: var(--primary-teal);
    background: rgba(255, 255, 255, 0.08);
}

.cta-input::placeholder {
    color: var(--text-secondary);
}

.cta-submit {
    padding: 1.3rem 3rem;
    background: var(--gradient-main);
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 229, 204, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: rgba(11, 14, 31, 0.8);
    border-top: 1px solid var(--border-color);
    padding: 5rem 3rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 900;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(0, 229, 204, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--gradient-main);
    color: var(--primary-dark);
    transform: translateY(-3px);
    border-color: var(--primary-teal);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-teal);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-teal);
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
