/*
Theme Name: iBrand
Description: A modern WordPress theme based on the actual iBrand design with blue gradients and animated characters
Version: 1.0.0
Author: Your Name
Text Domain: ibrand
*/

/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Main Layout */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#header {
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 30px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background: linear-gradient(45deg, #00d4ff, #00a8ff);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.4);
    transition: all 0.3s ease;
}

/* Navigation */
.main-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Client Login Button */
.client-login {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(238, 90, 82, 0.3);
    transition: all 0.3s ease;
}

.client-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 82, 0.4);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Features List */
.features-list {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.features-list h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item:hover {
    transform: translateX(5px);
    background: rgba(0, 168, 255, 0.05);
    border-radius: 10px;
    padding-left: 10px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #00d4ff, #00a8ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-weight: bold;
}

.feature-text {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
}

/* Money Back Guarantee */
.money-back {
    text-align: center;
    margin-top: 30px;
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.money-back .badge {
    font-size: 18px;
    font-weight: bold;
    color: #8b4513;
}

/* Hero Content */
.hero-content {
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Server Illustration */
.server-illustration {
    position: relative;
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-stack {
    width: 120px;
    height: 200px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-right: 50px;
}

.server-stack::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 8px;
    background: #00ff88;
    border-radius: 4px;
    animation: serverBlink 2s infinite;
}

.server-stack::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    right: 20px;
    height: 8px;
    background: #00d4ff;
    border-radius: 4px;
    animation: serverBlink 2s infinite 0.5s;
}

@keyframes serverBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Character */
.character {
    width: 120px;
    height: 120px;
    background: linear-gradient(145deg, #ff6b6b, #ee5a52);
    border-radius: 50%;
    position: relative;
    animation: characterFloat 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

@keyframes characterFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Pricing Section */
.pricing-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin-top: 40px;
}

.price-amount {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0;
    text-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.price-period {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 30px;
}

.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(238, 90, 82, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(238, 90, 82, 0.5);
}

/* Content Boxes */
.content-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 80px 0;
}

.content-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.content-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.content-box h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.content-box p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.learn-more-btn {
    background: linear-gradient(45deg, #00d4ff, #00a8ff);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 255, 0.3);
}

/* Monthly Plan Box */
.monthly-plan {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.monthly-plan h3 {
    color: white;
}

.monthly-price {
    font-size: 48px;
    font-weight: 900;
    color: #ffd700;
    margin: 20px 0;
}

/* Testimonial Box */
.testimonial-box {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.testimonial-text {
    font-style: italic;
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: #2c3e50;
}

/* Blog Content */
.blog-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.blog-content h1, .blog-content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.blog-content h1 {
    font-size: 36px;
}

.blog-content h2 {
    font-size: 28px;
}

.blog-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.post-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-navigation a {
    color: #00a8ff;
    text-decoration: none;
    font-weight: 600;
}

.post-navigation a:hover {
    text-decoration: underline;
}

/* Sidebar */
.sidebar {
    width: 300px;
}

.widget {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.widget h2 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 15px;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: #00a8ff;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* Footer */
.footer {
    background: rgba(44, 62, 80, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px 0;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.footer a {
    color: #00d4ff;
    text-decoration: none;
    margin: 0 10px;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .price-amount {
        font-size: 48px;
    }
    
    .content-boxes {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 0;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .server-illustration {
        flex-direction: column;
        gap: 20px;
    }
    
    .server-stack {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .features-list,
    .pricing-section,
    .content-box,
    .blog-content {
        padding: 20px;
    }
    
    .price-amount {
        font-size: 36px;
    }
}

/* WordPress specific styles */
.wp-block-group {
    margin-bottom: 20px;
}

.wp-block-image {
    margin-bottom: 20px;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Comments */
.comments-area {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.comment-list {
    list-style: none;
}

.comment {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #00a8ff;
}

.comment-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.comment-form {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    margin-bottom: 15px;
}

.comment-form input[type="submit"] {
    background: linear-gradient(45deg, #00d4ff, #00a8ff);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 255, 0.3);
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pagination a:hover,
.pagination .current {
    background: linear-gradient(45deg, #00d4ff, #00a8ff);
    color: white;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-container,
.content-boxes,
.blog-content {
    animation: fadeInUp 1s ease-out;
}

/* Loading animations */
.loading {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}