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

/* GPU Acceleration for animations */
*,
*::before,
*::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimize repaints */
html {
    scroll-behavior: smooth;
}

/* Improve text rendering */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0;
}

/* Smooth scroll with offset for sticky navbar */
html {
    scroll-padding-top: 100px;
}

:root {
    --cyan: #22d3ee;
    --cyan-bright: #67e8f9;
    --teal: #2dd4bf;
    --blue: #60a5fa;
    --purple: #a78bfa;
    --pink: #f472b6;
    --bg-darker: #020617;
    --bg-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #f1f5f9;
    --text-muted: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-darker);
    position: relative;
    overflow-x: hidden;
}

/* Explicit heading sizes to prevent deprecated user-agent styles */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

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

/* Accessibility: High-contrast link colors for WCAG AA compliance */
a {
    color: var(--cyan-bright);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: #a5f3fc;
    text-decoration: underline;
}

a:focus {
    outline: 2px solid var(--cyan-bright);
    outline-offset: 2px;
}

/* Improved text contrast in paragraphs */
p {
    color: rgba(255, 255, 255, 0.92);
}

p a {
    color: var(--cyan-bright);
    font-weight: 500;
}

/* Animated Background Circles */
.bg-circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.circle1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    top: -200px;
    left: -200px;
}

.circle2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.circle3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(100px, 50px) scale(0.9);
    }
    75% {
        transform: translate(-50px, 100px) scale(1.05);
    }
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0;
    padding: 20px 20px 0 20px;
    background: transparent;
    transition: all 0.3s ease;
}

.sticky-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 10px 20px 0 20px;
}

/* Navigation */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--shadow);
    border-radius: 20px;
    padding: 1rem 2rem;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Logo and Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #00f7ff 0%, #00d4ff 25%, #0099ff 50%, #0066ff 75%, #00f7ff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
    animation: gradientShift 3s ease-in-out infinite;
}

.nav-logo {
    height: 28px;
    width: 28px;
    max-height: 28px;
    max-width: 28px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    transition: transform 0.3s ease;
}

.nav-brand:hover .nav-logo {
    transform: rotate(15deg) scale(1.1);
}

.nav-brand::before {
    content: 'pinescriptdeveloper';
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(135deg, #00f7ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(10px);
    opacity: 0.5;
}

.nav-brand::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -2;
    border-radius: 8px;
}

.nav-brand:hover {
    transform: scale(1.08) translateY(-1px);
    text-decoration: none;
    filter: brightness(1.1) drop-shadow(0 0 15px rgba(0, 247, 255, 0.6));
    background-position: 100% center;
}

.nav-brand:hover::after {
    opacity: 0.6;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    flex-shrink: 0;
    padding: 2px;
    box-sizing: border-box;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--cyan);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-menu a:focus {
    outline: none;
}

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

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    z-index: 1;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px) translateZ(0);
}

/* Stats Section */
.stats {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
}

.stat-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 48px var(--shadow);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* About Section */
.about {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.skill-tag {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 500;
    color: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
}

.skill-tag:hover {
    transform: translateY(-3px) translateZ(0);
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 8px 32px var(--shadow);
    will-change: transform;
    transform: translateZ(0);
    contain: layout style paint;
}

.service-card:hover {
    transform: translateY(-5px) translateZ(0);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 48px var(--shadow);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Portfolio and project cards */
.project-card,
.portfolio-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--shadow);
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    will-change: transform;
    transform: translateZ(0);
    contain: layout style paint;
}

.project-card:hover,
.portfolio-card:hover {
    transform: translateY(-5px) translateZ(0);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 48px var(--shadow);
}

.project-category,
.portfolio-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-card h3,
.portfolio-card h3,
.portfolio-card h2 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.project-card p,
.portfolio-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
}

.verified-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-left: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px var(--shadow);
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    contain: layout style paint;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 48px var(--shadow);
    transform: translateY(-5px) translateZ(0);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin: 0 0 0 0;
    line-height: 1.7;
}

.testimonial-author {
    margin-top: 1rem;
}

.testimonial-author strong {
    color: var(--text);
    font-size: 1rem;
}

.rating {
    color: #fbbf24;
    margin-top: 0.5rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    contain: layout style paint;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
}

.faq-question-text {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0;
    flex: 1;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--cyan);
    margin-left: 1rem;
    transition: transform 0.3s;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
    transition: max-height 0.5s ease-in, padding 0.3s ease-in;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px var(--shadow);
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    contain: layout style paint;
}

.contact-info:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 48px var(--shadow);
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.contact-item p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
}

.social-link:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.cta-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 32px var(--shadow);
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    contain: layout style paint;
}

.cta-box:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 48px var(--shadow);
}

