/* Base Styles and CSS Reset */
:root {
    --primary-color: #ff5f6d;
    --secondary-color: #ffc371;
    --dark-color: #222;
    --light-color: #f8f8f8;
    --text-color: #333;
    --light-text: #fff;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

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

ul {
    list-style: none;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--dark-color);
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #666;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
}

.brand h1 {
    font-size: 1.5rem;
    margin-left: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover:after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 95, 109, 0.3);
}

.nav-cta:after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-color: #000;
    color: var(--light-text);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.9) 100%), 
                      radial-gradient(circle at center, rgba(255, 95, 109, 0.3) 0%, rgba(0,0,0,0.5) 70%);
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 95, 109, 0.2) 0%, transparent 70%);
}

.hero-text {
    max-width: 700px;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h2 span {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.main-btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 95, 109, 0.3);
}

.main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 95, 109, 0.4);
}

.main-btn.large {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

/* Top Sites Section */
.top-sites {
    padding: 100px 0;
    background-color: var(--light-color);
}

.site-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.site-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
}

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

.card-rank {
    background: var(--gradient);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    position: absolute;
    top: -15px;
    left: 20px;
    box-shadow: 0 5px 15px rgba(255, 95, 109, 0.3);
}

.card-content {
    padding: 30px 20px 20px;
    width: 100%;
}

.site-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--dark-color);
}

.rating {
    display: flex;
    margin-bottom: 15px;
}

.star {
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
    font-size: 1.2rem;
    margin-right: 2px;
}

.star:before {
    content: '★';
    position: absolute;
    color: #ddd;
}

.star.filled:before {
    content: '★';
    color: var(--secondary-color);
}

.star.half-filled:before {
    content: '★';
    color: #ddd;
}

.star.half-filled:after {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--secondary-color);
}

.features-list {
    margin: 15px 0;
}

.features-list li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.card-btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 10px;
    transition: var(--transition);
}

.card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 95, 109, 0.3);
}

/* Technology Section */
.technology {
    padding: 100px 0;
    background-color: #fff;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.tech-feature {
    text-align: center;
    padding: 20px;
}

.tech-icon {
    margin-bottom: 20px;
}

.tech-feature h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.4rem;
}

.tech-feature p {
    color: #666;
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Try Now Section */
.try-now {
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                      radial-gradient(circle at center, rgba(255, 95, 109, 0.5) 0%, rgba(0,0,0,0.7) 70%);
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.try-now .section-title {
    color: white;
}

.try-now .section-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand span {
    margin-left: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-group h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.footer-group ul li {
    margin-bottom: 10px;
}

.footer-group ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-group ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: circle(0px at top right);
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
    }
    
    nav.open {
        clip-path: circle(1500px at top right);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
    }
    
    .site-cards, .tech-features, .testimonials {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
