:root {
    --primary: #405DE6;
    --secondary: #833AB4;
    --accent: #E1306C;
    --light: #f8f9fa;
    --dark: #262626;
    --gray: #8e8e8e;
    --light-gray: #dbdbdb;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

body {
    background-color: #fafafa;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn:disabled {
    background: #b0b0b0;
    cursor: not-allowed;
}

/* HEADER STYLES */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    color: var(--dark);
    position: relative;
}

nav ul li a:hover {
    color: var(--accent);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* HERO SECTION */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(64, 93, 230, 0.1), rgba(131, 58, 180, 0.1));
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 30px;
}

.download-box {
    display: flex;
    max-width: 700px;
    margin: 0 auto 15px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.download-box input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    font-size: 16px;
}

.download-box button {
    padding: 0 40px;
    background: var(--accent);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.download-box button:hover {
    background: #c81b58;
}

.download-box button:disabled {
    background: #b0b0b0;
    cursor: not-allowed;
}

.small {
    font-size: 14px;
    color: var(--gray);
}

/* FEATURES SECTION */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.icon-circle {
    width: 100px;
    height: 100px;
    background: rgba(64, 93, 230, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.icon-circle i {
    font-size: 50px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 25px;
}

/* AD SECTION */
.ad-section {
    padding: 40px 0;
}

.ad-container {
    max-width: 970px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #888;
    font-size: 14px;
}

/* HOW IT WORKS */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(64, 93, 230, 0.03), rgba(131, 58, 180, 0.03));
}

.how-it-works h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 25px;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* TESTIMONIALS */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    border: 1px solid var(--light-gray);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: var(--light-gray);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    font-style: italic;
    color: var(--gray);
    margin-top: 30px;
    margin-bottom: 25px;
}

.user {
    display: flex;
    flex-direction: column;
}

.user strong {
    color: var(--dark);
    font-size: 18px;
}

.user span {
    color: var(--gray);
    font-size: 14px;
}

/* FOOTER STYLES */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section ul li a {
    color: #ccc;
    transition: var(--transition);
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
    color: #999;
}

.footer-bottom a {
    color: #ccc;
}

.footer-bottom a:hover {
    color: white;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
    
    nav ul li {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0 10px 10px;
    }
    
    .download-box {
        flex-direction: column;
    }
    
    .download-box input {
        margin-bottom: 10px;
        border-radius: var(--border-radius);
    }
    
    .download-box button {
        width: 100%;
        border-radius: var(--border-radius);
        padding: 18px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .features,
    .how-it-works,
    .testimonials,
    .blog-preview {
        padding: 60px 0;
    }
}

/* ADDITIONAL STYLES FOR FUNCTIONALITY */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 600;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease-in-out;
    box-shadow: var(--box-shadow);
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: var(--accent);
}

.notification.success {
    background: #28a745;
}

.loader {
    display: none;
    text-align: center;
    margin: 30px 0;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.download-result {
    display: none;
    text-align: center;
    margin: 30px auto;
    max-width: 500px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.download-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn:hover {
    background: #2d4bd6;
}
/* =================================
   DROPDOWN NAVIGATION STYLES
   ================================= */

/* Style for the dropdown container (the "Tools" li) */
.nav-item.dropdown, .dropdown {
    position: relative;
}

/* Style for the dropdown arrow icon */
.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* The hidden dropdown menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    padding: 10px 0;
    list-style: none;
    min-width: 220px;
    z-index: 1001; /* Ensure it's above other content */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Style for individual links in the dropdown */
.dropdown-menu li a {
    color: var(--dark);
    padding: 12px 20px;
    display: block;
    white-space: nowrap;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: #f1f1f1;
    color: var(--accent);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Rotate the arrow on hover */
.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}
.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}

.processing-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
}

.icon-warning {
  color: #e74c3c;
  margin-bottom: 1rem;
}

.ad-box {
  margin: 1.5rem 0;
}

.ad-label {
  font-size: 0.8rem;
  color: #999;
  display: block;
  margin-top: 0.5rem;
}

.redirect-notice {
  margin-top: 1rem;
}

.btn.primary {
  background: #2ecc71;
  color: white;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
}

.info-box {
  margin-top: 2rem;
  text-align: left;
}

.info-box ul {
  padding-left: 1.5rem;
}

.notice-text {
  font-size: 1rem;
  color: #555;
}
