/**
 * StormHosting UA - CSS стили для главной страницы
 * Файл: /assets/css/pages/home.css
 */

/* CSS переменные */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #00ff88;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f8fafc;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    position: relative;
    z-index: 2;
}

.btn-hero-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    margin: 0 10px 10px 0;
    transition: var(--transition);
    text-decoration: none;
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    margin: 0 10px 10px 0;
    transition: var(--transition);
    text-decoration: none;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-server-icon {
    font-size: 180px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Statistics Section */
.stats-section {
    background: var(--white);
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

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

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Domains Section */
.domains-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.domains-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.domain-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    height: 100%;
}

.domain-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.domain-zone {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.domain-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Hosting Section */
.hosting-section {
    padding: 80px 0;
    background: var(--white);
}

.hosting-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.hosting-plan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid #f3f4f6;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.hosting-plan-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

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

.hosting-plan-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.hosting-plan-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.hosting-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hosting-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.hosting-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
}

.hosting-features li:last-child {
    border-bottom: none;
}

.hosting-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.tools-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tool-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: var(--white);
    transition: var(--transition);
}

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

.tool-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.tool-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 60px 0;
}

.newsletter-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    border-radius: 50px;
    padding: 12px 20px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    color: var(--white);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons .btn {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 25px;
    margin: 0.5rem;
    transition: var(--transition);
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hosting-plan-card.popular {
        transform: scale(1.02);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .features-section h2,
    .domains-section h2,
    .hosting-section h2,
    .tools-section h2 {
        font-size: 1.8rem;
    }
    
    .hosting-plan-card.popular {
        transform: none;
    }
    
    .hosting-plan-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        display: block;
        width: 100%;
        margin: 0 0 0.75rem 0;
        text-align: center;
    }
    
    .stats-section,
    .features-section,
    .domains-section,
    .hosting-section,
    .tools-section {
        padding: 50px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hosting-price {
        font-size: 1.8rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0 0 0.75rem 0;
    }
    
    .newsletter-input {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .features-section h2,
    .domains-section h2,
    .hosting-section h2,
    .tools-section h2 {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .hosting-plan-card,
    .tool-card {
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hosting-price {
        font-size: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Button Effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

/* Card Hover Effects */
.feature-card,
.hosting-plan-card,
.tool-card,
.domain-card {
    cursor: pointer;
}

.feature-card:hover,
.hosting-plan-card:hover,
.tool-card:hover {
    cursor: default;
}

/* Improved Focus States */
.btn:focus,
.feature-card:focus,
.hosting-plan-card:focus,
.tool-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Utilities */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Print Styles */
@media print {
    .hero-section,
    .newsletter-section,
    .cta-section {
        background: var(--white) !important;
        color: var(--text-primary) !important;
    }
    
    .feature-icon,
    .tool-icon,
    .popular-badge {
        background: var(--text-primary) !important;
        color: var(--white) !important;
    }
    
    .btn {
        border: 1px solid var(--text-primary) !important;
        color: var(--text-primary) !important;
        background: transparent !important;
    }
    
    .shadow-sm,
    .shadow-md,
    .shadow-lg {
        box-shadow: none !important;
    }
}/**
 * StormHosting UA - CSS стили для главной страницы
 * Файл: /assets/css/pages/home.css
 */

/* CSS переменные */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #00ff88;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f8fafc;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Основные стили */
.home-page {
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    position: relative;
    z-index: 2;
}

.btn-hero-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    margin: 0 10px 10px 0;
    transition: var(--transition);
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    margin: 0 10px 10px 0;
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-2px);
}

/* Statistics Section */
.stats-section {
    background: var(--white);
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.services-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

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

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Hosting Section */
.hosting-section {
    padding: 80px 0;
    background: var(--white);
}

.hosting-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.hosting-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid #f3f4f6;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.hosting-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

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

.hosting-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.hosting-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.hosting-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.hosting-price small {
    font-size: 1rem;
    color: var(--text-secondary);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.1rem;
    display: block;
    margin-top: 0.25rem;
}

.hosting-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.hosting-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
}

.hosting-features li:last-child {
    border-bottom: none;
}

.hosting-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Content Section (Domains & News) */
.content-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.content-section h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Domains */
.domains-list {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.domain-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.domain-item:last-child {
    border-bottom: none;
}

.domain-item:hover {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.domain-zone {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.domain-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.old-price-small {
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

/* News */
.news-list {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.news-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.news-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
    background: var(--white);
}

.tools-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tool-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.tool-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: var(--white);
    transition: var(--transition);
}

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

.tool-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.tool-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons .btn {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 25px;
    margin: 0.5rem;
    transition: var(--transition);
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hosting-card.popular {
        transform: scale(1.02);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-section h2,
    .hosting-section h2,
    .tools-section h2 {
        font-size: 1.8rem;
    }
    
    .hosting-card.popular {
        transform: none;
    }
    
    .hosting-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero-primary,
    .btn-hero-outline {
        display: block;
        width: 100%;
        margin: 0 0 0.75rem 0;
        text-align: center;
    }
    
    .stats-section,
    .services-section,
    .hosting-section,
    .content-section,
    .tools-section {
        padding: 50px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hosting-price {
        font-size: 1.8rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0 0 0.75rem 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .services-section h2,
    .hosting-section h2,
    .tools-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.3rem;
    }
    
    .service-card,
    .hosting-card,
    .tool-card {
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hosting-price {
        font-size: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Button Effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

/* Card Hover Effects */
.service-card,
.hosting-card,
.tool-card,
.domain-item,
.news-item {
    cursor: pointer;
}

.service-card:hover,
.hosting-card:hover,
.tool-card:hover {
    cursor: default;
}

/* Success Color for Text */
.text-success {
    color: var(--success-color) !important;
}

/* Improved Focus States */
.btn:focus,
.service-card:focus,
.hosting-card:focus,
.tool-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    .hero-section,
    .cta-section {
        background: var(--white) !important;
        color: var(--text-primary) !important;
    }
    
    .service-icon,
    .tool-icon,
    .popular-badge,
    .news-category {
        background: var(--text-primary) !important;
        color: var(--white) !important;
    }
    
    .btn {
        border: 1px solid var(--text-primary) !important;
        color: var(--text-primary) !important;
        background: transparent !important;
    }
    
    .shadow-sm,
    .shadow-md,
    .shadow-lg {
        box-shadow: none !important;
    }
}