* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color:#1a1a1a;
    overflow-x: hidden;
}

body.dark {
    background: radial-gradient(circle at top, #020617 0%, #020617 40%, #020617 100%);
    color: #e5e7eb;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 3px;
}

.nav {
    position:fixed;
    top:0;
    left:0;
    right:0;
    padding:16px 8%;
    display:flex;
    justify-content: space-between;
    align-items:center;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(18px);
    z-index:1000;
    box-shadow: 0 12px 30px rgba(15,23,42,0.08);
    border-bottom: 1px solid rgba(148,163,184,0.18);
}

body.dark .nav {
    background: rgba(15,23,42,0.96);
    border-bottom-color: rgba(30,64,175,0.6);
    box-shadow: 0 18px 45px rgba(15,23,42,0.85);
}

.logo {
    font-size:28px;
    font-weight:900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 16px;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    background: rgba(248,250,252,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    background: #e5e7eb;
}

.theme-icon {
    font-size: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.5);
    background: rgba(255,255,255,0.8);
    cursor: pointer;
    padding: 0 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #1f2933;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.dark .nav-toggle {
    background: rgba(15,23,42,0.9);
    border-color: rgba(55,65,81,0.9);
}

body.dark .nav-toggle span {
    background: #e5e7eb;
}

.nav-links a {
    margin-left:28px;
    text-decoration:none;
    color:#333;
    font-weight:500;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.25s ease, opacity 0.25s ease;
    opacity: 0.8;
}

.nav-links a:hover {
    color: #667eea;
    opacity: 1;
}

body.dark .nav-links a {
    color: #e5e7eb;
    opacity: 0.85;
}

body.dark .nav-links a:hover {
    color: #a5b4fc;
}

.btn-login {
    color:#667eea;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-login:hover {
    color: #764ba2;
}

.btn-started {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color:white;
    padding:12px 24px;
    border-radius:50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.btn-started:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

body.dark .btn-started {
    box-shadow: 0 10px 30px rgba(30,64,175,0.6);
}

@media (max-width: 768px) {
    .nav {
        padding: 12px 6%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        right: 16px;
        left: 16px;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(15,23,42,0.98);
        border-radius: 18px;
        padding: 16px 20px 20px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
        box-shadow: 0 18px 45px rgba(15,23,42,0.55);
    }

    .nav-links a {
        margin: 6px 0 0;
        font-size: 13px;
        letter-spacing: 0.08em;
        color: #e5e7eb;
        opacity: 0.9;
    }

    .btn-started {
        margin-top: 8px;
        align-self: stretch;
        text-align: center;
    }

    .nav-links.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }
    .nav.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }
    .nav.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-4px) rotate(-45deg);
    }
}

.hero {
    margin-top:100px;
    padding:80px 8% 120px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
    position: relative;
    overflow: hidden;
}

body.dark .hero-left p,
body.dark p {
    color: #cbd5f5;
}

.hero-left h1 {
    font-size: clamp(40px, 5vw, 60px);
}

.hero-left p {
    max-width: 520px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: float 10s infinite linear;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size:58px;
    line-height: 1.1;
    margin-bottom:24px;
}

.gradient {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size:22px;
    color:#555;
    margin-bottom:40px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color:#fff;
    padding:18px 36px;
    border-radius:50px;
    font-size:18px;
    text-decoration:none;
    margin-right:20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    color:#667eea;
    font-weight:600;
    font-size:18px;
    text-decoration:none;
    border: 2px solid #667eea;
    padding:16px 32px;
    border-radius:50px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

.preview-img {
    width:100%;
    border-radius:20px;
    box-shadow:0 25px 50px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.preview-img:hover {
    transform: scale(1.05);
}

.trusted {
    text-align:center;
    padding:60px 8%;
    background:#f8f9fa;
    color:#666;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

body.dark .trusted {
    background: rgba(15,23,42,0.85);
    color: #9ca3af;
}

.trusted P {
    margin-bottom: 40px;
    font-size:18px;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.logos img, .logos svg {
    max-height: 28px;
    max-width: 110px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    filter: grayscale(100%);
    transition: 0.3s;
    display: block;
}

.logos img {
    background-color: transparent;
}

.logos img:hover, .logos svg:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.features {
    padding:120px 8%;
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:32px;
    text-align:left;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out 1s forwards;
}

.feature {
    background: white;
    padding: 32px 28px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
    border: 1px solid rgba(148,163,184,0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 35px rgba(15,23,42,0.14);
    border-color: rgba(102, 126, 234, 0.5);
}

body.dark .feature {
    background: rgba(15,23,42,0.96);
    border-color: rgba(55,65,81,0.9);
    box-shadow: 0 18px 45px rgba(15,23,42,0.85);
}

body.dark .features p {
    color: #9ca3af;
}

.feature .icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.features h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.features p {
    color:#6b7280;
    font-size: 15px;
}

.testimonials {
  padding: 120px 8%;
  text-align: center;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 1.5s forwards;
}
.testimonials h2 { font-size: 42px; margin-bottom: 20px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}
.card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card p { font-size: 18px; line-height: 1.6; margin-bottom: 30px; }
.author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author img { width: 50px; height: 50px; border-radius: 50%; }
.author strong { display: block; }
.author span { color: #777; font-size: 14px; }

.pricing {
  padding: 120px 8%;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 2s forwards;
}
.pricing h2 { font-size: 42px; margin-bottom: 16px; }
.subtitle { color: #666; font-size: 20px; margin-bottom: 60px; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing .card {
  position: relative;
  padding: 50px 30px;
  border: 1px solid #eee;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

body.dark .pricing .card {
    background: rgba(15,23,42,0.96);
    border-color: rgba(55,65,81,0.9);
    box-shadow: 0 20px 50px rgba(15,23,42,0.9);
}

body.dark .pricing .card:hover {
    box-shadow: 0 26px 60px rgba(15,23,42,1);
}
.card.popular { border: 3px solid #667eea; transform: scale(1.05); }
.badge {
  position: absolute;
  top: -12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}
.pricing .price { font-size: 48px; font-weight: 900; margin: 20px 0; }
.pricing .price span { font-size: 18px; color: #777; }

body.dark .pricing .price span { color: #9ca3af; }
.pricing ul { list-style: none; margin: 30px 0; text-align: left; }
.pricing li { padding: 10px 0; }
.btn-outline {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 999px;
    border: 2px solid rgba(0,0,0,0.15);
    background: transparent;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-outline:hover {
    border-color: #667eea;
    color: #667eea;
    background: rgba(102, 126, 234, 0.06);
}

body.dark .btn-outline {
    border-color: rgba(148,163,184,0.5);
    color: #e5e7eb;
}

body.dark .btn-outline:hover {
    background: rgba(79,70,229,0.25);
    border-color: #6366f1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.footer {
    padding: 60px 8% 40px;
    background: #050816;
    color: #a1a1aa;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.logo-footer {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
}

.footer p {
    margin: 4px 0;
    font-size: 14px;
}

.footer-credit {
    font-size: 13px;
    color: #f9fafb;
    opacity: 1;
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 14px;
    font-size: 14px;
}

.footer-links a {
    color: #a1a1aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}