.cta-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-box .btn-primary {
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    color: var(--text);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer p {
    color: var(--text-muted);
}

/* Trustpilot Section */
.trustpilot-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 176, 122, 0.05), rgba(6, 182, 212, 0.05));
    position: relative;
    z-index: 1;
}

.trustpilot-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trustpilot-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.trustpilot-placeholder {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 32px var(--shadow);
}

.trustpilot-stars {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trustpilot-stars .star {
    color: #00b67a;
    margin: 0 0.2rem;
}

.trustpilot-placeholder p {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.trustpilot-link {
    display: inline-block;
    background: linear-gradient(135deg, #00b67a, #00d18a);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.trustpilot-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 182, 122, 0.4);
}

.leave-review-cta {
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.leave-review-cta p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.btn-review {
    display: inline-block;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

/* Disclaimers Section */
.disclaimers {
    padding: 60px 0;
    background: rgba(255, 59, 48, 0.05);
    border-top: 2px solid rgba(255, 59, 48, 0.2);
    border-bottom: 2px solid rgba(255, 59, 48, 0.2);
}

.disclaimers h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ff3b30;
}

.disclaimer-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
}

.disclaimer-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

.disclaimer-content strong {
    color: var(--text);
    font-weight: 600;
}

/* Contact Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px var(--shadow);
    animation: slideUp 0.3s ease;
    z-index: 10000;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.modal-icon.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

.modal-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-description {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-view {
    display: none;
}

.modal-view.active {
    display: block;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.05);
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Floating Social Media Buttons */
.floating-social {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    will-change: transform;
    transform: translateZ(0);
}

.social-float:hover {
    transform: scale(1.1) translateZ(0);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.social-float-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Facebook */
.facebook-float {
    background: #1877F2;
}

.facebook-float:hover {
    background: #145dbf;
}

/* Instagram */
.instagram-float {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-float:hover {
    background: linear-gradient(45deg, #d87b2a 0%, #cd5730 25%, #c51e37 50%, #b51d5a 75%, #a0147a 100%);
}

/* Telegram */
.telegram-float {
    background: #0088cc;
}

.telegram-float:hover {
    background: #006699;
}

/* WhatsApp */
.whatsapp-float {
    background: #25D366;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    animation: none;
}

/* Twitter/X */
.twitter-float {
    background: #000000;
}

.twitter-float:hover {
    background: #1DA1F2;
}

/* TradingView */
.tradingview-float {
    background: #131722;
}

.tradingview-float:hover {
    background: #2962FF;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-social {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .social-float {
        width: 50px;
        height: 50px;
    }

    .social-float svg {
        width: 24px;
        height: 24px;
    }

    .social-float-icon {
        width: 24px;
        height: 24px;
    }
}

/* Trust Badges Section */
.trust-badges {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.2);
}

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

.badge-item {
    text-align: center;
    padding: 1.5rem;
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.badge-title {
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.badge-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* How to Purchase Section */
.how-to-purchase {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.how-to-purchase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.purchase-steps {
    max-width: 900px;
    margin: 0 auto;
}

.purchase-step {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    contain: layout style paint;
}

.purchase-step:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px var(--shadow);
    transform: translateX(5px) translateZ(0);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
    min-width: 50px;
}

.step-title {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.payment-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.payment-btn.razorpay {
    background: linear-gradient(135deg, #3395FF, #2D7ECE);
    color: white;
}

.payment-btn.razorpay:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 149, 255, 0.4);
}

.payment-btn.paypal {
    background: linear-gradient(135deg, #0070BA, #003087);
    color: white;
}

.payment-btn.paypal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 186, 0.4);
}

.payment-btn.contact {
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: white;
}

.payment-btn.contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .circle1 {
        width: 400px;
        height: 400px;
    }

    .circle2 {
        width: 300px;
        height: 300px;
    }

    .circle3 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero {
        padding: 60px 0 40px;
        min-height: 60vh;
    }

    .navbar {
        margin: 10px;
        padding: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile logo styles */
    .logo-circle {
        width: 40px;
        height: 40px;
        padding: 2px;
        box-sizing: border-box;
    }

    .nav-logo {
        height: 24px;
        width: 24px;
    }

    .nav-brand {
        font-size: 1.3rem;
        gap: 10px;
        font-weight: 900;
        letter-spacing: -0.3px;
    }

    /* Adjust sticky header padding on mobile */
    .sticky-header {
        padding: 15px 15px 0 15px;
    }

    .navbar {
        padding: 0.75rem 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 250px;
        background: #000000;
        border: 1px solid rgba(0, 247, 255, 0.3);
        border-radius: 16px;
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    }

    .nav-menu.active {
        right: 10px;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .circle1,
    .circle2,
    .circle3 {
        filter: blur(80px);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0 30px;
        min-height: 50vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    section {
        padding: 60px 0;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .modal-content h3 {
        font-size: 1.5rem;
    }

    .modal-description {
        font-size: 1rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
    }
}
