/* =========================================================
   GecnoGuru — Standalone Landing Page Styles
   Deploy at: public_html/assets/landing.css
   ========================================================= */

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

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Design Tokens ---------- */
:root {
    --blue-600:  #2563eb;
    --blue-700:  #1d4ed8;
    --blue-800:  #1e40af;
    --indigo-900:#1e1b4b;
    --purple-800:#581c87;
    --blue-300:  #93c5fd;
    --white:     #ffffff;
    --gray-50:   #f8fafc;
    --gray-100:  #f1f5f9;
    --gray-600:  #475569;
    --gray-900:  #0f172a;
    --gradient:  linear-gradient(135deg, #1e40af 0%, #3730a3 50%, #581c87 100%);
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 25px 60px rgba(0,0,0,0.18);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Utilities ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}
.gradient-bg   { background: var(--gradient); }
.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.glass {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* ---------- Animations ---------- */
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-18px); }
}
@keyframes pulse-ring {
    0%   { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
.floating    { animation: floating 6s ease-in-out infinite; }
.fade-in     { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--gradient);
    height: 64px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}
.logo span { color: var(--blue-300); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue-300); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 200px;
    display: none;
    z-index: 100;
}
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover { display: block; }
.dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    color: #1e293b;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.dropdown-menu a:hover { background: #f1f5f9; }

/* CTA btn in nav */
.btn-nav {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.4rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    cursor: pointer;
}
.btn-nav:hover { background: rgba(255,255,255,0.28); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 64px; right: 0; bottom: 0;
    width: 280px;
    background: var(--gradient);
    backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--blue-300); }
.mobile-submenu { display: flex; flex-direction: column; gap: 0.75rem; padding-left: 1rem; margin-top: 0.5rem; }

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    padding-top: 64px;
    position: relative;
    overflow: hidden;
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}
.hero-blob-1 { width: 120px; height: 120px; top: 10%; left: 5%; }
.hero-blob-2 { width: 80px;  height: 80px;  top: 30%; right: 8%; animation-delay: -2s; }
.hero-blob-3 { width: 60px;  height: 60px;  bottom: 25%; left: 22%; animation-delay: -4s; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 5rem 0;
}
.hero-text h1 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.hero-text h1 .accent { display: block; color: var(--blue-300); }
.hero-text p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--blue-700);
    border-radius: 9999px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 0 30px rgba(30,64,175,0.4);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2563eb, #9333ea);
    opacity: 0;
    transition: opacity 0.25s;
    border-radius: inherit;
}
.btn-primary:hover { transform: scale(1.06); color: var(--white); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    cursor: pointer;
}
.btn-ghost:hover { background: rgba(255,255,255,0.28); }

/* Hero stats */
.hero-stats { display: flex; gap: 2.5rem; }
.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label  { font-size: 0.78rem; color: rgba(255,255,255,0.75); font-weight: 500; margin-top: 0.25rem; }

