/* Base Styles */
:root {
    --primary-color: #1E88E5;
    --secondary-color: #64B5F6;
    --accent-color: #2979FF;
    --dark-color: #212121;
    --light-color: #FAFAFA;
    --text-color: #424242;
    --card-bg: #FFFFFF;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    color: var(--dark-color);
}

/* Typography */
h1 {
    font-size: 1.3rem;
    font-weight: 500;
}

h1 span {
    color: var(--primary-color);
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Header */
header {
    background-color: var(--card-bg);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    flex-shrink: 0;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.nav-toggle span {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span::before {
    content: '';
    top: -8px;
}

.nav-toggle span::after {
    content: '';
    bottom: -8px;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.button.primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}

.button.primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.4);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(33, 150, 243, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
    }
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background-color: var(--light-color);
}

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

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0.9;
}

/* Features Section */
.features {
    background-color: white;
}

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

.card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.card-icon {
    margin: 0 auto 1.5rem;
}

/* Comparison Section */
.comparison {
    background-color: var(--light-color);
}

.comparison-table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 1rem;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.table-row:last-child {
    border-bottom: none;
}

.col {
    padding: 0.5rem;
    text-align: center;
}

.col.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.reddit-quotes {
    max-width: 700px;
    margin: 0 auto;
}

blockquote {
    background-color: white;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow);
}

blockquote p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

blockquote cite {
    display: block;
    text-align: right;
    font-weight: 500;
    color: var(--primary-color);
}

/* How To Section */
.how-to {
    background-color: white;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

.cta {
    text-align: center;
    margin-top: 3rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 1rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    font-weight: 600;
    margin-bottom: 0;
}

.footer-nav {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

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

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero .wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-text {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.1rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    
    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-nav {
        gap: 2rem;
        margin-top: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .table-header,
    .table-row {
        font-size: 0.9rem;
    }
    
    .feature-cards,
    .steps {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        flex-direction: column;
    }
}
