/* ============================================
   OMNI.DAILY - COMPLETE STYLESHEET
   Typography: Inter (body) + Playfair Display (headings)
   ============================================ */

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.8;
}

/* ============================================
   HEADER STYLES
   ============================================ */
header {
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================================
   LOGO STYLES
   ============================================ */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.logo-omni {
    color: #667eea;
    letter-spacing: -1px;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    animation: breathe 3s ease-in-out infinite;
    margin: 0 3px;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    position: relative;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1) translateZ(0);
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    }
    50% {
        transform: scale(1.4) translateZ(15px);
        box-shadow: 0 0 35px rgba(102, 126, 234, 0.95), 0 0 50px rgba(118, 75, 162, 0.5);
    }
}

.logo-daily {
    color: #667eea;
    letter-spacing: -1px;
}

/* ============================================
   NAVIGATION STYLES
   ============================================ */
.desktop-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.desktop-nav a {
    font-family: 'Inter', sans-serif;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: #667eea;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #667eea;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.mobile-nav.active {
    display: flex;
    max-height: 500px;
    border-top: 1px solid #eee;
}

.mobile-nav a {
    padding: 15px 30px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: #f9f9f9;
    color: #667eea;
    padding-left: 40px;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    text-align: center;
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 25px;
    margin-bottom: 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
}

.highlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-bar {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.search-bar input {
    width: 100%;
    padding: 20px 60px 20px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.search-bar input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.search-bar input::placeholder {
    color: #999;
}

.search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
}

/* ============================================
   HERO STATS
   ============================================ */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================
   AD CONTAINERS
   ============================================ */
.ad-container {
    background: linear-gradient(135deg, #f5f5f5, #fafafa);
    border: 2px dashed #ddd;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ad-container:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #f9f9ff, #fefeff);
}

.ad-banner {
    min-height: 120px;
}

.ad-square {
    min-height: 320px;
}

.ad-placeholder {
    color: #999;
}

.ad-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #bbb;
    margin-bottom: 10px;
    font-weight: 600;
}

.ad-size {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 8px;
}

.ad-instruction {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #999;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.tools-section,
.categories-section,
.features-section,
.about-section,
.contact-section {
    margin: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 400;
}

/* ============================================
   TOOLS GRID
   ============================================ */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tool-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
}

.tool-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
}

.tool-title {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.tool-description {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}

.tool-btn {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.tool-btn:active {
    transform: translateY(0);
}

/* ============================================
   CATEGORIES GRID
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.category-card {
    background: rgba(255, 255, 255, 0.97);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.category-icon {
    font-size: 55px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.15) rotate(-5deg);
}

.category-title {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.category-count {
    font-family: 'Inter', sans-serif;
    color: #667eea;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.97);
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.15);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-title {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.feature-description {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 400;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: rgba(255, 255, 255, 0.97);
    padding: 60px 50px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.about-section .section-title {
    color: #1a1a1a;
    text-shadow: none;
    margin-bottom: 35px;
}

.about-text p {
    font-family: 'Inter', sans-serif;
    color: #555;
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 25px;
    font-weight: 400;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.97);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.contact-icon {
    font-size: 50px;
    margin-bottom: 20px;
    display: inline-block;
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.contact-card p {
    font-family: 'Inter', sans-serif;
    color: #667eea;
    font-weight: 600;
    font-size: 1.05rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: rgba(255, 255, 255, 0.97);
    padding: 60px 30px 30px;
    margin-top: 80px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-description {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 400;
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-links a:hover {
    color: #667eea;
    padding-left: 5px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
}

.copyright {
    font-family: 'Inter', sans-serif;
    color: #999;
    font-size: 0.9rem;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 24px;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }

    .hero-stats {
        gap: 40px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 60px 25px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

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

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .about-section {
        padding: 40px 25px;
    }

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

    .container {
        padding: 30px 20px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.4rem; }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .header-content {
        padding: 0 20px;
    }

    .logo {
        font-size: 26px;
    }

    .logo-dot {
        width: 10px;
        height: 10px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .search-bar input {
        padding: 18px 50px 18px 20px;
        font-size: 15px;
    }

    .tool-card,
    .category-card,
    .feature-card,
    .contact-card {
        padding: 25px 20px;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

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

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

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth transitions for all interactive elements */
a, button, .tool-card, .category-card, .feature-card {
    transition: all 0.3s ease;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    header,
    .ad-container,
    .back-to-top,
    footer {
        display: none;
    }

    body {
        background: white;
    }

    .hero,
    .tool-card,
    .category-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