/* Hero image */
.hero-image-wrap { position: relative; }
.hero-image-wrap img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    object-fit: cover;
    max-height: 480px;
}
.hero-deco-1 {
    position: absolute;
    top: -1.5rem; left: -1.5rem;
    width: 100%; height: 100%;
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,0.12);
    z-index: -1;
}
.hero-deco-2 {
    position: absolute;
    top: 2.5rem; right: -2.5rem;
    width: 80px; height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

/* ---------- Services ---------- */
.services {
    padding: 6rem 0;
    background: var(--white);
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 640px;
    margin: 0 auto 1.5rem;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--blue-600);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    transition: var(--transition);
    cursor: pointer;
}
.btn-outline:hover { background: #dbeafe; box-shadow: 0 4px 16px rgba(37,99,235,0.15); }
.btn-outline i { transition: transform 0.2s; }
.btn-outline:hover i { transform: translateX(4px); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}
.service-card.blue:hover   { border-color: #93c5fd; }
.service-card.green:hover  { border-color: #86efac; }
.service-card.purple:hover { border-color: #d8b4fe; }

.service-icon {
    width: 64px; height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.12); }
.service-icon.blue   { background: linear-gradient(135deg, #2563eb, #9333ea); }
.service-icon.green  { background: linear-gradient(135deg, #16a34a, #2563eb); }
.service-icon.purple { background: linear-gradient(135deg, #9333ea, #ec4899); }
.service-icon i { color: var(--white); font-size: 1.6rem; }

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}
.service-card p { color: var(--gray-600); line-height: 1.7; margin-bottom: 1.5rem; }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.2s;
}
.service-link.blue   { color: var(--blue-600); }
.service-link.green  { color: #16a34a; }
.service-link.purple { color: #9333ea; }
.service-link:hover  { gap: 0.75rem; }

/* ---------- Why Us ---------- */
.why-us {
    padding: 6rem 0;
    background: #f8fafc;
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.why-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 2.5rem;
}
.feature-list { display: flex; flex-direction: column; gap: 2rem; }
.feature-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.feature-icon {
    width: 52px; height: 52px;
    border-radius: 0.875rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feature-icon.blue   { background: #dbeafe; }
.feature-icon.green  { background: #dcfce7; }
.feature-icon.purple { background: #f3e8ff; }
.feature-icon i { font-size: 1.2rem; }
.feature-icon.blue   i { color: var(--blue-600); }
.feature-icon.green  i { color: #16a34a; }
.feature-icon.purple i { color: #9333ea; }
.feature-item h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.4rem; }
.feature-item p  { color: var(--gray-600); line-height: 1.65; font-size: 0.95rem; }

.why-image { position: relative; }
.why-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    object-fit: cover;
    max-height: 460px;
}
.why-deco-1 {
    position: absolute;
    bottom: -1.5rem; right: -1.5rem;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #60a5fa44, #a855f744);
    border-radius: var(--radius-xl);
    z-index: -1;
}
.why-deco-2 {
    position: absolute;
    top: -1.5rem; left: -1.5rem;
    width: 80px; height: 80px;
    background: #facc15;
    border-radius: 50%;
    opacity: 0.85;
    animation: floating 5s ease-in-out infinite;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 6rem 0;
    background: var(--white);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.testimonial-card {
    background: #f8fafc;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #bfdbfe;
}
.stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card p { color: #475569; font-style: italic; line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}
.author-name  { font-weight: 700; color: var(--gray-900); font-size: 0.95rem; }
.author-title { font-size: 0.8rem; color: var(--gray-600); }

/* ---------- CTA ---------- */
.cta {
    padding: 6rem 0;
    background: var(--gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-blob-1 {
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -3rem; left: -3rem;
    animation: floating 7s ease-in-out infinite;
}
.cta-blob-2 {
    position: absolute;
    width: 150px; height: 150px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    bottom: -2rem; right: -2rem;
    animation: floating 5s ease-in-out infinite reverse;
}
.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    position: relative;
}
.cta p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    position: relative;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand .logo { font-size: 1.4rem; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-btn {
    width: 38px; height: 38px;
    border-radius: 0.5rem;
    background: #1e293b;
    display: flex; align-items: center; justify-content: center;
    color: #94a3b8;
    border: 1px solid #334155;
    transition: var(--transition);
    font-size: 0.95rem;
}
.social-btn:hover { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }
.footer-col h4 { color: var(--white); font-weight: 700; font-size: 0.95rem; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a { font-size: 0.875rem; color: #94a3b8; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--blue-300); }
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: #94a3b8; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--blue-300); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid       { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid   { grid-template-columns: repeat(2, 1fr); }
    .footer-grid         { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .btn-nav { display: none; }
    .hamburger           { display: flex; }

    .hero-grid           { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0; }
    .hero-image-wrap     { display: none; }
    .hero-text h1        { font-size: 2.4rem; }
    .hero-stats          { gap: 1.5rem; }
    .stat-number         { font-size: 1.5rem; }

    .services-grid       { grid-template-columns: 1fr; }
    .why-grid            { grid-template-columns: 1fr; }
    .why-image           { display: none; }
    .testimonials-grid   { grid-template-columns: 1fr; }
    .footer-grid         { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom       { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
    .hero-actions        { flex-direction: column; }
    .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
    .cta-actions         { flex-direction: column; align-items: center; }
}
