/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===== COLOR VARIABLES ===== */
:root {
    --purple: #9C27B0;
    --pink: #E91E63;
    --orange: #FF9800;
    --blue: #2979FF;
    --gradient-hero: linear-gradient(135deg, #9C27B0, #E91E63, #FF9800);
    --gradient-feature: linear-gradient(45deg, rgba(156, 39, 176, 0.1), rgba(233, 30, 99, 0.1), rgba(255, 152, 0, 0.1));
}

/* ===== NAVIGATION/HEADER ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 25px;
    width: auto;
    transition: opacity 0.3s;
}

.logo a:hover img {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--purple);
}

.download-btn {
    background: var(--gradient-hero);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.download-btn:hover {
    transform: translateY(-2px);
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
    background: white;
    color: var(--purple);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-primary:hover, .btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 120px 2rem 80px;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
}

.stat-text {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--gradient-feature);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--purple);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--purple);
}

.feature-card p {
    color: #666;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--purple);
}

.feature-item p {
    color: #666;
}

/* ===== WHY INSTA SECTION ===== */
.why-insta {
    background: var(--gradient-feature);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--blue);
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--purple);
}

.stat-card .description {
    color: #666;
    margin-top: 0.5rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--gradient-feature);
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--purple);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    padding: 60px 2rem 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.footer-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* ===== TERMS & PRIVACY PAGES ===== */
.page-content {
    padding-top: 120px;
    min-height: 100vh;
    background: var(--gradient-feature);
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.terms-content .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.last-updated {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.terms-text {
    line-height: 1.8;
}

.welcome-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
    font-weight: 500;
}

.terms-section {
    margin-bottom: 2rem;
}

.terms-section h2 {
    color: var(--purple);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gradient-feature);
    padding-bottom: 0.5rem;
}

.terms-section h3 {
    color: var(--purple);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
}

.terms-section p {
    margin-bottom: 1rem;
    color: #555;
}

.terms-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
    color: #555;
}

.contact-info {
    background: var(--gradient-feature);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-info strong {
    color: var(--purple);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
    }
    
    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    /* Contact Section */
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Terms & Privacy Pages */
    .terms-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .terms-section h2 {
        font-size: 1.2rem;
    }
}

/* ===== DELETE ACCOUNT PAGE ===== */
.delete-account-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.delete-account-header {
    background: linear-gradient(135deg, #9C27B0, #E91E63, #FF9800);
    color: white;
    padding: 2.5rem;
    text-align: center;
}

.delete-account-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.delete-account-content {
    padding: 3rem 2.5rem;
}

.sorry-title {
    color: #1e3a5f;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.delete-description {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.delete-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #2d3748;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #e53e3e;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #2979FF;
    box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.1);
}

.submit-btn {
    background: #2979FF;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #1e5bb8;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #c6f6d5;
    border: 1px solid #68d391;
    border-radius: 5px;
    color: #22543d;
}

.error-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fed7d7;
    border: 1px solid #fc8181;
    border-radius: 5px;
    color: #742a2a;
}

@media (max-width: 768px) {
    .delete-account-container {
        margin: 0 1rem;
    }
    
    .delete-account-content {
        padding: 2rem 1.5rem;
    }
    
    .delete-account-header h1 {
        font-size: 1.5rem;
    }
}
