/**
 * InstaSave Theme - Main Stylesheet
 * 
 * @package InstaSave
 * @version 1.0.0
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --gradient-primary: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    --gradient-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --color-purple: #833ab4;
    --color-red: #fd1d1d;
    --color-orange: #fcb045;
    --color-white: #ffffff;
    --color-dark: #333333;
    --color-gray: #666666;
    --color-light-gray: #f8f9fa;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-default: all 0.3s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 50px;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --backdrop-blur: blur(10px);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--gradient-primary);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

input,
textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.site-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Background Shapes (Animated)
   ========================================================================== */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.background-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 15s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 60%;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: relative;
    z-index: 100;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    background: rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.site-logo .material-icons {
    font-size: 36px;
    color: var(--color-white);
    margin-right: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.site-logo h1,
.site-logo .logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.nav-menu li {
    display: flex;
}

.nav-menu .nav-item {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.nav-menu .nav-item .nav-icon {
    font-size: 18px;
    opacity: 0.85;
}

.nav-menu .nav-item .nav-label {
    font-weight: 500;
}

.nav-menu .nav-item:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-purple);
}

.nav-menu .nav-item:hover .nav-icon {
    opacity: 1;
}

.nav-menu .nav-item.active {
    background: var(--color-white);
    color: var(--color-purple);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-menu .nav-item.active .nav-icon {
    opacity: 1;
}


/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    padding: 10px;
    color: var(--color-white);
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle .material-icons {
    font-size: 28px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-default);
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-nav .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: var(--color-white);
    padding: 10px;
}

.mobile-nav .close-menu .material-icons {
    font-size: 32px;
}

.mobile-nav .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-nav .nav-item {
    font-size: 20px;
    color: var(--color-white);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
    z-index: 10;
}

.service-hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease-out both;
}

.service-hero-icon .material-icons {
    font-size: 40px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Search Box / Download Form
   ========================================================================== */
.search-box-wrapper {
    max-width: 750px;
    margin: 45px auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.search-box {
    background: var(--color-white);
    border-radius: var(--border-radius-xl);
    padding: 8px 10px 8px 28px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.search-box:hover,
.search-box:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.search-box input[type="text"],
.search-box input[type="url"] {
    flex: 1;
    font-size: 16px;
    color: var(--color-dark);
    background: transparent;
    padding: 12px 15px 12px 0;
}

.search-box input::placeholder {
    color: var(--color-gray);
    font-size: 15px;
}

.search-box .download-btn {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 14px 32px;
    color: var(--color-white);
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.search-box .download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(131, 58, 180, 0.4);
}

/* Loading state */
.search-box.loading .download-btn {
    pointer-events: none;
    opacity: 0.7;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 40px 0 60px;
    position: relative;
    z-index: 10;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.services-grid .service-card {
    flex: 0 1 calc(33.333% - 20px);
    max-width: 350px;
}

/* Service Card */
.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-md);
    padding: 30px 25px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(131, 58, 180, 0.05), rgba(253, 29, 29, 0.05), rgba(252, 176, 69, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

/* Service Icon */
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon .material-icons {
    font-size: 32px;
    color: var(--color-white);
}

/* Icon Colors */
.posts-icon {
    background: var(--gradient-instagram);
}

.reels-icon {
    background: var(--gradient-primary);
}

.stories-icon {
    background: var(--gradient-instagram);
}

.profile-icon {
    background: var(--gradient-primary);
}

.highlights-icon {
    background: var(--gradient-instagram);
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--color-purple);
}

.service-description {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-button {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.service-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.service-button:hover::before {
    width: 300px;
    height: 300px;
}

.service-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(131, 58, 180, 0.4);
}

/* ==========================================================================
   Content Cards (for pages)
   ========================================================================== */
.content-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    margin: 30px auto;
    max-width: 900px;
}

.content-card h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.content-card p {
    margin-bottom: 15px;
    color: var(--color-gray);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 50px 0 30px;
    margin-top: auto;
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    position: relative;
    z-index: 10;
}

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

.footer-section {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 18px;
}

.footer-links li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    display: inline-block;
    transition: var(--transition-default);
}

.footer-links a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.footer-links li:hover::before {
    color: var(--color-white);
    transform: translateX(3px);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-default);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.social-icon .material-icons {
    color: var(--color-white);
    font-size: 20px;
}

/* Copyright */
.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Download Results Area
   ========================================================================== */
.download-results {
    max-width: 700px;
    margin: 30px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: none;
}

.download-results.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.download-results .media-preview {
    text-align: center;
    margin-bottom: 20px;
}

.download-results .media-preview img,
.download-results .media-preview video {
    max-width: 100%;
    max-height: 400px;
    border-radius: var(--border-radius-sm);
}

.download-results .download-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 40px 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-sm);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(131, 58, 180, 0.05);
}

.faq-question .material-icons {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .material-icons {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-category {
    color: var(--color-white);
    font-size: 22px;
    font-weight: 600;
    margin: 35px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.faq-category:first-child {
    margin-top: 0;
}

/* ==========================================================================
   Section Titles
   ========================================================================== */
.section-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 40px;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works-section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-md);
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.4);
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 15px auto 20px;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.1), rgba(253, 29, 29, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon .material-icons {
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.step-description {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.6;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    font-size: 40px;
    color: var(--color-white);
    margin-bottom: 15px;
    display: inline-block;
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-md);
    padding: 35px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    font-size: 48px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
}

.about-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.about-card p {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.7;
}

.help-card {
    text-decoration: none;
    display: block;
}

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

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    padding: 35px 20px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-white);
    display: block;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(1.5);
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 32px;
    }
}

/* ==========================================================================
   Responsive - New Sections
   ========================================================================== */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 20px;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white);
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Tablet */
@media (max-width: 992px) {
    .services-grid .service-card {
        flex: 0 1 calc(50% - 15px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-menu .nav-item {
        font-size: 13px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .services-grid .service-card {
        flex: 0 1 calc(50% - 10px);
    }

    .service-card {
        padding: 25px 20px;
    }

    .hero-section {
        padding: 40px 0 30px;
    }

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

    .content-card {
        padding: 25px;
        margin: 20px 15px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .services-grid .service-card {
        flex: 0 1 100%;
    }

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

    .search-box {
        flex-direction: column;
        padding: 20px;
        border-radius: var(--border-radius-md);
    }

    .search-box input[type="text"],
    .search-box input[type="url"] {
        width: 100%;
        text-align: center;
        padding: 10px;
        margin-bottom: 15px;
    }

    .search-box .download-btn {
        width: 100%;
    }

    .site-logo .logo-text,
    .site-logo h1 {
        font-size: 22px;
    }

    .site-logo .material-icons {
        font-size: 28px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-description {
        font-size: 15px;
    }
}

/* Print Styles */
@media print {

    .site-header,
    .site-footer,
    .search-box-wrapper,
    .background-shapes {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .content-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}