/* ===========================
   GLOBAL STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* ===========================
   TYPOGRAPHY
   =========================== */
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #222;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: #222;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #444;
}

p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.8;
}

a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #764ba2;
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

ul li {
    margin-bottom: 0.5rem;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    display: none;
}

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

.nav-menu a {
    color: white;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.8;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===========================
   BUTTONS
   =========================== */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.cta-button.primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 1rem;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    color: white;
    animation: slideDown 0.8s ease-out;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out;
}

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

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

/* ===========================
   FEATURES SECTION
   =========================== */
.features {
    padding: 5rem 1rem;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.feature-card a {
    color: #667eea;
    font-weight: 500;
}

/* ===========================
   HOW IT WORKS SECTION
   =========================== */
.how-it-works {
    padding: 5rem 1rem;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.step:hover {
    background: #f8f9fa;
    border-radius: 15px;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.step h3 {
    color: #333;
    margin-bottom: 0.8rem;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* ===========================
   GALLERY SECTION
   =========================== */
.gallery {
    padding: 5rem 1rem;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-info {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    color: white;
    padding: 2rem 1rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.gallery-info h4 {
    color: white;
    margin-bottom: 0.3rem;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* ===========================
   PRICING SECTION
   =========================== */
.pricing {
    padding: 5rem 1rem;
    background: white;
}

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

.pricing-card {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.premium {
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.pricing-card.premium:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: bold;
}

.pricing-card h3 {
    color: #333;
    margin-top: 0.5rem;
}

.price {
    font-size: 2.5rem;
    color: #667eea;
    font-weight: bold;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.features-list {
    text-align: left;
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #f0f0f0;
    margin-left: 0;
}

.features-list li:last-child {
    border-bottom: none;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials {
    padding: 5rem 1rem;
    background: #f8f9fa;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: #666;
    line-height: 1.8;
}

.author {
    font-weight: bold;
    color: #333;
    margin-top: 1rem;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 1rem;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   LEGAL PAGES
   =========================== */
.legal-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.legal-hero h1 {
    color: white;
}

.legal-hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
}

.toc-menu {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.toc-menu a {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s;
}

.toc-menu a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.legal-content {
    padding: 4rem 1rem;
}

.legal-content .container {
    max-width: 900px;
}

.legal-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-section h3 {
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
}

.legal-section ul li {
    margin-bottom: 0.8rem;
    color: #666;
    line-height: 1.6;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.contact-item h4 {
    color: #667eea;
    margin-bottom: 0.8rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-item a {
    color: #667eea;
    font-weight: 500;
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background: #222;
    color: #fff;
    padding: 3rem 1rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-column p {
    color: #bbb;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    margin-left: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: #bbb;
}

.footer-column a:hover {
    color: #667eea;
}

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

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    text-align: center;
    color: #bbb;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    color: #bbb;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .logo-text {
        display: inline;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .logo-text {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: auto;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

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

    .features-grid,
    .steps,
    .gallery-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.premium {
        transform: scale(1);
    }

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

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

    .toc-menu a {
        display: block;
        width: 100%;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .feature-card,
    .step,
    .contact-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .nav-wrapper {
        gap: 1rem;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding: 2rem 1rem;
    }

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

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

    .hero-buttons {
        gap: 0.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .feature-card,
    .step,
    .testimonial-card {
        padding: 1rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .price {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .toc-menu {
        gap: 0.3rem;
    }

    .toc-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }

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

/* ===========================
   PRINT STYLES
   =========================== */
@media print {
    nav,
    .cta-section,
    .hero-buttons {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .legal-section {
        page-break-inside: avoid;
    }
}

/* ===========================
   ACCESSIBILITY
   =========================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }

    h1, h2, h3, h4 {
        color: #ffffff;
    }

    p {
        color: #bbb;
    }

    .feature-card,
    .step,
    .testimonial-card,
    .pricing-card,
    .contact-item {
        background: #2a2a2a;
        color: #e0e0e0;
    }

    .section-title {
        color: #ffffff;
    }

    footer {
        background: #111;
    }
}